Re: How to tell if everything in a queue has been processed

2009-08-09 Thread Rob Davies
On 9 Aug 2009, at 15:32, amp834 wrote: I'm using ActiveMQ to "Submit a job" to queue "Job53" (a queue for each job), with (say) 500 subtasks, and want to know when the 500 items have been processed completely. I thought of creating a queue just for that job, writing 500 messages to it, a

How to tell if everything in a queue has been processed

2009-08-09 Thread amp834
I'm using ActiveMQ to "Submit a job" to queue "Job53" (a queue for each job), with (say) 500 subtasks, and want to know when the 500 items have been processed completely. I thought of creating a queue just for that job, writing 500 messages to it, and when the 500 messages have been processed, th