Publishing a message

When we publish a message, there are various utilities that the RabbitMQ Control Panel provides to view exchanges, queues, and message traffic.

The following is a snapshot of our exchange immediately after a message is published:

And here is a screenshot after several deployment messages have been sent:

The next thing that I want to do is to walk you through what you will see in the RabbitMQ Control Panel, as the visuals make everything self-explanatory. The following is a screenshot showing that a consumer was connected to our exchange and received a message. This is denoted by the Publish (Out) message rate indicated in blue (for those viewing this book in black and white, this will be the triangular line shown at the 07:44:20 minute marker):

The following screenshot shows our message queue (Memory) after three deployment messages have been published by our microservice. We have no consumers on the other end to consume the message, so the messages, as we indicated earlier, remain in the queue until a consumer connects and subscribes to a topic that matches our message:

Here is a screenshot of our queue with three memory status messages sent. Additionally, you can see the output from the program alongside it. You can see that, over the last minute, we have held steady in the number of messages published to this Exchanges and Queues:

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset