TsgcWSPClient_AMQP › Methods › SelectTransactionEx
Starts a transaction synchronously and returns True on tx.select-ok.
function SelectTransactionEx(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 tx.select within aTimeout. (Boolean)
Extended synchronous variant of SelectTransaction. Waits for tx.select-ok before returning.
sgcWSPClient_AMQP1.SelectTransactionEx('ch1');