Server sample program for TUXEDO
This sample server program (amqstxsx) is designed to run with the Put (amqstxpx.c) and the Get (amqstxgx.c) sample programs. The program runs automatically when TUXEDO is started.
You must start your queue manager before you start TUXEDO.
The sample server provides two TUXEDO services, MPUT1 and MGET1:
- The MPUT1 service is driven by the PUT sample and uses MQPUT1 in syncpoint to put a message in a unit of work controlled by TUXEDO. It takes the parameters QName and Message Text, which are supplied by the PUT sample.
- The MGET1 service opens and closes the queue each time that it gets a message. It takes the parameters QName and Message Text, which are supplied by the GET sample.
Any error messages, reason codes, and status messages are written to the TUXEDO log file.
Figure 1. How TUXEDO samples work together
Parent topic:
TUXEDO samples
fg17870_