activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: Queue consumer prioritizing
Date Thu, 07 Jun 2007 11:08:23 GMT
On 5/31/07, Atis <atisss@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/

Mime
View raw message