Put sample program for TUXEDO

 

This sample allows you to put a message on a queue multiple times, in batches, demonstrating syncpointing using TUXEDO as the resource manager. The sample server program amqstxsx must be running for the put sample to succeed; the server sample program connects to the queue manager and uses the XA interface. To run the sample enter:

For example:

This puts 30 messages onto the queue named myqueue, in six batches, each with five messages in it. If there are any problems it backs a batch of messages out, otherwise it commits them.

Any error messages are written to the TUXEDO log file and to stderr. Any reason codes are written to stderr.

 

Parent topic:

TUXEDO samples


fg17880_