activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <>
Subject Re: Using different consumer priorities in the same connection
Date Wed, 09 Jan 2008 22:20:45 GMT
On 09/01/2008, qwidjibo <> wrote:
> Hi All.
> I'd like to have many (potentially hundreds or more) message listeners in
> the same VM listening to different queues.
> The problem is that I'd like a number of those to be listening at different
> priorities. Looking at the JMS spec as well as the amq implementation, it
> looks like the consumer priority is established for the connection as a
> whole, not the individual session or subscription.
> Are there any ways around this? I can imagine engineering solutions (e.g.
> maintaining a set of connections , one for each priority level in use), but
> that seems likely to introduce a fair deal of unwanted complexity. My main
> concern here is bloating the number of threads in the AMQ instance
> it does have a habit of creating a few for each connection.

You can configure consumer priority on a per consumer basis using
destination URIs

Open Source Integration

View raw message