public class SnsHeaderMapper extends AbstractMessageAttributesHeaderMapper<com.amazonaws.services.sns.model.MessageAttributeValue>
AbstractMessageAttributesHeaderMapper
implementation for the mapping
from headers to SNS message attributes.
On the Inbound side, the SNS message is fully mapped from the JSON to the message payload. Only important HTTP headers are mapped to the message headers.
Constructor and Description |
---|
SnsHeaderMapper() |
Modifier and Type | Method and Description |
---|---|
protected com.amazonaws.services.sns.model.MessageAttributeValue |
buildMessageAttribute(java.lang.String dataType,
java.lang.Object value) |
fromHeaders, setOutboundHeaderNames, toHeaders
protected com.amazonaws.services.sns.model.MessageAttributeValue buildMessageAttribute(java.lang.String dataType, java.lang.Object value)
buildMessageAttribute
in class AbstractMessageAttributesHeaderMapper<com.amazonaws.services.sns.model.MessageAttributeValue>