Class SnsHeaders

java.lang.Object
io.awspring.cloud.sns.core.SnsHeaders

public final class SnsHeaders extends Object
SNS specific headers that can be applied to Spring Messaging Message.
Since:
3.0.0
Author:
Matej Nedic, Artem Bilan
  • Field Details

    • SNS_HEADER_PREFIX

      public static final String SNS_HEADER_PREFIX
      SNS Headers prefix to be used by all headers added by the framework.
      See Also:
    • NOTIFICATION_SUBJECT_HEADER

      public static final String NOTIFICATION_SUBJECT_HEADER
      Notification subject. The value of this header is set to PublishRequest.subject().
      See Also:
    • MESSAGE_GROUP_ID_HEADER

      public static final String MESSAGE_GROUP_ID_HEADER
      Message group id for SNS message (applies only to FIFO topic). The value of this header is set to PublishRequest.messageGroupId()}.
      See Also:
    • MESSAGE_DEDUPLICATION_ID_HEADER

      public static final String MESSAGE_DEDUPLICATION_ID_HEADER
      Message Deduplication id for SNS message. The value of this header is set to PublishRequest.messageDeduplicationId()}}.
      See Also:
    • TOPIC_HEADER

      public static final String TOPIC_HEADER
      Topic ARN header where the message has been published. The value of this header is set from PublishRequest.topicArn().
      See Also:
    • MESSAGE_ID_HEADER

      public static final String MESSAGE_ID_HEADER
      Message id header as a unique identifier assigned to the published message, or from a received message. The value of this header is set from PublishResponse.messageId().
      See Also:
    • NOTIFICATION_STATUS_HEADER

      public static final String NOTIFICATION_STATUS_HEADER
      The NotificationStatus header for manual confirmation on reception. The value of this header is set from SnsInboundChannelAdapter or LegacyJackson2SnsInboundChannelAdapter.
      See Also:
    • SNS_MESSAGE_TYPE_HEADER

      public static final String SNS_MESSAGE_TYPE_HEADER
      The "Sns_messageType" header for the received SNS message type.
      See Also: