activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Green <james.mk.gr...@gmail.com>
Subject Re: Quest for Job queue
Date Sun, 07 Nov 2010 21:14:48 GMT
You are describing the default behaviour of an ActiveMQ consumer.

Fire up the consumer and ask for the next message in the queue. Loop.
Fire up a second (and more) consumer and loop. The messages will be handed
out evenly.

James

On 7 November 2010 10:13, Allan Kamau <kamauallan@gmail.com> wrote:

> I am new to ActiveMQ and messaging as a whole. I am developing a
> parallized application the missing component is the shared job queue
> where each process picks one available job (at a time) from a job
> queue, it is important that a job should not be picked by more than
> one process.
>
> Is it possible to configure ActiveMQ to host this shared job queue and
> ensure that a job may only be picked only once?
>
> Any pointers to necessary material are welcome.
>
> Allan.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message