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 ?
Not sure if you still need help over this. But you can use Destination Sorting Key in the JMS Module where your queue is created and chose the sequencing as "Descending" to get the highest priority messages out of the queue first.