This Amazon SQS Java Messaging Library holds the Java Message Service compatible classes, that are used for communicating with Amazon Simple Queue Service.
Upgrade aws sdk to v2
Changes include the following PRs: https://github.com/awslabs/amazon-sqs-java-messaging-lib/pull/112
Full Changelog: https://github.com/awslabs/amazon-sqs-java-messaging-lib/compare/1.1.0...2.0.0
Full Changelog: https://github.com/awslabs/amazon-sqs-java-messaging-lib/compare/1.0.9...1.1.0
Full Changelog: https://github.com/awslabs/amazon-sqs-java-messaging-lib/compare/1.0.8...1.0.9
Updated the SQSMessageConsumerPrefetch receive* methods to throw an exception when the consumer is closed rather than returning null (PR #41)
SQSMessageConsumer@receiveNoWait()
fails to return messages when numberOfMessagesToPrefetch
is 0Add support for SQS messages with a "Type" of "Number" (PR #71)
Preserve the JMS Correlation ID when sending and receiving messages (PR #63)
Fix failure to increment messagesRequested in receive methods. In rare cases this could cause a SQSMessageConsumer with numberOfMessagesToPrefetch set to 0 to get stuck and no longer receive messages.
Support for the JMSReplyTo
Destination
message header field, which now correctly persists through Amazon SQS. Use this field to avoid making extra calls to the Amazon SQS GetQueueUrl
API action.
Support for setting the numberOfMessagesToPrefetch
connection parameter to 0
. In this mode, messages are retrieved from Amazon SQS only when you make explicit receive()
or receive(long)
calls to message consumers, or when you attach a message listener to a consumer.
Note: This mode can result in better performance in cases when handling messages is expensive.
Support for custom AmazonSQS client implementations to be passed in to the SQSConnectionFactory.
This version is compatible with Amazon SQS Extended Client Library (https://github.com/awslabs/amazon-sqs-java-extended-client-lib), which opens up the possibility of sending large messages through the JMS provider.
Support for SQS FIFO queues.