Interface IExactlyOnceStrategyBuilder
Builds the IExactlyOnceStrategy.
Namespace: Silverback.Messaging.Configuration
Assembly: Silverback.Integration.dll
Syntax
public interface IExactlyOnceStrategyBuilder
Methods
| Improve this doc View sourceLogMessages()
Creates a LogExactlyOnceStrategy that uses an IInboundLog to keep track of each processed message and guarantee that each one is processed only once.
Declaration
IExactlyOnceStrategyBuilder LogMessages()
Returns
Type | Description |
---|---|
IExactlyOnceStrategyBuilder | The IExactlyOnceStrategyBuilder so that additional calls can be chained. |
StoreOffsets()
Creates an OffsetStoreExactlyOnceStrategy that uses an IOffsetStore to keep track of the latest processed offsets and guarantee that each message is processed only once.
Declaration
IExactlyOnceStrategyBuilder StoreOffsets()
Returns
Type | Description |
---|---|
IExactlyOnceStrategyBuilder | The IExactlyOnceStrategyBuilder so that additional calls can be chained. |