Stopping a connector

To stop a connector, issue the mqsiremotestoptadapter command at the command line on the machine where the WebSphere Business Integration Adapters Utility is installed.

Note:
The SupportPac, IO02: WebSphere Business Integration Adapters Utility, must have been installed to make this command available. For more information, see Installing WebSphere Business Integration Adapters for Windows.

The syntax for the command is:

mqsiremotestopadapter WAS -c adapterName-n adapterQueue [-h hostName] [-p port] 
[-q adapterQueueManager]

Required parameters

-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