Show / Hide Table of Contents

    Class OutboundRoute

    Defines the IOutboundRouter to be used to get the destination endpoints to produce the messages of the specified type to.

    Inheritance
    object
    OutboundRoute
    Implements
    IOutboundRoute
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Silverback.Messaging.Outbound.Routing
    Assembly: Silverback.Integration.dll
    Syntax
    public class OutboundRoute : IOutboundRoute

    Constructors

    | Improve this doc View source

    OutboundRoute(Type, Func<IServiceProvider, IOutboundRouter>)

    Initializes a new instance of the OutboundRoute class.

    Declaration
    public OutboundRoute(Type messageType, Func<IServiceProvider, IOutboundRouter> outboundRouterFactory)
    Parameters
    Type Name Description
    Type messageType

    The type of the messages to be routed to the outbound endpoint(s).

    Func<IServiceProvider, IOutboundRouter> outboundRouterFactory

    The factory to be used to resolve the IOutboundRouter to be used to determine the destination endpoint.

    Properties

    | Improve this doc View source

    MessageType

    Gets the type of the messages to be routed to the outbound endpoint(s).

    Declaration
    public Type MessageType { get; }
    Property Value
    Type Description
    Type

    Methods

    | Improve this doc View source

    GetOutboundRouter(IServiceProvider)

    Returns the instance of IOutboundRouter to be used to determine the destination endpoint.

    Declaration
    public IOutboundRouter GetOutboundRouter(IServiceProvider serviceProvider)
    Parameters
    Type Name Description
    IServiceProvider serviceProvider

    The IServiceProvider to be used to resolve the router.

    Returns
    Type Description
    IOutboundRouter

    The instance of IOutboundRouter<TMessage>.

    Implements

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