We are pleased to announce that the Spring AMQP 1.6 release candidate (1.6.0.RC1) is now available in the spring milestone repo.
The 1.5.6 maintenance release is also available with a few bug fixes.
A new jar
spring-rabbit-testcontaining a test harness to help with testing
@RabbitListenermethods; see the testing chapter.
@RabbitListenerannotations on a method (when using Java 8) and the
@RabbitListenersannotation (for pre-Java 8), each allowing the same method to be the listener method for multiple listener containers.
Full support for the Delayed Message Exchange RabbitMQ plugin.
ListenableFuture<?>for request/reply messaging.
An option to publish
ApplicationEventswhen listener containers go idle.
The caching connection factory now exposes cache statistics
@RabbitListenermethods now communicate type information to the message converter for inbound messages. This means, for example, the
Jackson2JsonMessageConverterno longer needs a custom class mapper when a message without type information in the headers is received (e.g. from a sender that is not a Spring AMQP app). Instead, the
@RabbitListenermethod parameter type is used in the conversion. In addition, the
beanare also made available via message properties to custom converters.