Version 1.0.4 of the Amazon SQS Java Messaging Library
-
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 SQSGetQueueUrl
API action. -
Support for setting the
numberOfMessagesToPrefetch
connection parameter to0
. In this mode, messages are retrieved from Amazon SQS only when you make explicitreceive()
orreceive(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.