activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From MarcoB70 <>
Subject Getting the size of a Queue
Date Thu, 14 Jun 2007 15:15:41 GMT

I would like to access programmatically the size of a Queue without making
use of a QueueBrowser and scanning the elements it returns.
In the FAQ will a JMX approach recommendend (see, but I
would rather follow another way.
Other JMS implementations offer for example methods to get the messageCount
via a so-called Broker-Object.
Any hint?
Thanks in advance.

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message