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
Queue Depth - JMS
Setting JBoss JMS Queue size
ActiveMQ: message transactions/history to be permanently stored
Specifying JMS Queue size in OAS
Single MDB instane - multiple messages ?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014