Home

 

Use a queue manager alias

 

On the gateway queue manager define a queue manager alias called, for example, ANY.CLUSTER:

DEFINE QREMOTE(ANY.CLUSTER) RNAME(' ') RQMNAME(' ')

This maps any response to the queue manager ANY.CLUSTER to null, which means the QREMOTE definition in the queue manager outside the cluster can use the queue manager name ANY.CLUSTER instead of having to use the exact queue manager name. Therefore, on the queue manager outside the cluster, the definition:

DEFINE QREMOTE(Q2) RNAME(Q2) RQMNAME(ANY.CLUSTER) XMITQ(QM1)
would cause messages to go to QM1 initially, and from there to be routed to any queue manager in the cluster that hosts the cluster queue Q2.

 

Parent topic:

Putting from a queue manager outside the cluster - alternative techniques


qc10860_


 

Home