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 User Defined Properties from CMP API Exerciser

Post new topic  Reply to topic
 Changing User Defined Properties from CMP API Exerciser « View previous topic :: View next topic » 
Author Message
mqceries
PostPosted: Tue Jul 24, 2012 2:57 pm    Post subject: Changing User Defined Properties from CMP API Exerciser Reply with quote

Acolyte

Joined: 02 Dec 2011
Posts: 70

Broker : 6.1.110

Environment : Windows Server 2008.

HI all,

We are trying to modify the User defined property from CMP API Exerciser. When i do right click on the flow from the execution group and select "Set User Defined property" Entering the values and Submit the following message is being displayed at the bottom
Quote:

" Warning : Yo uhave made changes that will require a broker configuration deploy in order to take effect "


For this i am right clicking on broker and selection "Deploy broker configutation" and then the value is getting updated.

Now i have two questions, what are the effects this Step Deploy broker configurations. Was this advisable to use this at production once in a week or so.

Another thing i remember reading some where in red books that Changing UDP we have to restart either Broker or EG or Flow to get the update, but this is not happening.

Please correct me and advise me.

Thanks,
MC.
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Wed Jul 25, 2012 5:00 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

Do you have your source code in a version control system?
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
mqceries
PostPosted: Wed Jul 25, 2012 5:47 pm    Post subject: Reply with quote

Acolyte

Joined: 02 Dec 2011
Posts: 70

yes sir.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Thu Jul 26, 2012 4:43 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

It's great that you have your source code in a version control system.

That's great!

I'm sure it's completely solved your problem and answered all your questions, right?

No? It didn't?

There is some information on what "deploy broker configuration" means here.

There is some information on how to alter user defined properties using the CMP here.

Note that User Defined Properties are *not* the same thing as Promoted Properties.

You can't alter promoted properties or any message flow property that's *not* a user defined property without redeploying the flow.

If you read somewhere that you had to restart a Broker or EG to alter a User Defined Property, that very likely was for a previous version of Broker, and not applicable.

As to what is or is not reasonable to run in Production once a week or so, that depends entirely on your own site standards.

It's not unreasonable by some site standards to redeploy all flows and EGs once a week. Most Broker folk would cringe at that thought.
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Thu Jul 26, 2012 4:59 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

Well, at least he has the option of rebuilding the flow from the source code. It wasn't clear if he was trying to change runtime properties on an already deployed flow. Knowing that he has the source code, I would suggest rebuilding the message flow with the desired properties.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Thu Jul 26, 2012 5:01 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

lancelotlinc wrote:
Well, at least he has the option of rebuilding the flow from the source code. It wasn't clear if he was trying to change runtime properties on an already deployed flow. Knowing that he has the source code, I would suggest rebuilding the message flow with the desired properties.


Again, that seems a bit overkill.

Presumably he has his bar files in source control too, and can just alter the properties there and redeploy. It's mostly the same impact as altering them and doing the config deploy.
Back to top
View user's profile Send private message
mqceries
PostPosted: Thu Jul 26, 2012 2:51 pm    Post subject: Reply with quote

Acolyte

Joined: 02 Dec 2011
Posts: 70

Sorry my bad, i could have put the question more clear.

This is not realted to building flow or bar files. I just wanted to know it will be fine to use the Deploy Broker configuration from CMP API exerciser.

By changing the values for UDP, CMP API exerciser is asking to do this for the changes come into effect. We are looking for an option to change the user defined property at run time kind of dynamically with out redeploying bar file and all. Other chances being using Java property file or reading from database.

As other options will go and fetch the properties everytime, the flow we wanted to make chages processes more than 300k + messages everyday. so to give better usability we thought to use this option and wanted to make sure from the experts here since we never used this option before.

Again fellows, my question is to use Deploy Broker Configuration from CMP Api exerciser safe enough to change UDP other than bar file redeploy.

Thanks.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Fri Jul 27, 2012 5:28 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

mqceries wrote:
Again fellows, my question is to use Deploy Broker Configuration from CMP Api exerciser safe enough to change UDP other than bar file redeploy.


I posted a link that explained the impact.

I explained that 'safe enough' is not anything we can tell you, it depends entirely on site standards.

Also,
mqceries wrote:
We are looking for an option to change the user defined property at run time kind of dynamically with out redeploying bar file and all.


The behavior of changing UDPs and the impact therein is significantly changed in later releases of Broker. So if you upgrade NOW to v8, you won't have the same concerns.

And you'll also be better prepared for when 6.1 goes out of support.
Back to top
View user's profile Send private message
mqceries
PostPosted: Fri Jul 27, 2012 8:09 am    Post subject: Reply with quote

Acolyte

Joined: 02 Dec 2011
Posts: 70

thanks jeff, so from my understanding using Deploy Broker configuration from CMP API exerciser is kind of same as redeploying the bar file. which in this case by doing changes from CMP API and using that command the broker will check changes for all the EG compared to change UDP at bar file level and deploy only that file for deployment.

Thanks, please correct if i am wrong.
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 » Changing User Defined Properties from CMP API Exerciser
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.