On Tue, Sep 30, 2008 at 9:21 AM, James Strachan <[EMAIL PROTECTED]> wrote: > 2008/9/30 Bruce Snyder <[EMAIL PROTECTED]>: >> On Tue, Sep 30, 2008 at 8:52 AM, my_forum <[EMAIL PROTECTED]> 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)[EMAIL PROTECTED]&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/