Debugging using Wireshark

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.

Tip

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.

Getting ready

To exercise ...

Get RabbitMQ Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.