-
Book Overview & Buying
-
Table Of Contents
RabbitMQ Cookbook
In the Debugging RabbitMQ's messages recipe, we have seen how to trace messages going to/from RabbitMQ.
However, it is not always possible, or desirable, to stop a running client (or a RabbitMQ server), modify its connection port, and point it to a different one; we just want to monitor the messages that are passing in real-time, impacting the system activity as little as possible.
However, it's possible to activate the firehose tracer as seen in the recipe, Tracing RabbitMQ's ongoing activity.
Wireshark is a free network analysis tool that has the capability to decode AMQP messages. This tool can be used either on the client side or on the server side to monitor the AMQP traffic flow seamlessly.
To exercise this recipe, you need RabbitMQ up and running and the RabbitMQ Java client library.
In the following steps, we are going to see how to use Wireshark to trace the AMQP messages:
If not already available on your system, download and install...
Change the font size
Change margin width
Change background colour