Class ExactlyOnceStrategyBuilder
Builds the IExactlyOnceStrategy.
Implements
Inherited Members
Namespace: Silverback.Messaging.Configuration
Assembly: Silverback.Integration.dll
Syntax
public class ExactlyOnceStrategyBuilder : IExactlyOnceStrategyBuilder
Methods
| Improve this doc View sourceBuild()
Builds the IExactlyOnceStrategy instance.
Declaration
public IExactlyOnceStrategy Build()
Returns
Type | Description |
---|---|
IExactlyOnceStrategy | The IExactlyOnceStrategy. |
LogMessages()
Creates a LogExactlyOnceStrategy that uses an IInboundLog to keep track of each processed message and guarantee that each one is processed only once.
Declaration
public 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
public IExactlyOnceStrategyBuilder StoreOffsets()
Returns
Type | Description |
---|---|
IExactlyOnceStrategyBuilder | The IExactlyOnceStrategyBuilder so that additional calls can be chained. |