Interface IOutboundRoute
Defines the IOutboundRouter to be used to get the destination endpoints to produce the messages of the specified type to.
Namespace: Silverback.Messaging.Outbound.Routing
Assembly: Silverback.Integration.dll
Syntax
public interface IOutboundRoute
Properties
| Improve this doc View sourceMessageType
Gets the type of the messages to be routed to the outbound endpoint(s).
Declaration
Type MessageType { get; }
Property Value
Type | Description |
---|---|
Type |
Methods
| Improve this doc View sourceGetOutboundRouter(IServiceProvider)
Returns the instance of IOutboundRouter to be used to determine the destination endpoint.
Declaration
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>. |