[rabbitmq-discuss] One Producer, X Consumers where X can change

Michael Klishin michael.s.klishin at gmail.com
Mon Jan 14 14:28:11 GMT 2013


2013/1/14 Shadowalker <ryan.rajkomar at gmail.com>

> It allows one to check the count of currently listening consumer a
> queue/topic.
>
> Is there anything like this in rabbit mq ?
>


Declaring a queue with the passive parameter set to true will return
queue.declare-ok
that carries number of consumers on the queue. Some clients expose this
trick as a separate
method in the API.
-- 
MK

http://github.com/michaelklishin
http://twitter.com/michaelklishin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130114/18feb6b9/attachment.htm>


More information about the rabbitmq-discuss mailing list