Switch branches/tags
Nothing to show
Find file History
U-krishna-PC\krishna U-krishna-PC\krishna
U-krishna-PC\krishna and U-krishna-PC\krishna modified README.md
Latest commit ebe1f7e Oct 23, 2012
Permalink
..
Failed to load latest commit information.
src added new application config Oct 18, 2012
README.md modified README.md Oct 23, 2012
pom.xml Added new code base for AMQP driven Spring Integration Oct 17, 2012

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.