public abstract class BulkSQSOperation extends Object
| Constructor and Description |
|---|
BulkSQSOperation() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
action(String queueUrl,
List<String> receiptHandles)
Action call block.
|
void |
bulkAction(List<SQSMessageIdentifier> messageIdentifierList,
int indexOfMessage)
Bulk action on list of message identifiers up to the provided index
|
public void bulkAction(List<SQSMessageIdentifier> messageIdentifierList, int indexOfMessage) throws javax.jms.JMSException
messageIdentifierList - Container for the list of message identifiersindexOfMessage - The action will apply to all messages up to this indexjavax.jms.JMSException - if action throwspublic abstract void action(String queueUrl, List<String> receiptHandles) throws javax.jms.JMSException
queueUrl - queueUrl of the queue, which the receipt handles belongreceiptHandles - the list of handles, which is be used to (negative)acknowledge
the messages.javax.jms.JMSExceptionCopyright © 2022. All rights reserved.