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 ...

Get MQSeries Programming Patterns now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.