See information about the latest product version
Starting and stopping a broker on Windows
Run the appropriate command to start or stop a broker.
- Open the WebSphere® Message
Broker command
console. When you open the console, it sets up the environment
that you need to run the WebSphere Message
Broker commands.
If you prefer, you can run the install_dir/bin/mqsiprofile command to set up the environment.
- To start a broker, enter the following command on the command
line:
mqsistart MB8BROKER
Substitute your own broker name for MB8BROKER.
You can also request that the broker queue manager is started as a Windows service. Refer to Starting a WebSphere MQ queue manager as a Windows service.
The broker and its associated queue manager are started. The command initiates the startup of the broker's Windows service.
Check the Application Log in the Event Viewer to ensure that the broker has initialized successfully. The log contains messages about verification procedures; if all tests are successful, only an initial start message is recorded. If one or more verification tests are unsuccessful, the log also includes messages that provide details of the tests that have failed. If errors have been reported, review the messages and take the suggested actions to resolve these problems.
- To stop a broker, enter the following command on the command
line:
mqsistop MB8BROKER
Substitute your own broker name for MB8BROKER.
You can also request that the broker queue manager is stopped by this command. Refer to Stopping a WebSphere MQ queue manager when you stop a broker.