Changes in 2.4 Since 2.3
This section describes the changes between version 2.3 and version 2.4. See Change History for changes in previous versions.
@RabbitListener
Changes
MessageProperties
is now available for argument matching.
See Annotated Endpoint Method Signature for more information.
RabbitAdmin
Changes
A new property recoverManualDeclarations
allows recovery of manually declared queues/exchanges/bindings.
See Recovering Auto-Delete Declarations for more information.
Remoting Support
Support remoting using Spring Framework’s RMI support is deprecated and will be removed in 3.0. See Spring Remoting with AMQP for more information.
Stream Support Changes
RabbitStreamOperations
and RabbitStreamTemplate
have been deprecated in favor of RabbitStreamOperations2
and RabbitStreamTemplate2
respectively; they return CompletableFuture
instead of ListenableFuture
.
See Using the RabbitMQ Stream Plugin for more information.
Message Converter Changes
The Jackson2JsonMessageConverter
can now determine the charset from the contentEncoding
header.
See Jackson2JsonMessageConverter
for more information.