TsgcWSPClient_STOMP_RabbitMQMethods › CommitTransaction

CommitTransaction Method

Commits a transaction started with BeginTransaction.

Syntax

procedure CommitTransaction(const aTransaction: String);

Parameters

NameTypeDescription
aTransactionconst StringIdentifier of the transaction previously opened with BeginTransaction.

Remarks

Sends a COMMIT frame to RabbitMQ. All SEND, ACK and NACK frames previously buffered under aTransaction are applied atomically. After commit the transaction identifier must not be reused.

Example

sgcRabbitMQ.CommitTransaction('tx-1');

Back to Methods