[rabbitmq-discuss] Queue inspector.

Matthias Radestock matthias at lshift.net
Mon Nov 5 23:22:22 GMT 2007


Matt,


matt wrote:
> Getting the message count only appears to get updated when you declare 
> the queue.  What if you wanted to poll the queue and see how many 
> messages were on it every 15 seconds or so?

queue.declare has a passive mode of operation where it doesn't actually 
create a new queue. That's what I was referring to when I wrote that "in 
combination with queue.declare's passive flag it allows you to determine 
the length of existing queues".


Matthias.




More information about the rabbitmq-discuss mailing list