[rabbitmq-discuss] check if queue is empty?

Gavin M. Roy gmr at myyearbook.com
Wed Jul 6 03:34:05 BST 2011

You can do a queue.declare('queue_name', passive=True) and get the results of that which will have the queue depth.

On Tuesday, July 5, 2011 at 9:05 PM, Vinod Sharma wrote:

> Hi,
> I am new to rabbitMQ. I am using python pika module to communicate
> with rabbitMQ server.
> is there a function in pika to tell if the message queue is empty or
> not??
> Thanks,
> Vinod
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com (mailto:rabbitmq-discuss at lists.rabbitmq.com)
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss

More information about the rabbitmq-discuss mailing list