Create the sender channel on the source queue manager, the channel is used to connect to the target queue manager.
Before you begin
To create a channel that uses TLS, follow the instructions
in Creating the channels to use TLS.
This can be done afterward if you want to test the solution without
TLS security.
About this task
Start the MQSC interface to administer objects that are connected to the queue manager and create the sender channel. This channel is used to connect to the target queue manager called QM2.
Procedure
-
On the command-line, type:
After a confirmation message, the tool is ready to accept commands.
-
Create the sender channel, called TO.QM2. In the MQSC interface, type:
DEFINE CHANNEL(TO.QM2) CHLTYPE(SDR) CONNAME(' remoteHost ') TRPTYPE(TCP) XMITQ(QM2)
Note: The variable remoteHost is the host name or IP address of the target queue manager.
The sender channel is created.
What to do next
To create the distributed queue manager topology, follow the instructions in Creating the distributed queue manager topology.