Table of Contents

Class ConditionalRejectingErrorHandler

Namespace
Steeltoe.Messaging.RabbitMQ.Listener
Assembly
Steeltoe.Messaging.RabbitMQ.dll
public class ConditionalRejectingErrorHandler : IErrorHandler, IServiceNameAware
Inheritance
ConditionalRejectingErrorHandler
Implements
Inherited Members

Constructors

ConditionalRejectingErrorHandler(ILogger)

public ConditionalRejectingErrorHandler(ILogger logger = null)

Parameters

logger ILogger

ConditionalRejectingErrorHandler(IFatalExceptionStrategy, ILogger)

public ConditionalRejectingErrorHandler(IFatalExceptionStrategy exceptionStrategy, ILogger logger = null)

Parameters

exceptionStrategy IFatalExceptionStrategy
logger ILogger

Fields

DEFAULT_SERVICE_NAME

public const string DEFAULT_SERVICE_NAME = "ConditionalRejectingErrorHandler"

Field Value

string

Properties

DiscardFatalsWithXDeath

public virtual bool DiscardFatalsWithXDeath { get; set; }

Property Value

bool

RejectManual

public virtual bool RejectManual { get; set; }

Property Value

bool

ServiceName

public string ServiceName { get; set; }

Property Value

string

Methods

CauseChainContainsRRADRE(Exception)

protected virtual bool CauseChainContainsRRADRE(Exception exception)

Parameters

exception Exception

Returns

bool

HandleError(Exception)

public virtual bool HandleError(Exception exception)

Parameters

exception Exception

Returns

bool