Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

..
Octocat-spinner-32 src
Octocat-spinner-32 README.md
Octocat-spinner-32 pom.xml
README.md

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

    rabbitmq-server.bat

  • 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: si.fanout.pub-sub-channel, 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.