Class LogExactlyOnceStrategy
Uses an IInboundLog to keep track of the processed message identifiers and guarantee that each message is processed only once.
Implements
Inherited Members
Namespace: Silverback.Messaging.Inbound.ExactlyOnce
Assembly: Silverback.Integration.dll
Syntax
public class LogExactlyOnceStrategy : IExactlyOnceStrategy
Methods
| Improve this doc View sourceBuild(IServiceProvider)
Returns the actual strategy implementation, built using the provided IServiceProvider.
Declaration
public 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. |