activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bruce Snyder" <bruce.sny...@gmail.com>
Subject Re: Message selectors + MDB
Date Tue, 30 Sep 2008 15:31:25 GMT
On Tue, Sep 30, 2008 at 9:21 AM, James Strachan
<james.strachan@gmail.com> wrote:
> 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

Whoops, I forgot about priority queues.

>>> 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

Thanks for the clarifications, James!

Bruce
-- 
perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

Apache ActiveMQ - http://activemq.org/
Apache Camel - http://activemq.org/camel/
Apache ServiceMix - http://servicemix.org/

Blog: http://bruceblog.org/

Mime
View raw message