<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hello,<div><br></div><div>From a Java client we need to know when a queue is empty.</div><div>Is there a way to know it via the Java api (or to know the number</div><div>of messages in a queue).</div><div><br></div><div>We would rather have another way than calling <i>"rabbitmqctl list_queues"</i></div><div>via Runtime.exec()</div><div><br></div><div>Thanks for any help,</div><div>Florence.</div></td></tr></table><br>