+

Search Tips | Advanced Search

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 manager PISA 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 on OTHERQ at PISA, create a remote-queue definition on VENICE 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.

Parent topic: Routing messages to and from clusters


Related concepts


Related tasks

Last updated: 2020-10-04