Starting and stopping a broker on Windows

The following steps show you how to start and stop a broker.

  1. Run the <install_dir>/bin/mqsiprofile command to set up the environment for a single targeted runtime. You must do this before you can run any of the WebSphere Event Broker commands.
  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. Check the Application Log of the Windows Event Viewer to ensure that the broker has initialized successfully.

  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