Home

 

Replying from a queue manager outside the cluster

 

So that QM3 can send replies to the queue managers inside the cluster, it must have a queue-manager alias for each queue manager in the cluster with which it needs to communicate. This queue-manager alias must specify the name of the gateway through which messages are to be routed, that is, the name of the transmission queue to the gateway queue manager. In this example, QM3 needs a queue manager alias definition for QM2:

DEFINE QREMOTE(QM2) RNAME(' ') RQMNAME(QM2) XMITQ(QM1)

QM3 also needs a sender channel and transmission queue to QM1 and QM1 needs a corresponding receiver channel.

The application (app3) on QM3 can then send replies to QM2, by issuing an MQPUT call and specifying the queue name (Q2) and the queue manager name (QM2).

 

Parent topic:

Examples of using aliases within clusters


qc10890_


 

Home