Suppose you have a queue manager
SERVER23QM on the server
SAMPLEHOST,
listening on port
8082. You have an application
SERVICEX that
accesses this queue manager, and wants to refer to the queue manager as
SERVICEXQM.
This can be achieved using an alias for the queue manager as follows:
- Configure a connection on the SERVER23QM :
- Connection Name/Target queue manager:
- SERVICEXQM
- Description:
- Alias definition to enable SERVER23QM to receive messages
sent to SERVICEXQM
- Channel:
- "null"
- Network Adapter:
- "null"
- Network adapter options:
- "null"
- Create a local queue on the SERVER23QM queue manager:
- Queue Name:
- SERVICEXQ
- Queue Manager:
- SERVER23QM
The server-side application takes messages from this queue,
and process them, sending messages back to the client.
an MQe application can now put messages to the
SERVICEXQ on
either the
SERVER23QM queue manager, or the
SERVICEXQM queue
manager. In either case, the message will arrive on the
SERVICEXQ.