TsgcWSPClient_STOMP_RabbitMQMethods › AbortTransaction

AbortTransaction Method

Rolls back a transaction started with BeginTransaction.

Syntax

procedure AbortTransaction(const aTransaction: String);

Parameters

NameTypeDescription
aTransactionconst StringIdentifier of the transaction previously opened with BeginTransaction.

Remarks

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.

Example

sgcRabbitMQ.AbortTransaction('tx-1');

Back to Methods