public class QueueMessageAcknowledgment extends Object implements Acknowledgment
Constructor and Description |
---|
QueueMessageAcknowledgment(com.amazonaws.services.sqs.AmazonSQSAsync amazonSqsAsync,
String queueUrl,
String receiptHandle) |
Modifier and Type | Method and Description |
---|---|
Future<?> |
acknowledge()
The call to this method acknowledges the caller that the listener method has finished the processing of the message
and triggers some implementation specific clean up tasks like removing a message from the SQS queue.
|
public Future<?> acknowledge()
Acknowledgment
acknowledge
in interface Acknowledgment
Future
as the acknowledgment can involve some asynchronous request (i.e. request to an AWS API).Copyright © 2018 Pivotal Software, Inc.. All rights reserved.