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: Message selectors + MDB
Date Tue, 30 Sep 2008 15:21:38 GMT
2008/9/30 Bruce Snyder <bruce.snyder@gmail.com>:
> On Tue, Sep 30, 2008 at 8:52 AM, my_forum <my_forum@ukr.net> wrote:
>
>
>> Thanks for your reply!
>> After some investigation I found out that message selectors is not actually
>> what I need.
>> I want to support dynamic number of priorities and working with selectors I
>> will have to create "one bean declaration per priority".
>
> Yes, that's correct.
>
>> After reading through the forum I see that QM below 5.1 does not support
>> queue priorities,
>
> I'm not sure what you mean by queue priority. ActiveMQ has always
> supported the JMSPriority property on a message because it comes
> directly from the JMS spec.

ActiveMQ doesn't reorder messages in priority order


>
>> So I installed MQ 5.1 to my geronimo server and the only
>> thing left to be done is to set up the JMS resource with
>> oldestMessageWithLowestPriorityEvictionStrategy.
>
> Make sure that's what you want for sure as a message eviction strategy
> is going to discard messages (i.e., delete them).

Though eviction is only really for topics, not queues

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

Open Source Integration
http://open.iona.com

Mime
View raw message