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