[rabbitmq-discuss] Number of messages in a queue

Matthias Radestock matthias at rabbitmq.com
Sun Mar 9 08:52:31 GMT 2014


On 06/03/14 20:02, Sharath wrote:
> I was wondering if there is any way [to] get the number of
> messages/jobs in the queue [...]
>
> One idea is to using queue declare with passive as true, but I am not
> sure if this is the most optimal way to do it.

It is.

Matthias.


More information about the rabbitmq-discuss mailing list