I can't say much not knowing your use cases but perhaps deploying a multiple queue architecture might meet your requirements better then relying on queue priority. see http://activemq.apache.org/producer-flow-control.html on flow control.
The JMS spec does not require messages to be delivered strictly in order of priority and most JMS implementations don't allow one to make assumptions on the order of delivery other then high priority messages generally are delivered before low priority messages. The JMS spec reads: "JMS does not require that a provider strictly implement priority ordering of messages; however, it should do its best to deliver expedited messages ahead of normal messages." This gives providers room for implementations that don't starve out low priority messages but results in a degree of unpredictability. -clark http://www.ttmsolutions.com astlm wrote: > > Thank you very much for your reply. > > But these optios are not valid for my system. > I need order message by priority on real time and I have only one consumer > because the consumer send message another sistem wich it´s very slow. > > Any other idea? > When does active-mq implement the management of priorities from queue? > > This are ok on next versions? > > Thank you. > > > > > James.Strachan wrote: >> >> On 14 June 2010 12:52, astlm <monica.astudi...@tic.alten.es> wrote: >>> >>> Hello, >>> I'm starting to use ActiveMQ v5.3.2 and I need to prioritize messages >>> sent >>> whith several priorities. >>> I modify configuration´s brokers like this >>> <broker useJmx="true" useShutdownHook="false" >>> supportJMSPriority="true"> >>> And I establish message and sender priority >>> message.setJMSPriority(priority) >>> sender.setPriority(priority) >>> But activemq delivers message without priority. >>> I see https://issues.apache.org/activemq/browse/AMQ-122 and I would like >>> knowing if the error is solved. >>> >>> How can I use priority with activemq? >> >> There's an FAQ entry that describes 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/ >> >> > > -- View this message in context: http://old.nabble.com/Priority-message-tp28878604p28883793.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.