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
VENICE
sends a message to queue managerPISA
using 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
QUEUE
can be received onOTHERQ
atPISA
, create a remote-queue definition onVENICE
that 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.