Built-In Services for Connections
Integration Server provides built-in services that enable you to programmatically control connections. You can use them to enable and disable a connection, and to return usage statistics and the current state (Enabled or Disabled) and error status for a connection. These services are located in the WmART package, in the pub.art.connection folder.
The setAdapterServiceNodeConnection and setPollingNotificationNodeConnection built-in services enable you to change the connection associated with an adapter service or notification respectively.