Show / Hide Table of Contents

    Class EndpointsConfigurationBuilderAddOutboundExtensions

    Adds the AddOutbound method to the IEndpointsConfigurationBuilder.

    Inheritance
    object
    EndpointsConfigurationBuilderAddOutboundExtensions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Silverback.Messaging.Configuration
    Assembly: Silverback.Integration.dll
    Syntax
    public static class EndpointsConfigurationBuilderAddOutboundExtensions

    Methods

    | Improve this doc View source

    AddOutbound(IEndpointsConfigurationBuilder, Type, IProducerEndpoint, bool)

    Adds an outbound endpoint for the specified message type.

    Declaration
    public static IEndpointsConfigurationBuilder AddOutbound(this IEndpointsConfigurationBuilder endpointsConfigurationBuilder, Type messageType, IProducerEndpoint endpoint, bool preloadProducers = true)
    Parameters
    Type Name Description
    IEndpointsConfigurationBuilder endpointsConfigurationBuilder

    The IEndpointsConfigurationBuilder.

    Type messageType

    The type of the messages to be published to this endpoint.

    IProducerEndpoint endpoint

    The IProducerEndpoint representing the destination topic or queue.

    bool preloadProducers

    Specifies whether the producers must be immediately instantiated and connected. When false the IProducer will be created only when the first message is about to be produced.

    Returns
    Type Description
    IEndpointsConfigurationBuilder

    The IEndpointsConfigurationBuilder so that additional calls can be chained.

    | Improve this doc View source

    AddOutbound(IEndpointsConfigurationBuilder, Type, params IProducerEndpoint[])

    Adds an outbound endpoint for the specified message type.

    Declaration
    public static IEndpointsConfigurationBuilder AddOutbound(this IEndpointsConfigurationBuilder endpointsConfigurationBuilder, Type messageType, params IProducerEndpoint[] endpoints)
    Parameters
    Type Name Description
    IEndpointsConfigurationBuilder endpointsConfigurationBuilder

    The IEndpointsConfigurationBuilder.

    Type messageType

    The type of the messages to be published to this endpoint.

    IProducerEndpoint[] endpoints

    The collection of IProducerEndpoint representing the destination topics or queues.

    Returns
    Type Description
    IEndpointsConfigurationBuilder

    The IEndpointsConfigurationBuilder so that additional calls can be chained.

    | Improve this doc View source

    AddOutbound(IEndpointsConfigurationBuilder, Type, IOutboundRouter, bool)

    Adds an outbound endpoint for the specified message type.

    Declaration
    public static IEndpointsConfigurationBuilder AddOutbound(this IEndpointsConfigurationBuilder endpointsConfigurationBuilder, Type messageType, IOutboundRouter router, bool preloadProducers = true)
    Parameters
    Type Name Description
    IEndpointsConfigurationBuilder endpointsConfigurationBuilder

    The IEndpointsConfigurationBuilder.

    Type messageType

    The type of the messages to be published to this endpoint.

    IOutboundRouter router

    The IOutboundRouter<TMessage> to be used to determine the destination endpoint.

    bool preloadProducers

    Specifies whether the producers must be immediately instantiated and connected. When false the IProducer will be created only when the first message is about to be produced.

    Returns
    Type Description
    IEndpointsConfigurationBuilder

    The IEndpointsConfigurationBuilder so that additional calls can be chained.

    | Improve this doc View source

    AddOutbound(IEndpointsConfigurationBuilder, Type, IEnumerable<IProducerEndpoint>, bool)

    Adds an outbound endpoint for the specified message type.

    Declaration
    public static IEndpointsConfigurationBuilder AddOutbound(this IEndpointsConfigurationBuilder endpointsConfigurationBuilder, Type messageType, IEnumerable<IProducerEndpoint> endpoints, bool preloadProducers = true)
    Parameters
    Type Name Description
    IEndpointsConfigurationBuilder endpointsConfigurationBuilder

    The IEndpointsConfigurationBuilder.

    Type messageType

    The type of the messages to be published to this endpoint.

    IEnumerable<IProducerEndpoint> endpoints

    The collection of IProducerEndpoint representing the destination topics or queues.

    bool preloadProducers

    Specifies whether the producers must be immediately instantiated and connected. When false the IProducer will be created only when the first message is about to be produced.

    Returns
    Type Description
    IEndpointsConfigurationBuilder

    The IEndpointsConfigurationBuilder so that additional calls can be chained.

    | Improve this doc View source

    AddOutbound(IEndpointsConfigurationBuilder, Type, Type, bool)

    Adds an outbound endpoint for the specified message type.

    Declaration
    public static IEndpointsConfigurationBuilder AddOutbound(this IEndpointsConfigurationBuilder endpointsConfigurationBuilder, Type messageType, Type routerType, bool preloadProducers = true)
    Parameters
    Type Name Description
    IEndpointsConfigurationBuilder endpointsConfigurationBuilder

    The IEndpointsConfigurationBuilder.

    Type messageType

    The type of the messages to be published to this endpoint.

    Type routerType

    The type of the IOutboundRouter<TMessage> to be used to determine the destination endpoint.

    bool preloadProducers

    Specifies whether the producers must be immediately instantiated and connected. When false the IProducer will be created only when the first message is about to be produced.

    Returns
    Type Description
    IEndpointsConfigurationBuilder

    The IEndpointsConfigurationBuilder so that additional calls can be chained.

    | Improve this doc View source

    AddOutbound<TMessage>(IEndpointsConfigurationBuilder, IProducerEndpoint, bool)

    Adds an outbound endpoint for the specified message type.

    Declaration
    public static IEndpointsConfigurationBuilder AddOutbound<TMessage>(this IEndpointsConfigurationBuilder endpointsConfigurationBuilder, IProducerEndpoint endpoint, bool preloadProducers = true)
    Parameters
    Type Name Description
    IEndpointsConfigurationBuilder endpointsConfigurationBuilder

    The IEndpointsConfigurationBuilder.

    IProducerEndpoint endpoint

    The IProducerEndpoint representing the destination topic or queue.

    bool preloadProducers

    Specifies whether the producers must be immediately instantiated and connected. When false the IProducer will be created only when the first message is about to be produced.

    Returns
    Type Description
    IEndpointsConfigurationBuilder

    The IEndpointsConfigurationBuilder so that additional calls can be chained.

    Type Parameters
    Name Description
    TMessage

    The type of the messages to be published to this endpoint.

    | Improve this doc View source

    AddOutbound<TMessage>(IEndpointsConfigurationBuilder, params IProducerEndpoint[])

    Adds an outbound endpoint for the specified message type.

    Declaration
    public static IEndpointsConfigurationBuilder AddOutbound<TMessage>(this IEndpointsConfigurationBuilder endpointsConfigurationBuilder, params IProducerEndpoint[] endpoints)
    Parameters
    Type Name Description
    IEndpointsConfigurationBuilder endpointsConfigurationBuilder

    The IEndpointsConfigurationBuilder.

    IProducerEndpoint[] endpoints

    The collection of IProducerEndpoint representing the destination topics or queues.

    Returns
    Type Description
    IEndpointsConfigurationBuilder

    The IEndpointsConfigurationBuilder so that additional calls can be chained.

    Type Parameters
    Name Description
    TMessage

    The type of the messages to be published to this endpoint.

    | Improve this doc View source

    AddOutbound<TMessage>(IEndpointsConfigurationBuilder, IOutboundRouter<TMessage>, bool)

    Adds an outbound endpoint for the specified message type.

    Declaration
    public static IEndpointsConfigurationBuilder AddOutbound<TMessage>(this IEndpointsConfigurationBuilder endpointsConfigurationBuilder, IOutboundRouter<TMessage> router, bool preloadProducers = true)
    Parameters
    Type Name Description
    IEndpointsConfigurationBuilder endpointsConfigurationBuilder

    The IEndpointsConfigurationBuilder.

    IOutboundRouter<TMessage> router

    The IOutboundRouter<TMessage> to be used to determine the destination endpoint.

    bool preloadProducers

    Specifies whether the producers must be immediately instantiated and connected. When false the IProducer will be created only when the first message is about to be produced.

    Returns
    Type Description
    IEndpointsConfigurationBuilder

    The IEndpointsConfigurationBuilder so that additional calls can be chained.

    Type Parameters
    Name Description
    TMessage

    The type of the messages to be published to this endpoint.

    | Improve this doc View source

    AddOutbound<TMessage>(IEndpointsConfigurationBuilder, IEnumerable<IProducerEndpoint>, bool)

    Adds an outbound endpoint for the specified message type.

    Declaration
    public static IEndpointsConfigurationBuilder AddOutbound<TMessage>(this IEndpointsConfigurationBuilder endpointsConfigurationBuilder, IEnumerable<IProducerEndpoint> endpoints, bool preloadProducers = true)
    Parameters
    Type Name Description
    IEndpointsConfigurationBuilder endpointsConfigurationBuilder

    The IEndpointsConfigurationBuilder.

    IEnumerable<IProducerEndpoint> endpoints

    The collection of IProducerEndpoint representing the destination topics or queues.

    bool preloadProducers

    Specifies whether the producers must be immediately instantiated and connected. When false the IProducer will be created only when the first message is about to be produced.

    Returns
    Type Description
    IEndpointsConfigurationBuilder

    The IEndpointsConfigurationBuilder so that additional calls can be chained.

    Type Parameters
    Name Description
    TMessage

    The type of the messages to be published to this endpoint.

    | Improve this doc View source

    AddOutbound<TMessage, TRouter>(IEndpointsConfigurationBuilder, bool)

    Adds an outbound endpoint for the specified message type.

    Declaration
    public static IEndpointsConfigurationBuilder AddOutbound<TMessage, TRouter>(this IEndpointsConfigurationBuilder endpointsConfigurationBuilder, bool preloadProducers = true) where TRouter : IOutboundRouter<TMessage>
    Parameters
    Type Name Description
    IEndpointsConfigurationBuilder endpointsConfigurationBuilder

    The IEndpointsConfigurationBuilder.

    bool preloadProducers

    Specifies whether the producers must be immediately instantiated and connected. When false the IProducer will be created only when the first message is about to be produced.

    Returns
    Type Description
    IEndpointsConfigurationBuilder

    The IEndpointsConfigurationBuilder so that additional calls can be chained.

    Type Parameters
    Name Description
    TMessage

    The type of the messages to be published to this endpoint.

    TRouter

    The type of the IOutboundRouter<TMessage> to be used to determine the destination endpoint.

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