For a broker running on a remote queue manager
For operation with a broker running on a remote queue manager, further setup is required.
- 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.
- 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.
- Set up the local queue manager for communication with the remote broker:
- Define a local transmission queue with the same name as the queue manager running the remote broker.
- 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.
- To operate the remote broker, take the following steps:
- Start the remote broker queue manager.
- Start a listener for the remote broker queue manager (TCP/IP channels).
- Start the sender and receiver channels to the local queue manager.
- Start the broker on the remote queue manager.
An example command is
strmqbrk -m MyBrokerMgr
- To operate the local queue manager to communicate with the remote broker, take the following steps:
- Start the local queue manager.
- Start a listener for the local queue manager.
- Start the sender and receiver channels to the remote broker queue manager.
uj10660_