When you have created the required objects, you must:
- Start the channel initiator for both queue managers
- Start the listener for both queue managers
The applications can then send messages to each other. Because the
channels are triggered to start by the arrival of the first message on each
transmission queue, you do not need to issue the START CHANNEL MQSC
command.
For details about starting a channel initiator see Starting a channel initiator, and for details about starting a listener see Starting a channel listener.
This example can be expanded by:
- Adding more queue, and channel definitions to allow other applications to
send messages between the two queue managers.
- Adding user exit programs on the channels to allow for link encryption,
security checking, or additional message processing.
- Using queue manager aliases and reply-to queue aliases to understand more
about how these can be used in the organization of your queue manager
network.
© IBM Corporation 2002. All Rights Reserved