TsgcWSPClient_AMQP › Methods › DisableChannel
Pauses message flow on a channel (channel.flow active=false).
procedure DisableChannel(const aChannel: string);
| Name | Type | Description |
|---|---|---|
aChannel | const string | Name of the open AMQP channel on which the operation is issued. |
Sends channel.flow to the broker with the active flag cleared, asking it to stop sending new deliveries on this channel. Use EnableChannel to resume.
sgcWSPClient_AMQP1.DisableChannel('ch1');