On 17/01/2008, Rob Bugh <[EMAIL PROTECTED]> 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