|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
message priority and the receive method in JMS |
« View previous topic :: View next topic » |
Author |
Message
|
Kirthi |
Posted: Thu Feb 19, 2004 11:47 am Post subject: message priority and the receive method in JMS |
|
|
Newbie
Joined: 19 Feb 2004 Posts: 1
|
Hi,
I have an EJB application on UNIX which reads messages from an IBM Mq Series queue. It uses the receive method to read from the queue, so basically the session that is created initially is locked. The problem I am facing is that if messages of different priorities are written to the queue, only the message with the highest priority gets picked up.
For eg. We tried with 7 messages with priorities 9,8,7,6,5,4,3 each, the message with priority 3 was picked up. After this we posted the same set again but none of the messages were picked up. We tried again with with 8 messages with the last one having priority 2 which was picked up.
After all this when we restarted our application, all the messages were picked up.
What could the problem be ? Any clues ? _________________ Thanks and Regards,
Kirthi |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|