|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
IBM MQ message Shorting |
« View previous topic :: View next topic » |
Author |
Message
|
sathsiva |
Posted: Thu May 07, 2015 4:16 am Post subject: IBM MQ message Shorting |
|
|
Centurion
Joined: 17 Jan 2006 Posts: 125
|
Hi,
My application is sending the priority 1, 2, 3 from the header level to IBM MQ. Now with in the MQ level How can i display the top priority messages. meaning I want to display the priority 1 in the top always, then priority 2, 3 in the another Q. Is it possible in IBM MQ?
Regards,
Sathish _________________ kcs |
|
Back to top |
|
 |
Vitor |
Posted: Thu May 07, 2015 4:24 am Post subject: Re: IBM MQ message Shorting |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
sathsiva wrote: |
Is it possible in IBM MQ? |
Of course. Setting the priority would be a bit pointless if higher priority messages didn't move to the top of the queue.
sathsiva wrote: |
How can i display the top priority messages |
Display the top messages in the queue. You don't mention what you're using to display them, so it's hard to be more detailed.
You do need to ensure:
- the priority "from the header level" is correctly set in the IBM header (MQMD). A priority value in any part of the payload won't have any effect
- the local queue the message is sitting on is configured to respect message priority, rather than simply hold messages FIFO. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu May 07, 2015 6:09 am Post subject: Re: IBM MQ message Shorting |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
sathsiva wrote: |
Hi,
My application is sending the priority 1, 2, 3 from the header level to IBM MQ. Now with in the MQ level How can i display the top priority messages. meaning I want to display the priority 1 in the top always, then priority 2, 3 in the another Q. Is it possible in IBM MQ?
Regards,
Sathish |
And if memory serves correctly the highest priority is 9 and the lowest is 0.
So no, priority 1 will always be displayed AFTER any higher priority messages if the delivery mode of the queue is set to priority...  _________________ MQ & Broker admin |
|
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
|
|
|
|