Show / Hide Table of Contents

    Class OutboundRouterBehavior

    Routes the messages to the outbound endpoint by wrapping them in an IOutboundEnvelope<TMessage> that is republished to the bus.

    Inheritance
    object
    OutboundRouterBehavior
    Implements
    IBehavior
    ISorted
    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 OutboundRouterBehavior : IBehavior, ISorted

    Constructors

    | Improve this doc View source

    OutboundRouterBehavior(IPublisher, IOutboundRoutingConfiguration, IServiceProvider)

    Initializes a new instance of the OutboundRouterBehavior class.

    Declaration
    public OutboundRouterBehavior(IPublisher publisher, IOutboundRoutingConfiguration routingConfiguration, IServiceProvider serviceProvider)
    Parameters
    Type Name Description
    IPublisher publisher

    The IPublisher.

    IOutboundRoutingConfiguration routingConfiguration

    The IOutboundRoutingConfiguration.

    IServiceProvider serviceProvider

    The IServiceProvider.

    Properties

    | Improve this doc View source

    SortIndex

    Gets the sort index.

    Declaration
    public int SortIndex { get; }
    Property Value
    Type Description
    int

    Methods

    | Improve this doc View source

    HandleAsync(object, MessageHandler)

    Process, handles or transforms the messages being published to the internal bus.

    Declaration
    public Task<IReadOnlyCollection<object?>> HandleAsync(object message, MessageHandler next)
    Parameters
    Type Name Description
    object message

    The message being published.

    MessageHandler next

    The next behavior in the pipeline.

    Returns
    Type Description
    Task<IReadOnlyCollection<object>>

    A Task<TResult> representing the asynchronous operation. The task result contains the result values (if any).

    Implements

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