aws-sdk-java
aws-sdk-java copied to clipboard
Update ReceiveMessageBatchTask messages to be stored and removed in fifo order
Issue #, if available: n/a
Description of changes: Messages retrieved by spawned Receive task are removed in reverse order. Updated to have them polled in order as they were received. This was not intended to make the Amazon SQS Buffered Asynchronous Client fully support FIFO queues, but it's a step in that direction.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Not necessarily in FIFO order, just the order they were received from queue. If that were to be a FIFO queue, then the order is preserved prior to fulfilling the future back to the caller.