You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by James Strachan <ja...@gmail.com> on 2007/06/07 13:08:23 UTC

Re: Queue consumer prioritizing

On 5/31/07, Atis <at...@gmail.com> wrote:
> Hello,
>
> I'm sending notifications trough ActiveMQ to web application (Ajax
> connector). What i would like to - is to set priorities regarding
> queue consumers. For example webpage 1 have low priority, webpage 2
> have high priority. User have been opened 2 instances of webpage 1 and
> 3 instances of webpage 2. So, i would like to receive message only by
> one instance of webpage 2.
>
> Is something like this natively supported by ActiveMQ?

For this kind of thing you can use selectors on your subscriptions to
only consume messages of a certain priority. Or use separate queues or
headers for different pages or whatnot.

-- 
James
-------
http://macstrac.blogspot.com/