public final class AdapterUtils
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static org.springframework.expression.ParserContext |
PARSER_CONTEXT
Parser context for runtime SpEL using ! as the template prefix.
|
Modifier and Type | Method and Description |
---|---|
static ConsumerRecordMetadata |
buildConsumerRecordMetadata(java.lang.Object data)
Build a
ConsumerRecordMetadata from data which must be a
ConsumerRecord . |
static java.lang.Object |
buildConsumerRecordMetadataFromArray(java.lang.Object... data)
Build a
ConsumerRecordMetadata from the first ConsumerRecord in data, if any. |
static java.lang.String |
getDefaultReplyTopicExpression()
Return the default expression when no SendTo value is present.
|
public static final org.springframework.expression.ParserContext PARSER_CONTEXT
@Nullable public static java.lang.Object buildConsumerRecordMetadataFromArray(java.lang.Object... data)
ConsumerRecordMetadata
from the first ConsumerRecord
in data, if any.data
- the data array.ConsumerRecord
.@Nullable public static ConsumerRecordMetadata buildConsumerRecordMetadata(java.lang.Object data)
ConsumerRecordMetadata
from data which must be a
ConsumerRecord
.data
- the record.ConsumerRecord
.public static java.lang.String getDefaultReplyTopicExpression()