Monday, March 15, 2010

Modify the Integration module promoted properties using jython script

IBM tech note shows how to modify the promoted properties;


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.


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


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 [[,"="]]]')