[rabbitmq-discuss] Number of consumers on a queue

Marek Majkowski majek04 at gmail.com
Tue Aug 9 14:46:47 BST 2011


On Tue, Aug 9, 2011 at 14:37, Marek Majkowski <majek04 at gmail.com> wrote:
> On Tue, Aug 9, 2011 at 14:11, Andreas Lackner <alackner at geomix.at> wrote:
>> I'd like to know if there is a way to get the number of consumers that are
>> currently bound to a queue.
>> I am using the .NET client.
>
> Check out the return value of `Queue.declare`:
>   http://www.rabbitmq.com/amqp-0-9-1-reference.html#exchange.declare-ok
>
> It returns message count and number of consumers bound to a queue.

Apparently .net client doesn't properly return queue.declare-ok, so
it appears that in .net there is now way to read the counters. sorry.

We have a bug opened for that.

Cheers,
   Marek


More information about the rabbitmq-discuss mailing list