Class SnsHeaderMapper
java.lang.Object
org.springframework.integration.aws.support.AbstractMessageAttributesHeaderMapper<MessageAttributeValue>
org.springframework.integration.aws.support.SnsHeaderMapper
- All Implemented Interfaces:
org.springframework.integration.mapping.HeaderMapper<Map<String,MessageAttributeValue>>
The
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.
- Since:
- 2.0
- Author:
- Artem Bilan
-
Field Summary
Fields inherited from class org.springframework.integration.aws.support.AbstractMessageAttributesHeaderMapper
logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected MessageAttributeValuebuildMessageAttribute(String dataType, Object value) Methods inherited from class org.springframework.integration.aws.support.AbstractMessageAttributesHeaderMapper
fromHeaders, setOutboundHeaderNames, toHeaders
-
Constructor Details
-
SnsHeaderMapper
public SnsHeaderMapper()
-
-
Method Details
-
buildMessageAttribute
- Specified by:
buildMessageAttributein classAbstractMessageAttributesHeaderMapper<MessageAttributeValue>
-