Table of Contents

Interface IOutboxWriterFactory

Namespace
Silverback.Messaging.Producing.TransactionalOutbox
Assembly
Silverback.Integration.dll

Builds an IOutboxWriter instance according to the provided OutboxSettings.

public interface IOutboxWriterFactory

Methods

GetWriter(OutboxSettings, IServiceProvider)

Returns an IOutboxWriter according to the specified settings.

IOutboxWriter GetWriter(OutboxSettings settings, IServiceProvider serviceProvider)

Parameters

settings OutboxSettings

The settings that will be used to create the IOutboxWriter.

serviceProvider IServiceProvider

The IServiceProvider that can be used to resolve additional services.

Returns

IOutboxWriter

The IOutboxWriter.