Author |
Message
|
scravr |
Posted: Thu Jan 28, 2010 6:37 am Post subject: WMB V7: Promoted Properties |
|
|
 Partisan
Joined: 03 Apr 2003 Posts: 391 Location: NY NY USA 10021
|
HI to ALL,
We have a Main-Flow using 4 Sub-Flows.
Each sub flow was developed by individual developer. The sub flows have few promoted properties (like: queue names, email address, etc.)
As Admin, I need to promote the Main Flow from DEV to other environments (UAT, QA, PROD, etc.) while changing promoted values based on deployed env.
How can I figure out what properties to change in each sub-flow + main flow, and what are the original values?
Is their a command-line (or some other easy way) to find what properties have been promoted?
I am trying to use ANT and put all in PROPERTIES file.
Thanks for assisting. |
|
Back to top |
|
 |
nathanw |
Posted: Thu Jan 28, 2010 7:04 am Post subject: |
|
|
 Knight
Joined: 14 Jul 2004 Posts: 550
|
Personally I would ensure that the the queue names are the same no matter what the environment!!!
The same for email addresses unless writing to a specific system address for each environment
Whay would you have differing queue names in each environment, if the response is teh naming convenmtion for each environment then use alias queues withing the flows and each mq enviornemnt would be useable as the changes are carried out in MQ not broker _________________ Who is General Failure and why is he reading my hard drive?
Artificial Intelligence stands no chance against Natural Stupidity.
Only the User Trace Speaks The Truth  |
|
Back to top |
|
 |
mqjeff |
Posted: Thu Jan 28, 2010 7:05 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
There isn't an external interface for querying a BAR file to find out what the available properties are.
The mqsiapplybaroverrides command is the supported mechanism for setting configurable properties on a bar file.
The broker.xml file in the BAR file metadata directory does contain this information. However it is not supported to read or update this file directly... That doesn't mean it can't be done, and it is just an XML file. But you won't too far with a PMR.
Tell your development team to create the properties file for the development environment, so that you can adjust and reset the values to the correct values for your different environments. |
|
Back to top |
|
 |
scravr |
Posted: Thu Jan 28, 2010 7:11 am Post subject: |
|
|
 Partisan
Joined: 03 Apr 2003 Posts: 391 Location: NY NY USA 10021
|
I wish IBM can comeup with a new command line to inquire promoted properties within a BAR.
That will make admin life somewhat easy. |
|
Back to top |
|
 |
mqjeff |
Posted: Thu Jan 28, 2010 7:54 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
|
Back to top |
|
 |
mqmatt |
Posted: Thu Jan 28, 2010 8:40 am Post subject: |
|
|
 Grand Master
Joined: 04 Aug 2004 Posts: 1213 Location: Hursley, UK
|
Oh yeah....
Also, there are classes in the CMP to discover these properties too. |
|
Back to top |
|
 |
|