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.
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.
After opening Publish message panel, just enter a message in Payload textarea and click on Publish message button like as shown below.
After publishing message successfully to queue, we will get the success message like Message published like as shown below.
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.