2009/10/19 Christian Schneider <[email protected]>: > I would like to configure a jms endpoint so it will consume messages by > their priority. > For example it should first consume all messages with priority 0 before it > consumes the first message with priority 1. > > Is this possible and if yes how do I configure it?
I'd recommend using selectors; have some consumers just do high priority stuff and a smaller number of consumers process anything. Here's an FAQ detailing the various options... http://activemq.apache.org/how-can-i-support-priority-queues.html -- James ------- http://macstrac.blogspot.com/ Open Source Integration http://fusesource.com/
