ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » How to set Priority in WMB?

Post new topic  Reply to topic
 How to set Priority in WMB? « View previous topic :: View next topic » 
Author Message
diaozuxin
PostPosted: Sun Jun 27, 2010 11:27 pm    Post subject: How to set Priority in WMB? Reply with quote

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
View user's profile Send private message
vmcgloin
PostPosted: Mon Jun 28, 2010 2:41 am    Post subject: Reply with quote

Knight

Joined: 04 Apr 2002
Posts: 560
Location: Scotland

Hi,

This will depend on why you are setting the message priority, but it is something you should let the MQ transport handle once the value is set assuming the MsgDeliverySequence is set appropriately on queues that this message passes through.

http://publib.boulder.ibm.com/infocenter/wmqv7/v7r0/topic/com.ibm.mq.csqzal.doc/fg10790_.htm

Cheers,
Vicky
Back to top
View user's profile Send private message
zpat
PostPosted: Mon Jun 28, 2010 3:30 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » How to set Priority in WMB?
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.