The Credit Check sample with multiple queue managers
You can use the Credit Check sample application to demonstrate distributed
queuing by installing the sample on two queue managers and CICS systems
(with each queue manager connected to a different CICS system). When the
sample program is installed, and the trigger monitor (CKTI) is running on
each system, you need to:
- Set up the communication link between the two queue managers. For information
on how to do this, see WebSphere MQ Intercommunication.
- On one queue manager, create a local definition for each of the remote
queues (on the other queue manager) that you want to use. These queues can
be any of CSQ4SAMP.Bn.MESSAGES, where n is 3, 5, 6, or 7. (These are the queues that are served by the checking-account
program and the agency-query program.) For information on how to do this,
see the WebSphere MQ Script (MQSC) Command Reference.
- Change the definition of the namelist (CSQ4SAMP.B4.NAMELIST) so that it
contains the names of the remote queues that you want to use. For information
on how to do this, see the WebSphere MQ Script (MQSC) Command Reference.