A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
EJB and other Java EE Technologies
Number of messages
Joined: Oct 29, 2007
Oct 29, 2007 16:38:00
Is there a way to find number messages sitting on a queue?
I know that we can use queue browser and iterate over all the messages and get the count.
But this caues me a performance issue.
Is there a way I can get the number of messages sitting on a queue without iterating over the messages?
I agree. Here's the link:
subject: Number of messages
ActiveMQ: message transactions/history to be permanently stored
Single MDB instane - multiple messages ?
Queue Depth - JMS
Setting JBoss JMS Queue size
Specifying JMS Queue size in OAS
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013