On Tue, Mar 16, 2010 at 1:36 AM, Norman Maurer <[email protected]> wrote:
> Hi all,
>
> is it somehow possible to get the exact number of items in a queue
> with the jms api ? It would be also nice to be able to check the size
> of items with a given selector..
>
> So any idea?

APIs are available for this via JMX. However, that number is only good
for that exact second in time. This is just the nature of JMS because
messages are flowing through the system constantly. Why do you need
the queue size?

Bruce
-- 
perl -e 'print 
unpack("u30","D0G)u8...@4vyy9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

ActiveMQ in Action: http://bit.ly/2je6cQ
Blog: http://bruceblog.org/
Twitter: http://twitter.com/brucesnyder

Reply via email to