[rabbitmq-discuss] To know when a queue is empty from a Java client

Florence Chabanois flocha2000-agile at yahoo.fr
Thu Aug 26 14:16:33 BST 2010


Hello,
>From a Java client we need to know when a queue is empty.Is there a way to know it via the Java api (or to know the numberof messages in a queue).
We would rather have another way than calling "rabbitmqctl list_queues"via Runtime.exec()
Thanks for any help,Florence.


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20100826/49ce68ce/attachment.htm>


More information about the rabbitmq-discuss mailing list