|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
How to set Priority in WMB? |
« View previous topic :: View next topic » |
Author |
Message
|
diaozuxin |
Posted: Sun Jun 27, 2010 11:27 pm Post subject: How to set Priority in WMB? |
|
|
Newbie
Joined: 27 Jun 2010 Posts: 5
|
Now I want to set a priority on the message, e.g, if a message contains string "United Kindom", I will set the priority of this message to a number 7,
but I have some puzzle here, if I set the priority just on the message , what should I do next? Judge the proirity in the WMB compute node , or just let WMQ to do priority work?
Any one have good suggestion on this kind scenario? welcome your advice. |
|
Back to top |
|
 |
vmcgloin |
Posted: Mon Jun 28, 2010 2:41 am Post subject: |
|
|
Knight
Joined: 04 Apr 2002 Posts: 560 Location: Scotland
|
|
Back to top |
|
 |
zpat |
Posted: Mon Jun 28, 2010 3:30 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Use the WMB MQHeader node to set the priority value.
MQ will automatic present higher priority messages to the application that does an unconditional MQGET, before lower priority ones.
You can also set priority without MQMD programming using the default priority value on alias queues (referring to the same target queue). |
|
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
|
|
|
|