This discussion is archived
1 Reply Latest reply: Jun 11, 2013 8:55 PM by Vinay Krishnan RSS

Reading JMS message with highest priority

989780 Newbie
Currently Being Moderated
Hi ,
I am using weblogic 9.2 MP3.
I am sending message(xml) to JMS queue with different priority. I want the highest priority msg to be picked first by consumer.

What I am doing -
1. Currently No consumer is listening ,so that all the message get stuck in JMS queue
2. Then I am posting xmls in JMS queue with default priority(4) first
3. Then posting few xml with Priority 9.

Now I am reading the JMS queue using java client but I am NOT getting the priority 9 message first .
Rather I am getting the message in FIFO order.
What to be done to read message as per priority ?


  • Correct Answers - 10 points
  • Helpful Answers - 5 points