Reply-to queue aliases and clusters
A reply-to queue alias definition is used to specify alternative names for reply information. Reply-to queue alias definitions can be used with clusters just the same as in a distributed queuing environment.
For example:
- An application at queue manager
VENICEsends a message to queue managerPISAusing the MQPUT call. The application provides the following reply-to queue information in the message descriptor:ReplyToQ='QUEUE' ReplyToQMgr='' - In order that replies sent to
QUEUEcan be received onOTHERQatPISA, create a remote-queue definition onVENICEthat is used as a reply-to queue alias. The alias is effective only on the system on which it was created.DEFINE QREMOTE(QUEUE) RNAME(OTHERQ) RQMNAME(PISA)
RQMNAME and QREMOTE can specify the same names, even if RQMNAME is itself a cluster queue manager.