Class TopologyRecoveryExceptionHandler
Custom logic for handling topology recovery exceptions that match the specified filters.
Inherited Members
Namespace: RabbitMQ.Client
Assembly: RabbitMQ.Client.dll
Syntax
public class TopologyRecoveryExceptionHandler
Properties
| Edit this page View SourceBindingRecoveryExceptionCondition
Decides which binding recovery exceptions the custom exception handler is applied to. Default condition applies the exception handler to all binding recovery exceptions.
Declaration
public Func<IRecordedBinding, Exception, bool> BindingRecoveryExceptionCondition { get; set; }
Property Value
Type | Description |
---|---|
Func<IRecordedBinding, Exception, bool> |
BindingRecoveryExceptionHandler
Retries, or otherwise handles, an exception thrown when attempting to recover a binding.
Declaration
public Action<IRecordedBinding, Exception, IConnection> BindingRecoveryExceptionHandler { get; set; }
Property Value
Type | Description |
---|---|
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.
Declaration
public Func<IRecordedConsumer, Exception, bool> ConsumerRecoveryExceptionCondition { get; set; }
Property Value
Type | Description |
---|---|
Func<IRecordedConsumer, Exception, bool> |
ConsumerRecoveryExceptionHandler
Retries, or otherwise handles, an exception thrown when attempting to recover a consumer.
Declaration
public Action<IRecordedConsumer, Exception, IConnection> ConsumerRecoveryExceptionHandler { get; set; }
Property Value
Type | Description |
---|---|
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.
Declaration
public Func<IRecordedExchange, Exception, bool> ExchangeRecoveryExceptionCondition { get; set; }
Property Value
Type | Description |
---|---|
Func<IRecordedExchange, Exception, bool> |
ExchangeRecoveryExceptionHandler
Retries, or otherwise handles, an exception thrown when attempting to recover an exchange.
Declaration
public Action<IRecordedExchange, Exception, IConnection> ExchangeRecoveryExceptionHandler { get; set; }
Property Value
Type | Description |
---|---|
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.
Declaration
public Func<IRecordedQueue, Exception, bool> QueueRecoveryExceptionCondition { get; set; }
Property Value
Type | Description |
---|---|
Func<IRecordedQueue, Exception, bool> |
QueueRecoveryExceptionHandler
Retries, or otherwise handles, an exception thrown when attempting to recover a queue.
Declaration
public Action<IRecordedQueue, Exception, IConnection> QueueRecoveryExceptionHandler { get; set; }
Property Value
Type | Description |
---|---|
Action<IRecordedQueue, Exception, IConnection> |