[rabbitmq-discuss] Number of consumers on a queue

Eugene Kirpichov ekirpichov at gmail.com
Tue Aug 9 15:16:24 BST 2011


We not only have a bug, but also a pull request that fixes that - I
needed the queue message count and implemented it myself :)
https://github.com/rabbitmq/rabbitmq-dotnet-client/pull/2

Hopefully it will get merged :)

2011/8/9 Marek Majkowski <majek04 at gmail.com>:
> 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
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>



-- 
Eugene Kirpichov
Principal Engineer, Mirantis Inc. http://www.mirantis.com/
Editor, http://fprog.ru/


More information about the rabbitmq-discuss mailing list