Is it possible to view RabbitMQ message contents directly from the command line?

后端 未结 6 1468
Happy的楠姐
Happy的楠姐 2020-12-22 17:54

Is it possible to view RabbitMQ message contents directly from the command line?

sudo rabbitmqctl list_queues lists the queues.

Is there any comma

6条回答
  •  太阳男子
    2020-12-22 18:45

    a bit late to this, but yes rabbitmq has a build in tracer that allows you to see the incomming messages in a log. When enabled, you can just tail -f /var/tmp/rabbitmq-tracing/.log (on mac) to watch the messages.

    the detailed discription is here http://www.mikeobrien.net/blog/tracing-rabbitmq-messages

提交回复
热议问题