TsgcWSPClient_AMQPMethods › OpenChannel

OpenChannel Method

Opens a new AMQP channel with the specified name (channel.open).

Syntax

procedure OpenChannel(const aChannel: string);

Parameters

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

Remarks

A channel is a lightweight virtual connection multiplexed over the TCP/WebSocket link. All AMQP operations (declare, publish, consume…) run inside a channel. Channel names are local identifiers used by this component to refer to the underlying AMQP channel-id.

Example

sgcWSPClient_AMQP1.OpenChannel('ch1');

Back to Methods