Show / Hide Table of Contents

    Interface IOutboundRouter<TMessage>

    Routes the outbound messages to one or multiple outbound endpoints.

    Inherited Members
    IOutboundRouter.Endpoints
    IOutboundRouter.GetDestinationEndpoints(object, MessageHeaderCollection)
    Namespace: Silverback.Messaging.Outbound.Routing
    Assembly: Silverback.Integration.dll
    Syntax
    public interface IOutboundRouter<TMessage> : IOutboundRouter
    Type Parameters
    Name Description
    TMessage

    The type of the messages to be routed.

    Methods

    | Improve this doc View source

    GetDestinationEndpoints(TMessage, MessageHeaderCollection)

    Returns the collection of IProducerEndpoint representing the endpoints where the specified message must be produced.

    Declaration
    IEnumerable<IProducerEndpoint> GetDestinationEndpoints(TMessage message, MessageHeaderCollection headers)
    Parameters
    Type Name Description
    TMessage message

    The message to be routed.

    MessageHeaderCollection headers

    The message headers collection.

    Returns
    Type Description
    IEnumerable<IProducerEndpoint>

    The endpoints to route the message to.

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