[jboss-user] [JBoss Messaging Users] - Re: How can I find in-process message count for JBM Queues?

rbenko do-not-reply at jboss.com
Mon Nov 16 00:46:38 EST 2009


getMessageCount() is not the same thing - it counts the number of messages currently in the queue.  I need the number of messages currently being processed - i.e. the message has been delivered to the consumer, but it hasn't been fully 'consumed' yet.

I need it to verify that the MDB's onMessage() method has fully consumed and committed ALL messages in the queue.  In JBossMQ, the getInProcessMessageCount() did that - I haven't found a getter in JBM that does the same thing.  I thought getDeliveringCount() would be it, but it doesn't seem like it (not really sure what it is).

Anybody?  Bueller??

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4265775#4265775

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4265775



More information about the jboss-user mailing list