TsgcWSPClient_AMQPMethods › RecoverAsync

RecoverAsync Method

Asynchronous redeliver-all request (basic.recover-async), no broker confirmation.

Syntax

procedure RecoverAsync(const aChannel: string; aRequeue: Boolean = false);

Parameters

NameTypeDescription
aChannelconst stringName of the open AMQP channel on which the operation is issued.
aRequeueBooleanWhen True the broker puts the message/messages back on the queue; when False they are discarded or dead-lettered.

Remarks

Historic AMQP 0-9 fire-and-forget variant of basic.recover. Preserved for compatibility; most brokers prefer Recover / RecoverEx.

Example

sgcWSPClient_AMQP1.RecoverAsync('ch1', True);

Back to Methods