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 » Changing MAX message priority on qmgr [solved]

Post new topic  Reply to topic
 Changing MAX message priority on qmgr [solved] « View previous topic :: View next topic » 
Author Message
billybong
PostPosted: Mon Jun 23, 2008 1:53 am    Post subject: Changing MAX message priority on qmgr [solved] Reply with quote

Disciple

Joined: 22 Jul 2005
Posts: 150
Location: Stockholm, Sweden

Is there a way to change the max allowed MQ priority on the queue manager? We've ended up with messages that exceeds the maximum allowed which seems to cause problems with our broker flows.

Or, could I reset them all on the messages somehow?
Need advice asap if someone knows how.

Thanks guys!
_________________
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Integration Developer V6.0
IBM Certified System Administrator - WebSphere MQ V6.0
IBM Certified Solution Developer - WebSphere DataPower


Last edited by billybong on Tue Jun 24, 2008 1:04 am; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
Gaya3
PostPosted: Mon Jun 23, 2008 2:01 am    Post subject: Re: Changing MAX message priority on qmgr Reply with quote

Jedi

Joined: 12 Sep 2006
Posts: 2493
Location: Boston, US

billybong wrote:
Is there a way to change the max allowed MQ priority on the queue manager? We've ended up with messages that exceeds the maximum allowed which seems to cause problems with our broker flows.

Or, could I reset them all on the messages somehow?
Need advice asap if someone knows how.

Thanks guys!


1. Why the messages are getting piled up?
2. why its not getting feeded up?
3. setting priority should be taken care very carefully
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
billybong
PostPosted: Mon Jun 23, 2008 2:19 am    Post subject: Reply with quote

Disciple

Joined: 22 Jul 2005
Posts: 150
Location: Stockholm, Sweden

I dont know why the broker fails to read the messages, but after deploying flows that sets the priority to 0 and starting them no messages are picked up by the broker.

The priority was set by a sloppy broker developer (me... :-/)
_________________
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Integration Developer V6.0
IBM Certified System Administrator - WebSphere MQ V6.0
IBM Certified Solution Developer - WebSphere DataPower
Back to top
View user's profile Send private message Visit poster's website
fjb_saper
PostPosted: Mon Jun 23, 2008 3:07 am    Post subject: Reply with quote

Grand High Poobah

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

billybong wrote:
I dont know why the broker fails to read the messages, but after deploying flows that sets the priority to 0 and starting them no messages are picked up by the broker.

The priority was set by a sloppy broker developer (me... :-/)

You have to be careful when setting the priority. A 0 priority means the lowest priority. Messages not getting picked up is not necessarily a bad thing. It might just mean that the flow instances are busy with messages with higher priority and don't get to those with lower priority...
So check whether the EG is running the flow, whether the flow is active and doing work and finally whether adding instances of the flow(scaling) will solve your problem
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
billybong
PostPosted: Tue Jun 24, 2008 1:01 am    Post subject: Reply with quote

Disciple

Joined: 22 Jul 2005
Posts: 150
Location: Stockholm, Sweden

I found a solution to my problem.
With MQMON you can always unload the messages to a file and then use a text editor with a regexp search/replace and replace all

A PRI .+?
with
A PRI 0

Then you simply load the messages back again.

Didn't know it was that simple to change MQ headers with MQmon and a text editor. Might probably come in handy later on.
_________________
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Integration Developer V6.0
IBM Certified System Administrator - WebSphere MQ V6.0
IBM Certified Solution Developer - WebSphere DataPower
Back to top
View user's profile Send private message Visit poster's website
Gaya3
PostPosted: Tue Jun 24, 2008 1:04 am    Post subject: Reply with quote

Jedi

Joined: 12 Sep 2006
Posts: 2493
Location: Boston, US

do you agree that this is a good solution. its only a work around and a temperory fix.


its better if you do it logically so it wont happen or make you to change it manually.
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
billybong
PostPosted: Tue Jun 24, 2008 11:09 pm    Post subject: Reply with quote

Disciple

Joined: 22 Jul 2005
Posts: 150
Location: Stockholm, Sweden

Yes, its a fix for the messages that got stuck on the queues.

In order to fix the priorities being too high you of course have to redesign the flow, which I also did.

But the problem was that the messages got "stuck", and that fixed itself by lowering their priority value.
_________________
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Integration Developer V6.0
IBM Certified System Administrator - WebSphere MQ V6.0
IBM Certified Solution Developer - WebSphere DataPower
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Changing MAX message priority on qmgr [solved]
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.