Spring AMQP


The Spring AMQP project applies core Spring concepts to the development of AMQP-based messaging solutions. It provides a "template" as a high-level abstraction for sending and receiving messages. It also provides support for Message-driven POJOs with a "listener container". These libraries facilitate management of AMQP resources while promoting the use of dependency injection and declarative configuration. In all of these cases, you will see similarities to the JMS support in the Spring Framework.

The project consists of two parts; spring-amqp is the base abstraction, and spring-rabbit is the RabbitMQ implementation.


  • Listener container for asynchronous processing of inbound messages

  • RabbitTemplate for sending and receiving messages

  • RabbitAdmin for automatically declaring queues, exchanges and bindings

Spring Initializr

Quickstart Your Project

Bootstrap your application with Spring Initializr.


Each Spring project has its own; it explains in great details how you can use project features and what you can achieve with them.
2.3.10 CURRENT GA Reference Doc. API Doc.
2.4.0-SNAPSHOT SNAPSHOT Reference Doc. API Doc.
2.4.0-M3 PRE Reference Doc. API Doc.
2.3.11-SNAPSHOT SNAPSHOT Reference Doc. API Doc.
2.2.18.RELEASE GA Reference Doc. API Doc.

A few examples to try out: