This version is still in development and is not considered stable yet. For the latest stable version, please use Spring AMQP 3.2.5!spring-doc.cn

What’s New

Changes in 4.0 Since 3.2

Spring Framework 7.0

This version requires Spring Framework 7.0.spring-doc.cn

Null-safety

As many other Spring portfolio projects, Spring AMQP has been migrated to JSpecify annotations to declare the nullness of API. The NullAway Gradle plugin is used to check the consistency of null-safety declarations.spring-doc.cn

The spring-rabbitmq-client module

The new spring-rabbitmq-client module (with same artifact name) is introduced. This is an implementation of AMQP 1.0 protocol specific to RabbitMQ since 4.0 and based on the com.rabbitmq.client:amqp-client library.spring-doc.cn

See RabbitMQ AMQP 1.0 Support for more information.spring-doc.cn

Deprecation of JUnit 4 utilities

The latest JUnit 4 release was 4.13.2 in February 2021 and the next JUnit 6 will be based on JAva 17. There is no need to keep out-dated utilities and recommendation is to migrate to respective tools for JUnit 5.spring-doc.cn