[rabbitmq-discuss] Java client getMessageCount problem

Isaías Espejo Badia isaias at madiva.com
Mon Feb 14 08:59:29 GMT 2011

Hi all

I have a queue declared how passive and I am using the getMessageCount
method but this method return 0 although queue has one element.

This queue is passive to the thread that count but it is active for othe
thread that get and put element.

is there other way to count the queue elements that show the real elements?
(elements waiting for ack and when only there is a element)

Thank you very mucha


[image: LinkedIn] <http://es.linkedin.com/in/isaiaseb/> [image:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20110214/accb6d88/attachment.htm>

More information about the rabbitmq-discuss mailing list