Home

 

Putting from a queue manager outside a cluster

 

Figure 1. Putting from a queue manager outside the cluster

Let us consider how the queue manager that is outside the cluster can put a message to the queue Q2 at QM2, which is inside the cluster.

The queue manager outside the cluster (QM3 in Figure 1) must have a QREMOTE definition for each queue in the cluster that it wants to put messages to. For example:

DEFINE QREMOTE(Q2) RNAME(Q2) RQMNAME(QM2) XMITQ(QM1)
We can see this remote queue on QM3 in Figure 1.

Because QM3 is not part of a cluster, it must communicate using distributed queuing techniques. Therefore, it must also have a sender channel and a transmission queue to QM1. QM1 needs a corresponding receiver channel. The channels and transmission queues are not shown explicitly in Figure 1.

When an application at QM3 issues an MQPUT call to put a message to Q2, the QREMOTE definition causes the message to be routed through the gateway queue manager QM1.

 

Parent topic:

Examples of using aliases within clusters


qc10830_


 

Home