如果我的理解是正确的,如果不取出并放回兔子队列中的消息,您实际上无法查看它们.无法使用 rabbitmqctl 来检查队列.
If my understanding is correct, you can't actually look at messages in the rabbit queue without taking them out and putting them back in. There's no way to use rabbitmqctl to inspect a queue.
在某些调试上下文中,了解当前队列中的内容非常有用.有没有办法获取消息?另外,Rabbit 的设计是什么让这个过程变得繁琐?
In some debugging contexts, knowing what is currently in the queue is very useful. Is there a way to get at the messages? Also, what is it about the design of Rabbit that makes this process cumbersome?
推荐答案我个人还没有使用过这个,但是我看到了 RabbitMQ 的管理插件,我认为它可以让您监控队列.
I have not used this personally yet but I saw RabbitMQ's management plugin that I thought allowed you to monitor the queue.
www.rabbitmq/management.html
更多推荐
为什么看不到Rabbit Queue中的消息
发布评论