My Blog

My WordPress Blog

My Blog

My WordPress Blog

21. Rabbit MQ

Test Application Topic

Start the Publisher Application In eclipse, right click on the Publisher.java source, and select Run As → Java Application. Publisher application will start running and you’ll see the output as follows − Start the Subscriber Application In eclipse, right click on the Subscriber.java source, and select Run As → Java Application. Subscriber application will start […]

Subscriber Application

Now let’s create a subscriber application which will receive message from the RabbitMQ Topic. Create Project Using eclipse, select File → New → Maven Project. Tick the Create a simple project(skip archetype selection) and click Next. Enter the details, as shown below − Click on Finish button and a new project will be created. pom.xml Now update the content of pom.xml to […]

Publisher Application

Now let’s create a publisher application which will send message to the RabbitMQ Exchange. This exchange will deliver the message to the queue which is bound with the exchange. Create Project Using eclipse, select File → New → Maven Project. Tick the Create a simple project(skip archetype selection) and click Next. Enter the details, as shown below − Click on Finish button […]

Test Application

Start the Producer Application In eclipse, right click on the Producer.java source, and select Run As → Java Application. Producer application will start running and you’ll see the output as follows − Start the Consumer Application In eclipse, right click on the Consumer.java source, and select Run As → Java Application. Consumer application will start […]

Consumer Application

Now let’s create a consumer application which will receive message from the RabbitMQ Queue. Create Project Using eclipse, select File → New → Maven Project. Tick the Create a simple project(skip archetype selection) and click Next. Enter the details, as shown below: Click on Finish button and a new project will be created. pom.xml Now update the content of pom.xml to include […]

Producer Application

Now let’s create a producer application which will send message to the RabbitMQ Queue. Create Project Using eclipse, select File → New → Maven Project. Tick the Create a simple project(skip archetype selection) and click Next. Enter the details, as shown below − Click on Finish button and a new project will be created. pom.xml Now update the content of pom.xml to […]

Installation

RabbitMQ is built on Erlang runtime so before installing RabbitMQ, we need to download Erlang and install it. Make sure, you are using administrative priviledge to install Erlang and RabbitMQ. Erlang Erlang is a general-purpose programming language and runtime environment. You can download the latest version of Erlang from its home page − Download Erlang/OTP.. We […]

Overview

What is RabbitMQ? RabbitMQ is an open source message broker written in Java. It’s fully compliant with JMS 1.1 standards. It is developed and maintained by Apache Software Foundation and is licensed under Apache license. It provides high availability, scalability, reliability, performance and security for enterprise level messaging applications. JMS is a specification that allows […]

Scroll to top