TsgcWSPClient_AMQP › Methods › CommitTransactionEx
Commits the transaction synchronously and returns True on tx.commit-ok.
function CommitTransactionEx(const aChannel: string; aTimeout: Integer = CS_AMQP_DEFAULT_TIMEOUT): Boolean;
| Name | Type | Description |
|---|---|---|
aChannel | const string | Name of the open AMQP channel on which the operation is issued. |
aTimeout | Integer | Maximum time in milliseconds to wait for the broker confirmation before returning False. |
True when the broker confirmed the commit within aTimeout. (Boolean)
Extended synchronous variant of CommitTransaction. Blocks until tx.commit-ok is received from the broker or aTimeout elapses.
sgcWSPClient_AMQP1.CommitTransactionEx('ch1');