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

2009-09-15 Thread amp834
There's a new plugin in trunk for the broker that you can send a message to to ask statistics on a Destination (Topic or Queue) - and it will send back a MapMessage with the stats in. If you can't wait a while for the 5.3 release - which should be soon - it you can use that. This will wo

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

2009-09-10 Thread amp834
>messages are sent to another queue to indicate that a job/message has been processed. By sending a message to a different queue upon completion of such processing, the client can poll for messages on that queue and know immediately when the processing is complete. Thanks for the suggestions, B

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

2009-09-10 Thread amp834
a "delayed delivery", if ActiveMq allows that now; JBOSS seems to allow delayed delivery of individual messages, but I haven't found anything simple in ActiveMq). I'm new to ActiveMq, and am not sure what paths are easiest. Any help would be greatly appreciated! rajdavies wrote: &g

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