RabbitMQ Publish Messages to Queue

In rabbitmq, we can directly publish messages to queue using web management portal for that we need to login into rabbitmq web management portal using default (guest) credentials like as shown below.


RabbitMQ Web Management Portal Login


After logging into rabbitmq web management portal, navigate to Queues tab and click on the queue (demoqueue) which you want to publish messages like as shown below.


RabbitMQ Select Queue to Publish Messages


After clicking on particular queue (demoqueue), multiple panels will be shown from that click on Publish message panel like as shown below to publish messages directly to queue.


RabbitMQ Select Publish Message Panel in Web Management


After opening Publish message panel, just enter a message in Payload textarea and click on Publish message button like as shown below.


RabbitMQ Enter Details to Publish Message in Queue


After publishing message successfully to queue, we will get the success message like Message published like as shown below.


RabbitMQ After Publishing Message to Queue


This is how we can publish messages directly to queue using rabbitmq web management portal based on our requirements. In next chapter, we will learn how to read a messages from queue in rabbitmq web management.