Friday, February 20, 2015

Maximize information exchange in your enterprise with AMQP

This week I presented a webinar on Maximizing information exchange in your enterprise with AMQP.  We went through an AMQP overview, comparison of technologies with AMQP, Fuse and A-MQ and a simple demo to show a producer, consumer and broker.  The main features of AMQP include Interoperability, Queueing, Routing, Reliability and Security.

The demo was simple example on the ease of use of AMQP with JBoss A-MQ.  I have included the steps below so that you can give it a try.

Step 1: Download and unzip JBoss A-MQ 6.1 from http://www.jboss.org/products/amq/overview/
Step 2: Clone the repository from https://github.com/fusebyexample/activemq-amqp-example
Step 3: Add the transport to the transportconnectors section in the activemq.xml file in /etc of the A-MQ install directory
<transportConnector name="amqp" uri="amqp://0.0.0.0:5672"/>
Step 4: Start the Fuse server by running amq in /bin of the A-MQ install directory
Step 5: Run mvn -P consumer from the cloned repository
Step 6: Run mvn -P producer from the cloned repository
Note: you should see the messages received by the consumer which are sent by the producer
Step 7: Browse the Management Console at http://localhost:8181 to take a look at the statistics for the producer and consumer