Interface IExactlyOnceStrategy
The strategy used to guarantee that each message is consumed only once.
Namespace: Silverback.Messaging.Inbound.ExactlyOnce
Assembly: Silverback.Integration.dll
Syntax
public interface IExactlyOnceStrategyMethods
| Improve this doc View sourceBuild(IServiceProvider)
Returns the actual strategy implementation, built using the provided IServiceProvider.
Declaration
IExactlyOnceStrategyImplementation Build(IServiceProvider serviceProvider)Parameters
| Type | Name | Description | 
|---|---|---|
| IServiceProvider | serviceProvider | The IServiceProvider to be used to build the strategy. | 
Returns
| Type | Description | 
|---|---|
| IExactlyOnceStrategyImplementation | An instance of IExactlyOnceStrategyImplementation that can be used to produce the messages. |