Class StopConsumerErrorPolicy
This is the default policy and it stops the consumer when an exception is thrown during the message processing.
Implements
Inherited Members
Namespace: Silverback.Messaging.Inbound.ErrorHandling
Assembly: Silverback.Integration.dll
Syntax
public class StopConsumerErrorPolicy : ErrorPolicyBase, IErrorPolicy
Methods
| Improve this doc View sourceBuildCore(IServiceProvider)
Returns the actual error policy implementation, built using the provided
IService
Declaration
protected override ErrorPolicyImplementation BuildCore(IServiceProvider serviceProvider)
Parameters
Type | Name | Description |
---|---|---|
IService |
serviceProvider | The IService |
Returns
Type | Description |
---|---|
Error |
An instance of IError |