TsgcWSPClient_AMQPMethods › DisableChannel

DisableChannel Method

Pauses message flow on a channel (channel.flow active=false).

Syntax

procedure DisableChannel(const aChannel: string);

Parameters

NameTypeDescription
aChannelconst stringName of the open AMQP channel on which the operation is issued.

Remarks

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.

Example

sgcWSPClient_AMQP1.DisableChannel('ch1');

Back to Methods