[rabbitmq-discuss] how to get consumer number

Bai Shuwei baishuwei at gmail.com
Sun Aug 12 15:46:47 BST 2012

I  use the amqp_queue_declare() routine, i can get the message count but
the consumer count is zero all the time. one consumer is reading data in my
test environment. more ideas?

On 12 August 2012 21:53, Matthias Radestock <matthias at rabbitmq.com> wrote:

> On 12/08/12 14:08, Bai Shuwei wrote:
>>      I use the rabbitmq-c now. I send my message to the MyQueue, and i
>> want how to get the consumers number on the queue, but i cannot find the
>> related routines. Could somebody to help me to get the consumers number,
>> thanks very much!
> The reply to queue.declare contains a consumer-count. See
> http://www.rabbitmq.com/amqp-**0-9-1-reference.html#queue.**declare-ok<http://www.rabbitmq.com/amqp-0-9-1-reference.html#queue.declare-ok>.
> I have no idea what the C code for accessing that would look like, but it
> hopefully is pretty obvious.
> Matthias.

Love other people, as same as love yourself!
Don't think all the time, do it by your hands!

E-Mail: baishuwei at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20120812/bb8fda6e/attachment.htm>

More information about the rabbitmq-discuss mailing list