WebSphere MQ Adapter 6.5 | webMethods WebSphere MQ Adapter Documentation | webMethods WebSphere MQ Adapter Installation and User’s Guide Documentation | About the WebSphere MQ Adapter | Associating Connections and Adapter Services | Programmatically Change the Connection Associated with an Adapter Service at Design Time
 
Programmatically Change the Connection Associated with an Adapter Service at Design Time
At design time you can use a built-in service to change the connection associated with an adapter service. This built-in service is named pub.art.service:setAdapterServiceNodeConnection. Using this function, you can change the specific connection associated with an adapter service at design time so that you do not need to configure and maintain multiple adapter services.
Note:
This built-in service can be run at design time only; do not use it within an Integration Server flow or Java service. You must run this service directly from Designer by selecting the service and running it.
This method permanently changes the properties of a connection.
For details about built-in services, see the webMethods Integration Server Built-In Services Reference for your release.