Interface IOutboxWriterFactory
Builds an IOutboxWriter instance according to the provided OutboxSettings.
Namespace: Silverback.Messaging.Producing.TransactionalOutbox
Assembly: Silverback.Integration.dll
Syntax
public interface IOutboxWriterFactory
Methods
GetWriter(OutboxSettings, IServiceProvider)
Returns an IOutboxWriter according to the specified settings.
Declaration
IOutboxWriter GetWriter(OutboxSettings settings, IServiceProvider serviceProvider)
Parameters
| Type | Name | Description |
|---|---|---|
| OutboxSettings | settings | The settings that will be used to create the IOutboxWriter. |
| IServiceProvider | serviceProvider | The IServiceProvider that can be used to resolve additional services. |
Returns
| Type | Description |
|---|---|
| IOutboxWriter | The IOutboxWriter. |