Table of Contents

Interface IInboundRouteBuilder

Namespace
Excalibur.Dispatch.Configuration
Assembly
Excalibur.Dispatch.Abstractions.dll

Builder interface for configuring inbound transport route rules.

public interface IInboundRouteBuilder
Extension Methods

Methods

RouteName(string)

Routes messages with a specific name.

IInboundRouteBuilder RouteName(string messageName)

Parameters

messageName string

The message name to route.

Returns

IInboundRouteBuilder

The inbound route builder.

RouteType(Type)

Routes messages of a specific type.

IInboundRouteBuilder RouteType(Type messageType)

Parameters

messageType Type

The message type to route.

Returns

IInboundRouteBuilder

The inbound route builder.

RouteType<TMessage>()

Routes messages of a specific type.

IInboundRouteBuilder RouteType<TMessage>() where TMessage : IDispatchMessage

Returns

IInboundRouteBuilder

The inbound route builder.

Type Parameters

TMessage

The message type to route.

ToDispatcher(string)

Routes to a dispatcher with a specific profile.

IInboundRouteBuilder ToDispatcher(string profile = "default")

Parameters

profile string

The dispatcher profile to use (default: "default").

Returns

IInboundRouteBuilder

The inbound route builder.

WithOptions(Action<TransportBindingOptions>)

Configures additional options for the binding.

IInboundRouteBuilder WithOptions(Action<TransportBindingOptions> configure)

Parameters

configure Action<TransportBindingOptions>

The configuration action.

Returns

IInboundRouteBuilder

The inbound route builder.