Table of Contents

Interface IRecoveryConfiguration

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

Interface for the recovery configuration.

public interface IRecoveryConfiguration

Methods

Activated(bool)

Define if the recovery is activated. If is not activated the connection will not try to reconnect.

IRecoveryConfiguration Activated(bool activated)

Parameters

activated bool

Returns

IRecoveryConfiguration

BackOffDelayPolicy(IBackOffDelayPolicy)

Define the backoff delay policy. It is used when the connection is trying to reconnect.

IRecoveryConfiguration BackOffDelayPolicy(IBackOffDelayPolicy backOffDelayPolicy)

Parameters

backOffDelayPolicy IBackOffDelayPolicy

Returns

IRecoveryConfiguration

GetBackOffDelayPolicy()

IBackOffDelayPolicy GetBackOffDelayPolicy()

Returns

IBackOffDelayPolicy

IsActivated()

bool IsActivated()

Returns

bool

IsTopologyActive()

bool IsTopologyActive()

Returns

bool

Topology(bool)

Define if the recovery of the topology is activated. When Activated the connection will try to recover the topology after a reconnection. It is valid only if the recovery is activated.

IRecoveryConfiguration Topology(bool activated)

Parameters

activated bool

Returns

IRecoveryConfiguration