Package io.atleon.aws.sqs
Interface SqsMessage<T>
-
- Type Parameters:
T- The type of the body referenced by this Message
- All Known Subinterfaces:
ReceivedSqsMessage<T>
- All Known Implementing Classes:
AbstractSqsMessage,ComposedSqsMessage,DeserializedSqsMessage,SqsReceiverMessage,SqsSenderMessage
public interface SqsMessage<T>The base interface of all SQS Messages that may either be inbound (received) or outbound (able to be sent).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Tbody()Map<String,software.amazon.awssdk.services.sqs.model.MessageAttributeValue>messageAttributes()Optional<String>messageDeduplicationId()Optional<String>messageGroupId()Map<String,software.amazon.awssdk.services.sqs.model.MessageSystemAttributeValue>messageSystemAttributes()default Optional<Integer>senderDelaySeconds()When sending this Message, this is the number of seconds to delay its visibility after sending.
-
-
-
Method Detail
-
messageAttributes
Map<String,software.amazon.awssdk.services.sqs.model.MessageAttributeValue> messageAttributes()
-
messageSystemAttributes
Map<String,software.amazon.awssdk.services.sqs.model.MessageSystemAttributeValue> messageSystemAttributes()
-
body
T body()
-
senderDelaySeconds
default Optional<Integer> senderDelaySeconds()
When sending this Message, this is the number of seconds to delay its visibility after sending. Only applicable on standard queues. FIFO queues have this parameter set at the queue level.- Returns:
- Possibly-empty number of seconds to delay this Message's visibility after sending
-
-