Table of Contents

Class TopologyRecoveryExceptionHandler

Namespace
RabbitMQ.Client
Assembly
RabbitMQ.Client.dll

Custom logic for handling topology recovery exceptions that match the specified filters.

public class TopologyRecoveryExceptionHandler
Inheritance
TopologyRecoveryExceptionHandler
Inherited Members

Constructors

TopologyRecoveryExceptionHandler()

public TopologyRecoveryExceptionHandler()

Properties

BindingRecoveryExceptionCondition

Decides which binding recovery exceptions the custom exception handler is applied to. Default condition applies the exception handler to all binding recovery exceptions.

public Func<IRecordedBinding, Exception, bool> BindingRecoveryExceptionCondition { get; set; }

Property Value

Func<IRecordedBinding, Exception, bool>

BindingRecoveryExceptionHandler

Retries, or otherwise handles, an exception thrown when attempting to recover a binding.

public Action<IRecordedBinding, Exception, IConnection> BindingRecoveryExceptionHandler { get; set; }

Property Value

Action<IRecordedBinding, Exception, IConnection>

ConsumerRecoveryExceptionCondition

Decides which consumer recovery exceptions the custom exception handler is applied to. Default condition applies the exception handler to all consumer recovery exceptions.

public Func<IRecordedConsumer, Exception, bool> ConsumerRecoveryExceptionCondition { get; set; }

Property Value

Func<IRecordedConsumer, Exception, bool>

ConsumerRecoveryExceptionHandler

Retries, or otherwise handles, an exception thrown when attempting to recover a consumer.

public Action<IRecordedConsumer, Exception, IConnection> ConsumerRecoveryExceptionHandler { get; set; }

Property Value

Action<IRecordedConsumer, Exception, IConnection>

ExchangeRecoveryExceptionCondition

Decides which exchange recovery exceptions the custom exception handler is applied to. Default condition applies the exception handler to all exchange recovery exceptions.

public Func<IRecordedExchange, Exception, bool> ExchangeRecoveryExceptionCondition { get; set; }

Property Value

Func<IRecordedExchange, Exception, bool>

ExchangeRecoveryExceptionHandler

Retries, or otherwise handles, an exception thrown when attempting to recover an exchange.

public Action<IRecordedExchange, Exception, IConnection> ExchangeRecoveryExceptionHandler { get; set; }

Property Value

Action<IRecordedExchange, Exception, IConnection>

QueueRecoveryExceptionCondition

Decides which queue recovery exceptions the custom exception handler is applied to. Default condition applies the exception handler to all queue recovery exceptions.

public Func<IRecordedQueue, Exception, bool> QueueRecoveryExceptionCondition { get; set; }

Property Value

Func<IRecordedQueue, Exception, bool>

QueueRecoveryExceptionHandler

Retries, or otherwise handles, an exception thrown when attempting to recover a queue.

public Action<IRecordedQueue, Exception, IConnection> QueueRecoveryExceptionHandler { get; set; }

Property Value

Action<IRecordedQueue, Exception, IConnection>