|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
WMB-> Change properties |
« View previous topic :: View next topic » |
Author |
Message
|
broker_new |
Posted: Tue Mar 09, 2010 7:24 am Post subject: WMB-> Change properties |
|
|
 Yatiri
Joined: 30 Nov 2006 Posts: 614 Location: Washington DC
|
Hi Guys,
For calling an external web service we use User/Passwd credentials they keep on changing for every 3 months. So i started using a properties file and load them once and whenever it changes i used to update the file and bounce the broker. Just trying to find is there a way to change these parameters without touching the broker runtime except putting them in database?
I read in the forum from our master's posting "mqmatt" about the "String Based UDP" where the properties can be updated without touching the broker runtime. any information on that will be greatly appreciated
http://www.mqseries.net/phpBB/viewtopic.php?t=49818&highlight=string+based+udp
 _________________ IBM ->Let's build a smarter planet |
|
Back to top |
|
 |
mqmatt |
Posted: Tue Mar 09, 2010 8:05 am Post subject: |
|
|
 Grand Master
Joined: 04 Aug 2004 Posts: 1213 Location: Hursley, UK
|
UDPs are just a way of assigning additional properties to a message flow, the values of which are accessible from within ESQL and Java. Each UDP has a type (String, boolean, Date etc.)
They are generally set at deployment time (using the deployment descriptor), although as of V6.1.0.3 String-based UDPs can be set programmatically using a CMP method: MessageFlowProxy.setUserDefinedProperty().
More info here: http://publib.boulder.ibm.com/infocenter/wmbhelp/v7r0m0/topic/com.ibm.etools.mft.doc/ac00643_.htm |
|
Back to top |
|
 |
student |
Posted: Tue Mar 09, 2010 8:51 am Post subject: |
|
|
 Apprentice
Joined: 17 Mar 2009 Posts: 31 Location: UK
|
You may use shared variable for userid/passwd and update them using a dummy flow. Dummy flow would read a message containing new passwd. |
|
Back to top |
|
 |
mqmatt |
Posted: Tue Mar 09, 2010 9:07 am Post subject: |
|
|
 Grand Master
Joined: 04 Aug 2004 Posts: 1213 Location: Hursley, UK
|
Maybe, but given that the password only changes every three months, another flow might be over-engineering in this case. An Ant script or similar might be sufficient. |
|
Back to top |
|
 |
broker_new |
Posted: Wed Mar 10, 2010 12:26 am Post subject: |
|
|
 Yatiri
Joined: 30 Nov 2006 Posts: 614 Location: Washington DC
|
I accept, think about 100 message flows on a single broker runtime.
In that case if we are using other flow for updating the UDP or Shared variables..etc, think about the manual process involved, more chances of making the mistakes. We have to read the message for all the 100 flows.  _________________ IBM ->Let's build a smarter planet |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|