Class SnsHeaderMapper
java.lang.Object
org.springframework.integration.aws.support.AbstractMessageAttributesHeaderMapper<software.amazon.awssdk.services.sns.model.MessageAttributeValue>
org.springframework.integration.aws.support.SnsHeaderMapper
- All Implemented Interfaces:
org.springframework.integration.mapping.HeaderMapper<Map<String,
software.amazon.awssdk.services.sns.model.MessageAttributeValue>>
public class SnsHeaderMapper
extends AbstractMessageAttributesHeaderMapper<software.amazon.awssdk.services.sns.model.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 software.amazon.awssdk.services.sns.model.MessageAttributeValue
buildMessageAttribute
(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
protected software.amazon.awssdk.services.sns.model.MessageAttributeValue buildMessageAttribute(String dataType, Object value) - Specified by:
buildMessageAttribute
in classAbstractMessageAttributesHeaderMapper<software.amazon.awssdk.services.sns.model.MessageAttributeValue>
-