[rabbitmq-discuss] a weird question about rabbitmq.thanks a lot

Emile Joubert emile at rabbitmq.com
Tue Oct 22 09:28:21 BST 2013

On 22/10/13 02:40, yby538 wrote:

> it prints "empty" !!!! why???there are 17 messages in youdao_box_ctp!!!

By default "rabbitmqctl list_queues" displays the queue name and the
queue depth,  which is the total of ready and unacknowledged messages.
The messages you are attempting to retrieved are probably
unacknowledged. Use this to check whether there are any ready messages:
"rabbitmqctl list_queues name messages_ready"

Also see the documentation, included with the rabbitmqctl command and
online: http://www.rabbitmq.com/man/rabbitmqctl.1.man.html


More information about the rabbitmq-discuss mailing list