TsgcWSPClient_AMQP › Events › OnAMQPBasicRecoverOk
Fires when the server confirms that unacknowledged messages have been redelivered (basic.recover-ok).
property OnAMQPBasicRecoverOk: TsgcAMQPBasicRecoverOkEvent;
// TsgcAMQPBasicRecoverOkEvent = procedure(Sender: TObject; const aChannel: string) of object
—
Raised in response to a call to BasicRecover. Every unacknowledged message on aChannel has been either requeued (and will be delivered again to a consumer) or simply redelivered to the original consumer, depending on the Requeue flag used on the request. After this event the channel is back to a clean state for acknowledgement tracking.
procedure TForm1.oAMQPAMQPBasicRecoverOk(Sender: TObject;
const aChannel: string);
begin
DoLog('#AMQP Recover completed on ' + aChannel);
end;