April 2002
Intermediate to advanced
318 pages
6h 58m
English
Local resource manager transactions can be started by setting the syncpoint participation in the ImqPutMessages or ImqGetMessageOptions classes.
ImqPutMessageOptions pmo; //This starts a local resource manager transaction pmo.setSyncPointParticipation(TRUE); pqueue.put(msg,pmo); or ImqGetMessageOptions gmo; //This starts a local resource manager transaction gmo.setSyncPointParticipation(TRUE); pqueue.get(msg,gmo);
The ImqQueueManager object provides the transaction management interfaces required to begin, commit or rollback distributed transactions with this API.
A distributed transaction starts with a ImqQueueManager begin method call. Any operation within a transaction begin and end call is part of the transaction. ...
Read now
Unlock full access