3 Replies Latest reply on Oct 5, 2007 10:14 AM by Adrian Brock

    Does setJMSPriority() actually do anything?

    homer homer Newbie

      JBoss 4.2.1.GA with JBossMQ.

      I have a stateless session bean that puts a bunch of messages on the JMS queue. It is setting the priority of each message (setJMSPriority) to various ints from 0-10. However, the consumer of the message is getting the messages in the same order that they are put on the queue regardless of priority. Am I missing something here? Shouldn't the higher priority messages come off the queue first?