Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Fetching latest commit...
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

AMQP Backed Spring Integration using vFabric RabbitMQ

In this project, I will demo AMQP Backed Spring Integration using vFabric RabbitMQ.

To quickly see how it works,

  • Get the latest code
  • Install ERLang

    Set ERLANG_HOME=[ERLang install location]

  • Install RabbitMQ

  • Open RabbitMQ Command Prompt from the start menu and run below commands

    rabbitmq-plugins enable rabbitmq_management


  • Open http://localhost:55672/mgmt/ and login as guest/guest, just to check RabbitMQ is running

  • Maven imported spring-integration-amqp-publish-subscribe project into STS IDE
  • Add spring-integration-amqp-publish-subscribe on the server and start the TC server and "Run on Server", you will notice that the Application Subscribed to RabbitMQ. And by default it created 2 queues:, p2p-pollable-channel
  • To demo the Pub/sub model, put a message on to the p2p-pollable-channel, the SI flow gets triggered of

Refer this blog for more details on the above flow.

Feel free to modify this code and use it for your need.

Something went wrong with that request. Please try again.