Back Home


Installing RabbitMq Server

Installing RabbitMq

  • Download and unzip rabbitmq
  • Enable the management console
# ~/rabbitmq/sbin/rabbitmq-plugins enable rabbitmq_management
  • Start rabbitMQ
rabbitmq_server-3.1.5/sbin> ./rabbitmq-server start

The admin page is available


The default login: guest and password: guest

RabbitMq with Mule

  • RabbitMq uses AMPQ protocol, an Ampq connector is available in the community connectors in the Mule repository

Once installed, there are 2 steps in Mule

  1. Configure the Global Connector
  2. Add connectors to listen or publish messages

In the glbal flow tab add the Amqp Global Connection

Then you can configure your flow

with a configuration

Testing RabbitMq with Jmeter

There is a Jmeter Plugin on Github for AMQP, this requires git and ant commands: <code console> git clone </console>

then run the ant command in the root of the folder, copy the build file and the rabbitmq_client.jar to the Jmeter/lib/ext folder

  • create a jmeter thread
  • add an amqp publisher with default settings, this should work with the mule test flow show above.

  • Note:* Number of samples to Aggregate = 1 is important

Some Weirdness

  • the default AMQP MulePlugin, has some well know bugs for switching between xml and visual representation

I will see if there is a newer version or raise bugs with mule accordingly

RabbitMq with Multiple Languages

  • Pika is a pure-Python implementation of the AMQP 0-8 protocol

Python pub sub

mule_messaging.txt · Last modified: 2013/10/04 03:59 by root
RSS - 200 © CrosswireDigitialMedia Ltd