Table of Contents

Interface IBackOffDelayPolicy

Namespace
RabbitMQ.AMQP.Client
Assembly
RabbitMQ.AMQP.Client.dll

Interface for the backoff delay policy. Used during the recovery of the connection.

public interface IBackOffDelayPolicy

Properties

CurrentAttempt

int CurrentAttempt { get; }

Property Value

int

Methods

Delay()

Get the next delay in milliseconds.

int Delay()

Returns

int

IsActive()

Define if the backoff delay policy is active. Can be used to disable the backoff delay policy after a certain number of retries. or when the user wants to disable the backoff delay policy.

bool IsActive()

Returns

bool

Reset()

Reset the backoff delay policy.

void Reset()