TsgcWSPClient_AMQPMethods › SelectTransaction

SelectTransaction Method

Starts a transaction on the channel (tx.select).

Syntax

procedure SelectTransaction(const aChannel: string);

Parameters

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

Remarks

Switches the channel to transactional mode. All publications and acknowledgements are then buffered on the broker until CommitTransaction or RollbackTransaction is issued.

Example

sgcWSPClient_AMQP1.SelectTransaction('ch1');

Back to Methods