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 » IBM MQ Java / JMS » Custom priority for MQMD

Post new topic  Reply to topic
 Custom priority for MQMD « View previous topic :: View next topic » 
Author Message
msunil
PostPosted: Thu Oct 25, 2007 12:44 pm    Post subject: Custom priority for MQMD Reply with quote

Newbie

Joined: 25 Oct 2007
Posts: 3

Hello all,
one of our application requires message priorities from 0-99. Is there a way to change the maximum priority available from 9 to 99? I figured even though you set the MQMD.Priority to 76, WMQ treats all the messages that has priority more than 9 as proiority 9. But I want the application to pickup the messages in the priority order that was set in MQMD.priority.

Thanks
S
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Oct 25, 2007 12:59 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

No.

MAXPRTY is 9.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Oct 25, 2007 1:05 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Well.

Hrm.

Quote:
If a message is put with a priority greater than the maximum supported by the local queue manager (this maximum is given by the MaxPriority queue-manager attribute), the message is accepted by the queue manager, but placed on the queue at the queue manager's maximum priority; the MQPUT or MQPUT1 call completes with MQCC_WARNING and reason code MQRC_PRIORITY_EXCEEDS_MAXIMUM. However, the Priority field retains the value specified by the application that put the message.


So you should be able to set a priority greater than 9, and have the message retain this.

However, all messages at priority greater than 9 will be treated as the same priority.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
msunil
PostPosted: Thu Oct 25, 2007 1:08 pm    Post subject: Reply with quote

Newbie

Joined: 25 Oct 2007
Posts: 3

Thanks for your replyb Jeff. If that is the case then can we change MaxPriority attribute of the queue-manager to 99 or the default max priority for the WMQ product itself is 9?

Thanks
S
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Oct 25, 2007 1:36 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

msunil wrote:
Thanks for your replyb Jeff. If that is the case then can we change MaxPriority attribute of the queue-manager to 99 or the default max priority for the WMQ product itself is 9?

Thanks
S

The field is read only. The max priority of the product is 9.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Custom priority for MQMD
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.