Getting Started with RabbitMQ

What is RabbitMQ?

RabbitMQ is a messaging broker - an intermediary for messaging. It gives your applications a common platform to send and receive messages, and your messages a safe place to live until received.

Why do we need a message broker?


Messaging enables software applications to connect and scale. Applications can connect to each other, as components of a larger application, or to user devices and data. Messaging is asynchronous, decoupling applications by separating sending and receiving data.

Why RabbitMQ?

  1. Robust messaging for applications
  2. Easy to use
  3. Runs on all major operating systems
  4. Supports a huge number of developer platforms
  5. Open source and commercially supported


Steps for Setting up RabbitMQ

Step 1: Install Erlang
Step 2: Install RabbitMQ
Step 3: Install the RabbitMQ Management Plugin
Go to sbin folder %PROGRAMFILES%\RabbitMQ Server\rabbitmq_server_3.0.2\sbin and execute the below command:
rabbitmq-plugins.bat enable rabbitmq_management 
Step 4: Access the rabbitMQ mgmt page from http://localhost:15672/ after starting it normally or in service mode. The default user created is "guest" with password set as "guest". We can log in using this credential and create another user is needed. Import the broker definition files and get started.

References:

Comments

Popular posts from this blog

jQgrid reload with new data

Introduction to jQgrid

Rich Client based UI technologies- A Comparison of Thick Client UI tools