TsgcWSPClient_STOMP_RabbitMQ › Methods › AbortTransaction
Rolls back a transaction started with BeginTransaction.
procedure AbortTransaction(const aTransaction: String);
| Name | Type | Description |
|---|---|---|
aTransaction | const String | Identifier of the transaction previously opened with BeginTransaction. |
Sends an ABORT frame. Every SEND, ACK and NACK buffered under aTransaction is discarded and the broker will redeliver unacknowledged messages according to its redelivery policy.
sgcRabbitMQ.AbortTransaction('tx-1');