Re: Priority queue/semantics of consumer priority

2008-02-12 Thread Roger Hoover
That would get the messages into their respective queues. I still need a solution for the STOMP consumers to subscribe to multiple queues and process messages from them in priority order. I think the select() based approach I mentioned previously will work. I wanted to see if there were other o

Re: Priority queue/semantics of consumer priority

2008-02-12 Thread ttmdev
Oops, sorry. When I saw this statement, I thought you wanted a message routed to a particular queue based on its priority. "Put the messages with different priorities into different queues" If that is the case, then I think you can have the broker - using composite destinations and selectors - a

Re: Priority queue/semantics of consumer priority

2008-02-12 Thread Roger Hoover
Thanks, Joe. I'm not sure content-based routing would do what I'm looking for (maybe you can explain further). I'd like the same group of consumers to process messages with different priorities but to give preference in the order of processing to higher priority messages. On Feb 12, 2008 11:01 AM

Re: Priority queue/semantics of consumer priority

2008-02-12 Thread ttmdev
I would say the answer to your first question is 'yes'. Sounds like you're implementing a content-based routing pattern. If you can't use Camel to implement the pattern, then consider configuring the broker with composite destinations in combination with a selector to let the broker do the rou

Re: Priority queue/semantics of consumer priority

2008-02-12 Thread Roger Hoover
Thanks for the link, Joe. So it looks like consumer priority is used by the broker to determine which subscriber to choose as the exclusive consumer? Does AMQ support message priorities? This ticket would suggest the answer is no (http://issues.apache.org/activemq/browse/AMQ-122) Does anyone hav

Re: Priority queue/semantics of consumer priority

2008-02-12 Thread ttmdev
Hi Roger, I'd disregard the consumer priority feature; it does not function as described in the consumer priority page. Here's the exclusive consumer web page. http://activemq.apache.org/exclusive-consumer.html Joe www.ttmsolutions.com Roger Hoover wrote: > > I want to implement a