TsgcWSPClient_AMQPEvents › OnAMQPBasicRecoverOk

OnAMQPBasicRecoverOk Event

Fires when the server confirms that unacknowledged messages have been redelivered (basic.recover-ok).

Syntax

property OnAMQPBasicRecoverOk: TsgcAMQPBasicRecoverOkEvent;
// TsgcAMQPBasicRecoverOkEvent = procedure(Sender: TObject; const aChannel: string) of object

Default Value

Remarks

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.

Example

procedure TForm1.oAMQPAMQPBasicRecoverOk(Sender: TObject;
  const aChannel: string);
begin
  DoLog('#AMQP Recover completed on ' + aChannel);
end;

Back to Events