[rabbitmq-discuss] how to get consumer number
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
> I have no idea what the C code for accessing that would look like, but it
> hopefully is pretty obvious.
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...
More information about the rabbitmq-discuss