Package io.atleon.aws.sqs
Interface ReceivedSqsMessage<T>
-
- Type Parameters:
T- The type of the body referenced by this Message
- All Superinterfaces:
SqsMessage<T>
- All Known Implementing Classes:
DeserializedSqsMessage,SqsReceiverMessage
public interface ReceivedSqsMessage<T> extends SqsMessage<T>
An inboundSqsMessage. Such Messages are guaranteed to have a Receipt Handle and Message ID.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringmessageId()Unique identifier for this Message.StringreceiptHandle()The Receipt Handle of this message, used to manage its visibility and deletion.-
Methods inherited from interface io.atleon.aws.sqs.SqsMessage
body, messageAttributes, messageDeduplicationId, messageGroupId, messageSystemAttributes, senderDelaySeconds
-
-
-
-
Method Detail
-
receiptHandle
String receiptHandle()
The Receipt Handle of this message, used to manage its visibility and deletion. Note that this value is unique to the act of receiving a Message with any given ID, and a unique Message with any given ID will receive a unique Receipt Handle each time it is received.
-
messageId
String messageId()
Unique identifier for this Message.
-
-