2. What’s New
2.1. Changes in 2.4 Since 2.3
This section describes the changes between version 2.4 and version 2.4. See Change History for changes in previous versions.
2.1.1. @RabbitListener
Changes
MessageProperties
is now available for argument matching.
See Annotated Endpoint Method Signature for more information.
Async reply types now include CompleteableFuture
See Asynchronous @RabbitListener
Return Types for more information.
MessageConverter
s can now return Optional.empty()
for a null value; this is currently implemented by the Jackson2JsonMessageConverter
.
See Converting from a Message
for more information.
2.1.2. RabbitAdmin
Changes
A new property recoverManualDeclarations
allows recovery of manually declared queues/exchanges/bindings.
See Recovering Auto-Delete Declarations for more information.
2.1.3. Remoting Support
Support of remoting using Spring Framework’s RMI support is deprecated and will be removed in 3.0. See Spring Remoting with AMQP for more information.
2.1.4. Message Converter Changes
The Jackson2JsonMessageConverter
can now determine the charset from the contentEncoding
header.
See Jackson2JsonMessageConverter for more information.