TsgcWSPClient_STOMP_RabbitMQ › Methods › CommitTransaction
Commits a transaction started with BeginTransaction.
procedure CommitTransaction(const aTransaction: String);
| Name | Type | Description |
|---|---|---|
aTransaction | const String | Identifier of the transaction previously opened with BeginTransaction. |
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.
sgcRabbitMQ.CommitTransaction('tx-1');