TsgcWSPClient_AMQP › Methods › DisableChannelEx
Pauses message flow on a channel synchronously and returns True on broker confirmation.
function DisableChannelEx(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 flow change within aTimeout. (Boolean)
Extended synchronous variant of DisableChannel. Waits for channel.flow-ok before returning.
sgcWSPClient_AMQP1.DisableChannelEx('ch1');