General Description
A Picture that Explains Everything . . . Almost
Administrative Tasks
Programmer's Tasks
Transaction Management
Handling Reply Messages
Error Handling
Summary
Introduction
Sample Program in Appendix A
Configuration
Specifying the QM Server Group
Specifying the Message Queue Server
Queue Space Names, Queue Names, and Service Names
Specifying the Message Forwarding Server
Dynamic Configuration
Creating Queue Space and Queues
Working with qmadmin Commands
Creating an Entry in the Universal Device List: crdl
Creating a Queue Space: qspacecreate
Creating a Queue: qcreate
Maintenance of the BEA TUXEDO System/Q Feature
Adding Extents to a Queue Space
Backing Up or Moving Queue Space
Moving the Queue Space to a Different Type of Machine
TMQFORWARD and Non-Global Transactions
TMQFORWARD and Commit Control
Handling Transaction Timeout
TMQFORWARD and Retries for an Unavailable Service
Prerequisite Knowledge
Where Requests Can Originate
Emphasis on the Default Case
Enqueuing Messages
Command Line Arguments, tpenqueue(3)
The TPQCTL Structure
Setting a Dequeuing Time
tpenqueue() and Transactions
Dequeuing Replies
Command Line Arguments, tpdequeue
Using TPQWAIT
Error Handling
A Procedure for Dequeuing Replies
Sequential Processing of Messages
Using Queues to Transfer Anything
Prerequisite Knowledge
Where Requests Can Originate
Emphasis on the Default Case
Enqueuing Messages
Command Line Arguments, TPENQUEUE(3)
The TPQUEDEF-REC Structure
Setting a Dequeuing Time
TPENQUEUE and Transactions
Dequeuing Replies
Command Line Arguments, TPDEQUEUE(3)
TPDEQUEUE: the QSPACE-NAME in TPQUEDEF-REC Argument
Using TPQWAIT
Error Handling
A Procedure for Dequeuing Replies
Sequential Processing of Messages
Using Queues to Transfer Anything
What This Appendix Is About
Some Preliminaries
The qsample Application
Suggestions for Further Exploration
setenv: Setting the Environment
makefile: Make Your Application
ubb.sample: The ASCII Configuration File
crlog: Create the Transaction Log
crque: Create the Queue Space and Queues
Boot, Run, and Shut Down the Application
Clean Up