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 » WMB-> Change properties

Post new topic  Reply to topic
 WMB-> Change properties « View previous topic :: View next topic » 
Author Message
broker_new
PostPosted: Tue Mar 09, 2010 7:24 am    Post subject: WMB-> Change properties Reply with quote

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
View user's profile Send private message
mqmatt
PostPosted: Tue Mar 09, 2010 8:05 am    Post subject: Reply with quote

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
View user's profile Send private message
student
PostPosted: Tue Mar 09, 2010 8:51 am    Post subject: Reply with quote

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
View user's profile Send private message
mqmatt
PostPosted: Tue Mar 09, 2010 9:07 am    Post subject: Reply with quote

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
View user's profile Send private message
broker_new
PostPosted: Wed Mar 10, 2010 12:26 am    Post subject: Reply with quote

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
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 » WMB-> Change properties
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.