[rabbitmq-discuss] Reliable way to get number of messages in a queue
Mark Nutter
marknutter at gmail.com
Fri Oct 23 17:41:46 BST 2009
I'm attempting to get the number of messages that are in a queue. I'm using
a consumer to pull messages from the queue. I've tried using the
queueDeclare getMessageCount() function and that gives me the message count
*once* but every time after that it just gives me a message count of zero
back. Any other way of finding it? Is the consumer somehow messing things
up? Thanks!
--
Mark Nutter
612-205-1388
marknutter at gmail.com
http://nuttersmark.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20091023/c9c784e8/attachment.htm
More information about the rabbitmq-discuss
mailing list