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
messageNamestringThe message name to route.
Returns
- IInboundRouteBuilder
The inbound route builder.
RouteType(Type)
Routes messages of a specific type.
IInboundRouteBuilder RouteType(Type messageType)
Parameters
messageTypeTypeThe 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
TMessageThe message type to route.
ToDispatcher(string)
Routes to a dispatcher with a specific profile.
IInboundRouteBuilder ToDispatcher(string profile = "default")
Parameters
profilestringThe 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
configureAction<TransportBindingOptions>The configuration action.
Returns
- IInboundRouteBuilder
The inbound route builder.