| Package | Description |
|---|---|
| com.amazon.sqs.javamessaging.acknowledge | |
| com.amazon.sqs.javamessaging.message |
| Modifier and Type | Method and Description |
|---|---|
void |
Acknowledger.acknowledge(SQSMessage message)
Generic Acknowledge method.
|
void |
RangedAcknowledger.acknowledge(SQSMessage message)
Acknowledges all the consumed messages as well as the previously consumed
messages on the session via calling
deleteMessageBatch until
all the messages are deleted. |
void |
UnorderedAcknowledger.acknowledge(SQSMessage message)
Acknowledges the consumed message via calling
deleteMessage. |
void |
AutoAcknowledger.acknowledge(SQSMessage message)
Acknowledges the consumed message via calling
deleteMessage |
static SQSMessageIdentifier |
SQSMessageIdentifier.fromSQSMessage(SQSMessage sqsMessage) |
void |
Acknowledger.notifyMessageReceived(SQSMessage message)
Used when receiving messages.
|
void |
RangedAcknowledger.notifyMessageReceived(SQSMessage message)
Updates the internal queue for the consumed but not acknowledged
messages if the message was not already on queue.
|
void |
UnorderedAcknowledger.notifyMessageReceived(SQSMessage message)
Updates the internal data structure for the consumed but not acknowledged
message.
|
void |
AutoAcknowledger.notifyMessageReceived(SQSMessage message)
When notify message is received, it will acknowledge the message.
|
| Modifier and Type | Class and Description |
|---|---|
class |
SQSBytesMessage
This class borrows from
ActiveMQStreamMessage, which is also
licensed under Apache2.0. |
class |
SQSObjectMessage
An ObjectMessage object is used to send a message that contains a Java
serializable object.
|
class |
SQSTextMessage
A TextMessage object is used to send a message body containing a
java.lang.String.
|
Copyright © 2022. All rights reserved.