TsgcWSPClient_AMQPMethods › RollbackTransaction

RollbackTransaction Method

Rolls back the current transaction on a channel (tx.rollback).

Syntax

procedure RollbackTransaction(const aChannel: string);

Parameters

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

Remarks

Discards all publications and acknowledgements queued since the last SelectTransaction; the broker state is reverted as if they had never happened.

Example

sgcWSPClient_AMQP1.RollbackTransaction('ch1');

Back to Methods