Running the Distribution List sample, amqsptl0
The Distribution List sample runs in a similar way to the Put samples. It takes the following parameters:
- The names of the queues
- The names of the queue managers
These values are entered as pairs. For example:
amqsptl0 queue1 qmanagername1 queue2 qmanagername2The queues are opened using MQOPEN and messages are put to the queues using MQPUT. Reason codes are returned if any of the queue or queue manager names are not recognized.
Remember to define channels between queue managers so that messages can flow between them. The sample program does not do that for you.
Parent topic:
The Distribution List sample program
fg17210_