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