Show / Hide Table of Contents

    Class BrokerOptionsBuilderAddInboundLogExtensions

    Adds the AddInboundLog and related methods to the IBrokerOptionsBuilder.

    Inheritance
    object
    BrokerOptionsBuilderAddInboundLogExtensions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Microsoft.Extensions.DependencyInjection
    Assembly: Silverback.Integration.dll
    Syntax
    public static class BrokerOptionsBuilderAddInboundLogExtensions

    Methods

    | Improve this doc View source

    AddInMemoryInboundLog(IBrokerOptionsBuilder)

    Adds the necessary services to enable the LogExactlyOnceStrategy storing the messages identifiers in memory.

    The LogExactlyOnceStrategy stores uses an IInboundLog to keep track of to keep track of each processed message and guarantee that each one is processed only once.

    Declaration
    public static IBrokerOptionsBuilder AddInMemoryInboundLog(this IBrokerOptionsBuilder brokerOptionsBuilder)
    Parameters
    Type Name Description
    IBrokerOptionsBuilder brokerOptionsBuilder

    The IBrokerOptionsBuilder that references the IServiceCollection to add the services to.

    Returns
    Type Description
    IBrokerOptionsBuilder

    The IBrokerOptionsBuilder so that additional calls can be chained.

    | Improve this doc View source

    AddInboundLogDatabaseTable(IBrokerOptionsBuilder)

    Adds the necessary services to enable the LogExactlyOnceStrategy using a database table as store.

    The LogExactlyOnceStrategy stores uses an IInboundLog to keep track of to keep track of each processed message and guarantee that each one is processed only once.

    Declaration
    public static IBrokerOptionsBuilder AddInboundLogDatabaseTable(this IBrokerOptionsBuilder brokerOptionsBuilder)
    Parameters
    Type Name Description
    IBrokerOptionsBuilder brokerOptionsBuilder

    The IBrokerOptionsBuilder that references the IServiceCollection to add the services to.

    Returns
    Type Description
    IBrokerOptionsBuilder

    The IBrokerOptionsBuilder so that additional calls can be chained.

    | Improve this doc View source

    AddInboundLog<TInboundLog>(IBrokerOptionsBuilder)

    Adds the necessary services to enable the LogExactlyOnceStrategy.

    The LogExactlyOnceStrategy stores uses an IInboundLog to keep track of to keep track of each processed message and guarantee that each one is processed only once.

    Declaration
    public static IBrokerOptionsBuilder AddInboundLog<TInboundLog>(this IBrokerOptionsBuilder brokerOptionsBuilder) where TInboundLog : class, IInboundLog
    Parameters
    Type Name Description
    IBrokerOptionsBuilder brokerOptionsBuilder

    The IBrokerOptionsBuilder that references the IServiceCollection to add the services to.

    Returns
    Type Description
    IBrokerOptionsBuilder

    The IBrokerOptionsBuilder so that additional calls can be chained.

    Type Parameters
    Name Description
    TInboundLog

    The type of the IInboundLog to be used.

    • Improve this doc
    • View source
    GitHub E-Mail
    ↑ Back to top © 2020 Sergio Aquilini