Forget Transaction
Purpose
Forgets an XA transaction branch which is heuristically completed.URI
Use the Eclipse Amlen REST API POST method with the following Eclipse Amlen configuration URI:
http://<admin-endpoint-IP:Port>/ima/v1/service/forget/transaction/
Object configuration data
Provide object configuration data in the payload of the POST method by using the following schema. Content-type is set to application/json.
{
"XID": "string"
}
where- XID
- Specifies the XA transaction branch identifier (XID) of the transaction branch to forget. The XID includes the format identifier, the branch qualifier and the global transaction identifier of the XA transaction.
Usage NotesĀ®
- The command must be capitalized as shown.
- The command must use the double quotation marks as shown.
Related Commands
Example
The following example uses cURL to forget an XAtransaction branch with the XID of 57415344:0000014247FEBB3D000000012008CC78A1A981840C3350B9E2:00000001:
curl -X POST \
-H 'Content-Type: application/json' \
-d '{
"XID": "57415344:0000014247FEBB3D000000012008CC78A1A981840C3350B9E2:00000001"
}
' \
http://127.0.0.1:9089/ima/v1/service/forget/transaction/
An
example response to the
method:
{
"Version": "v1",
"Code": "CWLNA6011",
"Message": "The requested configuration change has completed successfully."
}