TsgcWSPClient_AMQPMethods › CommitTransaction

CommitTransaction Method

Commits the current transaction on a channel (tx.commit).

Syntax

procedure CommitTransaction(const aChannel: string);

Parameters

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

Remarks

Flushes all publications and acknowledgements queued since the last SelectTransaction to the broker atomically.

Example

sgcWSPClient_AMQP1.CommitTransaction('ch1');

Back to Methods