Monday, March 15, 2010

Modify the Integration module promoted properties using jython script

IBM tech note shows how to modify the promoted properties;

Question

You want to change properties of mediation primitive at runtime. You need the Jython example to deploy a mediation module EAR file and modify the promoted properties using the wsadmin command.

Answer

The relevant Jython would contain the following:
AdminTask.modifySCAModuleProperty('[-moduleName -propertyName "" -newPropertyValue ]')

where:

is the name of the module
and are the property group and alias specified in WebSphere Integration Developer
is the new property value

You should also specify new properties during application installation using wsadmin using the following:

AdminApp.install('/path/to/Module.ear', '[-SIBSCAClientInstall [[,"="]]]')



http://www-01.ibm.com/support/docview.wss?uid=swg21423231&myns=swgws&mynp=OCSS7J6S&mync=E