For a broker running on a remote queue manager

 

For operation with a broker running on a remote queue manager, further setup is required.

  1. Define a transmission queue on the remote queue manager with a queue name matching the local queue manager. These names must match for correct routing of messages by WebSphere MQ.

  2. Define a sender channel on the remote queue manager and a receiver channel on the local queue manager. The sender channel should use the transmission queue defined in step 1.

  3. Set up the local queue manager for communication with the remote broker:

    1. Define a local transmission queue with the same name as the queue manager running the remote broker.

    2. Define local sender and remote receiver channels to the remote broker queue manager. The sender channel must use the transmission queue defined in step 3.a.

  4. To operate the remote broker, take the following steps:

    1. Start the remote broker queue manager.

    2. Start a listener for the remote broker queue manager (TCP/IP channels).

    3. Start the sender and receiver channels to the local queue manager.

    4. Start the broker on the remote queue manager.

      An example command is

      strmqbrk -m MyBrokerMgr

  5. To operate the local queue manager to communicate with the remote broker, take the following steps:

    1. Start the local queue manager.

    2. Start a listener for the local queue manager.

    3. Start the sender and receiver channels to the remote broker queue manager.


uj10660_