<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">2013/5/6 Seshachalam Malisetti <span dir="ltr">&lt;<a href="mailto:abbiya@gmail.com" target="_blank">abbiya@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<p>How can i use rabbitmq http api to do this ?</p>

<p>will &quot; /api/queues/vhost/queue/bindings     A list of all bindings on a given queue. &quot; this help me ?</p></blockquote></div><br>That will list bindings, not consumers. The learn the difference, take a look at</div>

<div class="gmail_extra"><br></div><div class="gmail_extra"><a href="http://www.rabbitmq.com/tutorials/amqp-concepts.html">http://www.rabbitmq.com/tutorials/amqp-concepts.html</a><br></div><div class="gmail_extra"><br></div>

<div class="gmail_extra">To get the # of consumers, either use AMQP&#39;s queue.declare method with passive set to true,</div><div class="gmail_extra">or use</div><div class="gmail_extra"><br></div><div class="gmail_extra">

GET /api/queues/{{vhost}}/{{queue}}</div><div class="gmail_extra"><br></div><div class="gmail_extra">Both will include consumer count among other things.<br>-- <br>MK<br><br><a href="http://github.com/michaelklishin" target="_blank">http://github.com/michaelklishin</a><br>

<a href="http://twitter.com/michaelklishin" target="_blank">http://twitter.com/michaelklishin</a><br>
</div></div>