Sample server program for TUXEDO

The sample server program (amqstxsx) is designed to run with the Put (amqstxpx.c) and the Get (amqstxgx.c) sample programs. The sample server program runs automatically when TUXEDO is started.

Note: 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
A diagram showing how clients running the Get and Put sample programs communicate with the Server sample program which in turn communicates with IBM MQ.