Using remote queue definitions as aliases
Overview
In addition to locating a queue on another queue manager, you can also use a local definition of a remote queue for both:
- Queue manager aliases
- Reply-to queue aliases
Both types of alias are resolved through the local definition of a remote queue.
You must set up the appropriate channels for the message to arrive at its destination.
Queue manager aliases
An alias is the process by which the name of the target queue manager, as specified in a message, is modified by a queue manager on the message route. Queue manager aliases are important because you can use them to control the destination of messages within a network of queue managers.
You do this by altering the remote queue definition on the queue manager at the point of control. The sending application is not aware that the queue manager name specified is an alias.
Reply-to queue aliases
Optionally, an application can specify the name of a reply-to queue when it puts a request message on a queue.
If the application that processes the message extracts the name of the reply-to queue, it knows where to send the reply message, if required.
A reply-to queue alias is the process by which a reply-to queue, as specified in a request message, is altered by a queue manager on the message route. The sending application is not aware that the reply-to queue name specified is an alias.
A reply-to queue alias lets you alter the name of the reply-to queue and optionally its queue manager. This in turn lets you control which route is used for reply messages.