File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
this week in the
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
Single MDB instane - multiple messages ?
ActiveMQ: message transactions/history to be permanently stored
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-2014