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?
- Robust messaging for applications
- Easy to use
- Runs on all major operating systems
- Supports a huge number of developer platforms
- Open source and commercially supported
Steps for Setting up RabbitMQ
Step 1: Install Erlang
Step 2: Install RabbitMQStep 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_managementStep 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.
Comments
Post a Comment