+

Search Tips | Advanced Search

Create the receiver channel

Create the receiver channel for the target queue manager to enable communication between the source and target queue managers.


Before starting

To create a channel that uses TLS, follow the instructions in Create the channels to use TLS. This can be done afterward if we want to test the solution without TLS security.


About this task

Use the MQSC interface to create a receiver channel that is managed by QM2.


Procedure

  1. On the command-line, type:
    runmqsc QM2
    
    After a confirmation message, the tool is ready to accept commands.
  2. Create a receiver channel called TO.QM2. The channel must have the same name as the sender channel on the source queue manager. In the MQSC interface, type:
    DEFINE CHANNEL(TO.QM2) CHLTYPE(RCVR) TRPTYPE(TCP)
    
    The receiver channel is created.


What to do next

To start the sender channel on the source queue manager, that in turn initiates the receiver channel on the target queue manager, ollow the instructions in Starting the sender channel. Parent topic: Create the distributed queue manager topology Previous topic: Create the queue Next topic: Starting the sender channel

Last updated: 2020-10-04