Creating the message channel using IBM MQ Explorer
Procedure
-
On the receiving queue manager QM_APPLE, create the receiver end of the
channel:
- In the Navigator view, expand the queue manager QM_APPLE that you created earlier.
- Right-click the Channels folder, then click New > Receiver Channel. The New Receiver Channel wizard opens.
- In the Name field, type QM_ORANGE.QM_APPLE
- Click Finish. You have now created the receiver channel on the receiving machine.
-
On the sending queue manager QM_ORANGE, create the sender end of the
channel:
- Expand the queue manager QM_ORANGE that you created earlier.
- Right-click the Channels folder, then click New > Sender Channel. The New Sender Channel wizard opens.
- In the Name field, type QM_ORANGE.QM_APPLE, then click Next.
-
In the Connection name field, type the computer name or IP address of
the receiving machine (you should already have obtained this with your system administrator's
help).
If the default port number 1414 was not used when creating QM_APPLE, the Connection name field
entry should be of the format:
con-name(port)
Where con-name is the computer name or IP address of the receiving machine, and port is the port number used when the receiving queue manager was set up. - In the Transmission queue field, type QM_APPLE The transmission queue name you enter here must match the name you entered for the transmission queue in Creating the queues on the sending queue manager.
- Click Finish.
- Click the Channels folder.
- Right-click QM_ORANGE.QM_APPLE.
- From the pop-up menu, click Start.
- Click OK. You have now created the sender channel on the sending machine. Note: You do not have to start the receiver channel because it started automatically when you set up the sender channel (when you set up the sender channel, you specified the receiver channel's IP address).