Starting and stopping a broker on Windows

Run the appropriate command to start or stop a broker.

  1. Start of changeOpen the WebSphere® Message Brokercommand console. When you open the console, it sets up the environment that you need to run any of the WebSphere Message Broker commands.

    If you prefer, you can run the install_dir/bin/mqsiprofile command to set up the environment.

    End of change
  2. To start a broker, enter the following command on the command line:
    mqsistart WBRK_BROKER

    Substitute your own broker name for WBRK_BROKER.

    You can also request that the broker's 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.

    Start of changeCheck the Application Log in the Event Viewer to ensure that the broker has initialized successfully. If errors have been reported, review the messages and take the suggested actions to resolve these problems.End of change

  3. To stop a broker, enter the following command on the command line:
    mqsistop WBRK_BROKER

    Substitute your own broker name for WBRK_BROKER.

    You can also request that the broker's queue manager is stopped by this command. Refer to Stopping a WebSphere MQ queue manager when you stop a component.

Related concepts
Brokers
Related tasks
Creating a broker on Windows
Starting a WebSphere MQ queue manager as a Windows service
Stopping a WebSphere MQ queue manager when you stop a component
Windows: Viewing the local error log
Related reference
mqsistart command
mqsistop command
Notices | Trademarks | Downloads | Library | Support | Feedback

Copyright IBM Corporation 1999, 2009Copyright IBM Corporation 1999, 2009.
Last updated : 2009-01-07 15:22:27

an04015_