activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: How to determine message location in a queue
Date Tue, 22 Jan 2008 10:35:19 GMT
On 17/01/2008, Rob Bugh <robbugh@earthlink.net> wrote:
>
>
> What is the best way to determine (to the extent that this makes sense) a
> message's position in a queue?
>
> Assuming messages represents a long running tasks and so the queue is
> depleted at a rather slow pace and the messages are removed from the queue
> in the same order as they are added, I would like to periodically check on a
> particular message to see where it is in the queue.
>
> Can this be done?

Yes - you can browse the queue via the JMS API (QueueBrowser) so you
can see what messages are at what point in the queue.

Or try the web console...
http://activemq.apache.org/web-console.html
-- 
James
-------
http://macstrac.blogspot.com/

Open Source Integration
http://open.iona.com

Mime
View raw message