TsgcWSPClient_AMQP › Methods › RecoverAsync
Asynchronous redeliver-all request (basic.recover-async), no broker confirmation.
procedure RecoverAsync(const aChannel: string; aRequeue: Boolean = false);
| Name | Type | Description |
|---|---|---|
aChannel | const string | Name of the open AMQP channel on which the operation is issued. |
aRequeue | Boolean | When True the broker puts the message/messages back on the queue; when False they are discarded or dead-lettered. |
Historic AMQP 0-9 fire-and-forget variant of basic.recover. Preserved for compatibility; most brokers prefer Recover / RecoverEx.
sgcWSPClient_AMQP1.RecoverAsync('ch1', True);