Skip to content

Commit

Permalink
GH-249 Corrected all java docs in KplMessageHandler
Browse files Browse the repository at this point in the history
  • Loading branch information
siddharthjain210 committed Dec 29, 2024
1 parent 3c442c7 commit b7ae296
Showing 1 changed file with 18 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,9 @@ public void setBackPressureThreshold(long backPressureThreshold) {

/**
* Configure a {@link MessageConverter} for converting payload to {@code byte[]} for Kinesis record.
*
* @param messageConverter the {@link MessageConverter} to use.
*
* @since 2.3
*/
public void setMessageConverter(MessageConverter messageConverter) {
Expand Down Expand Up @@ -194,9 +196,12 @@ public void setSequenceNumberExpression(Expression sequenceNumberExpression) {
/**
* Specify a {@link OutboundMessageMapper} for embedding message headers into the
* record data together with payload.
*
* @param embeddedHeadersMapper the {@link OutboundMessageMapper} to embed headers
* into the record data.
*
* @since 2.0
*
* @see org.springframework.integration.support.json.EmbeddedJsonHeadersMessageMapper
*/
public void setEmbeddedHeadersMapper(OutboundMessageMapper<byte[]> embeddedHeadersMapper) {
Expand All @@ -205,7 +210,9 @@ public void setEmbeddedHeadersMapper(OutboundMessageMapper<byte[]> embeddedHeade

/**
* Configure a {@link Duration} how often to call a {@link KinesisProducer#flush()}.
*
* @param flushDuration the {@link Duration} to periodic call of a {@link KinesisProducer#flush()}.
*
* @since 2.3.6
*/
public void setFlushDuration(Duration flushDuration) {
Expand All @@ -215,7 +222,9 @@ public void setFlushDuration(Duration flushDuration) {

/**
* Unsupported operation. Use {@link #setEmbeddedHeadersMapper} instead.
*
* @param headerMapper is not used.
*
* @see #setEmbeddedHeadersMapper
*/
@Override
Expand All @@ -226,8 +235,11 @@ public void setHeaderMapper(HeaderMapper<Void> headerMapper) {

/**
* Set a {@link Schema} to add into a {@link UserRecord} built from the request message.
*
* @param glueSchema the {@link Schema} to add into a {@link UserRecord}.
*
* @since 2.5.2
*
* @see UserRecord#setSchema(Schema)
*/
public void setGlueSchema(Schema glueSchema) {
Expand All @@ -237,8 +249,11 @@ public void setGlueSchema(Schema glueSchema) {
/**
* Set a SpEL expression for {@link Schema} to add into a {@link UserRecord}
* built from the request message.
*
* @param glueSchemaExpression the SpEL expression to evaluate a {@link Schema}.
*
* @since 2.5.2
*
* @see UserRecord#setSchema(Schema)
*/
public void setGlueSchemaExpressionString(String glueSchemaExpression) {
Expand All @@ -248,8 +263,11 @@ public void setGlueSchemaExpressionString(String glueSchemaExpression) {
/**
* Set a SpEL expression for {@link Schema} to add into a {@link UserRecord}
* built from the request message.
*
* @param glueSchemaExpression the SpEL expression to evaluate a {@link Schema}.
*
* @since 2.5.2
*
* @see UserRecord#setSchema(Schema)
*/
public void setGlueSchemaExpression(Expression glueSchemaExpression) {
Expand Down

0 comments on commit b7ae296

Please sign in to comment.