Author |
Message
|
mqceries |
Posted: Tue Jul 24, 2012 2:57 pm Post subject: Changing User Defined Properties from CMP API Exerciser |
|
|
 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 |
|
 |
lancelotlinc |
Posted: Wed Jul 25, 2012 5:00 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
|
Back to top |
|
 |
mqceries |
Posted: Wed Jul 25, 2012 5:47 pm Post subject: |
|
|
 Acolyte
Joined: 02 Dec 2011 Posts: 70
|
|
Back to top |
|
 |
mqjeff |
Posted: Thu Jul 26, 2012 4:43 am Post subject: |
|
|
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 |
|
 |
lancelotlinc |
Posted: Thu Jul 26, 2012 4:59 am Post subject: |
|
|
 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 |
|
 |
mqjeff |
Posted: Thu Jul 26, 2012 5:01 am Post subject: |
|
|
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 |
|
 |
mqceries |
Posted: Thu Jul 26, 2012 2:51 pm Post subject: |
|
|
 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 |
|
 |
mqjeff |
Posted: Fri Jul 27, 2012 5:28 am Post subject: |
|
|
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 |
|
 |
mqceries |
Posted: Fri Jul 27, 2012 8:09 am Post subject: |
|
|
 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 |
|
 |
|