Introduction of Rabbitmq
2 min readJul 22, 2020
What is rabbitmq?
RabbitMQ is a message-queueing software also known as a message broker or queue manager. Simply said; it is software where queues are defined, to which applications connect in order to transfer a message or messages.
Benefits of use of rabbitmq
- Delivery and order guarantee
- Redundancy
- Decoupling
- Scalability
How Rabbitmq works?
Here is an example code for work queue
There are two java classes called:
- Seneder.java
- Receiver.java
Sender.java
receiver.java
Output of receiver console before sending the message
Output of sender console after sending the message
Output of receiver console after receiving the message