A connector can be stopped from either the system on which the connector is installed or the system on which the integration broker is installed. Several methods are available to stop a connector, as follows:
From Windows
From UNIX
From a UNIX system, use the following command.
where option is one of the following options:
Table 9. connector_manager command stopping options
Option | Description |
---|---|
- stopgraceful |
Invokes a java utility from the connector-agent side to stop the connector agent. However, if the automatic restart feature is on, the connector agent will restart itself again. |
-stop |
Invokes a java utility that stops the connector agent, so even if the automatic restart feature is on, the connector agent will be forced to shut down. |
-kill | Kills the operating-system process for the connector agent. Use this if other methods fail to stop the connector. |
From either Windows or UNIX systems, you can issue the mqsiremotestopadapter command at the command line on the integration broker from the system on which the integration broker is installed if the WebSphere Business Integration Adapters Utility has been installed.
mqsiremotestopadapter brokerName -c adapterName -n adapterQueue [-h hostName] [-p port] [-q adapterQueueManager]
For details refer to the following section, Mqsiremotestopadapter command line parameters.
Required Parameters
Optional Parameters