tibemsXAResource_Rollback

Function

Purpose

Roll back a transaction.

C Declaration

tibems_status tibemsXAResource_Rollback(
    tibemsXAResource xaResource,
    XID* xid );

COBOL Call

CALL "tibemsXAResource_Rollback"
     USING BY VALUE xaResource,
           BY REFERENCE xid,
           RETURNING tibems-status
END-CALL.
Note: xaResource and xid have usage pointer.

Parameters

Parameter Description
xaResource Roll back in this resource.
xid Roll back this transaction.

Remarks

Messages sent to a queue with prefetch=none and maxRedelivery=number properties are not received number times by an EMS application that receives in a loop and does an XA rollback after the XA prepare phase.