2009/2/16 Luana87 <l.fiorit...@live.it>: > > Hello, > I'm starting to use ActiveMQ v5.2.0 and I need to prioritize messages sent > from only one producer. > I am wondering which the correct way is. > In particular I would like to understand which the difference is between > message.setJMSPriority(priority) and sender.setPriority(priority) where > message is a ActiveMQTextMessage and sender is a QueueSender.
See this FAQ entry... http://activemq.apache.org/how-can-i-support-priority-queues.html -- James ------- http://macstrac.blogspot.com/ Open Source Integration http://fusesource.com/