Stopping a connector

Several methods are available to stop a connector, as follows:

For details refer to the following section, "Mqsiremotestopadapter command line parameters".

Mqsiremotestopadapter command line parameters

Required parameters

brokerName
The name of the WebSphere message broker with which the adapter is communicating.
-c adapterName
Identifies the name of the adapter to shutdown.
-n adapterQueue
The name of the WebSphere MQ queue monitored by the adapter for a shutdown message.

Optional parameters

-h hostName
The name or IP address of the machine where the WebSphere MQ Queue Manager, specified with -q parameter, is running (defaults to the local machine).
-p port
The port on which the WebSphere MQ Queue Manager, specified with the -q parameter, is listening for incoming requests. The default value is 1414.
-q adapterQueueManager
Specifies the WebSphere MQ Queue Manager that is being used by the adapter. The queue identified by the -n parameter must be managed by this Queue Manager. This Queue Manager is located on the same machine as the adapter.
Note:
Although parameters -h, -p, and -q are listed as optional, it is expected that they will normally be specified. The expectation is that the Adapters Utility will be run on the machine where the broker is installed, it will be directed at the machine where the adapter is installed. It is likely, but not required, that these be different machines.

Copyright IBM Corp. 1997, 2003