Namespace Silverback.Messaging.Consuming.ErrorHandling
Classes
- ErrorPolicyBase
Builds the error policy.
- ErrorPolicyCallbackInvocationException
The exception that wraps the exception thrown by an IErrorPolicyCallback.
- ErrorPolicyChain
A chain of error policies to be sequentially applied.
- ErrorPolicyImplementation
An error policy is used to handle errors that may occur while processing the inbound messages.
- MoveMessageErrorPolicy
This policy moves the message that failed to be processed to the configured endpoint.
- RetryErrorPolicy
This policy retries to process the message that previously failed to be to processed. An optional delay can be specified.
- SkipMessageErrorPolicy
This policy skips the message that failed to be processed.
- StopConsumerErrorPolicy
This is the default policy and it stops the consumer when an exception is thrown during the message processing.
Interfaces
- IErrorPolicy
An error policy is used to handle errors that may occur while processing the inbound messages.
- IErrorPolicyCallback
The marker interface implemented by all interfaces declaring the error policy callbacks.
- IErrorPolicyImplementation
An error policy is used to handle errors that may occur while processing the inbound messages.
- IMoveMessageErrorPolicyCallback
Declares the OnMovingMessageAsync(IRawInboundEnvelope, Exception) callback.
- IRetryErrorPolicyCallback
Declares the OnRetryingMessageAsync(IRawInboundEnvelope, Exception) callback.
- ISkipMessageErrorPolicyCallback
Declares the OnSkippingMessageAsync(IRawInboundEnvelope, Exception) callback.
- IStopConsumerErrorPolicyCallback
Declares the OnStoppingConsumerAsync(IRawInboundEnvelope, Exception) callback.