For Configuration 1:
- Start queue managers QMG1, QMG2 and QMG3.
- Start channel initiators for QMG2 and QMG3.
- Start the listeners on QMG1, QMG2 and QMG3 to listen on ports 1414, 1415
and 1416, respectively.
- Start sender channel(s) on QMG1, QMG2 and QMG3.
- Start the payroll query requesting application connected to QMG1.
- Start the payroll server application connected to QMG3.
- Submit a payroll query request to QMG3 and wait for the payroll
reply.
For Configuration 2:
- Start queue managers QMG1, QMG2, and QMG3.
- Start the channel initiator for QMG2.
- Start the listeners on QMG1, QMG2 to listen on ports 1414 and 1415,
respectively.
- Start the sender channel on QMG1 and QMG2.
- Start the payroll query requesting application connected to QMG1.
- Start the payroll server application connected to QMG3.
- Submit a payroll query request to QMG3 and wait for the payroll
reply.
For Configuration 3:
- Start queue managers QMG1, QMG2 and QMG3.
- Start the channel initiator for QMG2.
- Start the listeners on QMG1, QMG2 to listen on ports 1414 and 1415,
respectively.
- Start sender channels on QMG1 and QMG2.
- Start the payroll query requesting application connected to QMG1.
- Start the payroll server application connected to QMG3.
- Submit a payroll query request to QMG3 and wait for the payroll
reply.
The example can be:
- Expanded to make use of channel triggering as well as application (PAYROLL
and PAYROLL.REPLY queue) triggering.
- Configured for communication using LU6.2.
- Expanded to configure more queue managers to the queue sharing
group. Then the server application can be cloned to run on other queue
manager instances to provide multiple servers for the PAYROLL query
queue.
- Expanded to increase the number of instances of the payroll query
requesting application to demonstrate the processing of requests from multiple
clients.
- Expanded to make use of security (IGQAUT and IGQUSER).
© IBM Corporation 2002. All Rights Reserved