MQSeries Programming Patterns
by Mark Perry, Manesh Balachandran, Jorge Plata, Paul Solano, Phillip Thomas
4.7. Transaction management
In order for the messages sent and received by AMI to be part of a transactional unit of work, the syncpoint attribute of the policy must be specified by the administrator using the AMI administration tool. By default, the syncpoint attribute is set to off. This attribute can be found in the General tab of the policy definition.
The API calls used to control the transaction depend on the type of transaction that is being used. There are two different scenarios:
When the only resource is the MQSeries message:
In this scenario, the transaction is started by the first message sent or received under syncpoint control, as specified in the policy for the send or receive objects. Multiple messages can be included in the same ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access