WebSphere Message Broker, Version 8.0.0.7 Operating Systems: AIX, HP-Itanium, Linux, Solaris, Windows, z/OS

See information about the latest product version

Creating a broker on Windows

On Windows, you can create brokers on the command line.

Before you start:

When you create a broker, if the WebSphere MQ queue manager does not exist, the queue manager is automatically created. If WebSphere MQ Version 7.1, or later, has been selected for the queue manager, the channel auth security is automatically disabled.

If the specified queue manager already exists when creating the broker, then it is assumed that the user has applied the appropriate security configuration to meet their requirements, and therefore channel auth security is not disabled.

To create a broker by using the command line, complete the following steps:

  1. Open a WebSphere Message Broker command prompt for the runtime installation in which you want to create the broker. For more information about initializing the runtime environment, see Command environment: Windows systems.

    On Windows 7 and Windows Server 2008 systems, you must open a command console with elevated privileges. To open a command console with elevated privileges, use the mqsicommandconsole command. For more information, see mqsicommandconsole command.

  2. The command mqsicreatebroker defaults to using the primary installation of WebSphere MQ, if present, for the creation of queue managers. If you want to use a non-primary installation of WebSphere MQ you must configure your environment by using the setmqenv script before running the mqsicreatebroker command. For more details see: WebSphere MQ Version 7.1 setmqenv.

    If you are creating a broker on a queue manager that already exists, there is no need to configure your WebSphere MQ environment.

  3. Use the mqsicreatebroker command to create the broker.
    For example, if you want to create a broker called MB8BROKER on a queue manager called MB8QMGR, enter the following command:
    mqsicreatebroker MB8BROKER -i wbrkuid -a wbrkpw -q MB8QMGR
    where wbrkuid and wbrkpw are the user name and password under which the broker runs.

    When you create a broker, the web user interface starts automatically on port 4414. You can disable the web user interface or change the port on which it runs by using the mqsichangeproperties command. If administration security is not enabled, web users can access the web user interface as a default user with unrestricted access to data and broker resources.

    For more information about the command options, see mqsicreatebroker command.

You have created a broker.

Next: Complete the following tasks:

  1. Start the broker by using the mqsistart command.
  2. Connect to the broker from the WebSphere Message Broker Toolkit or a CMP API application.

When you have completed these tasks, you can create the resources that you want to associate with the broker; for example message flows. You can create and work with resources by using either the WebSphere Message Broker Toolkit or the CMP API.

Notices | Trademarks | Downloads | Library | Support | Feedback

Copyright IBM Corporation 1999, 2016Copyright IBM Corporation 1999, 2016.

        
        Last updated:
        
        Last updated: 2016-05-23 14:46:57


Task topicTask topic | Version 8.0.0.7 | ae12720_