Class OutboundRoute
Inheritance
System.Object
OutboundRoute
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Silverback.Messaging.Outbound.Routing
Assembly: Silverback.Integration.dll
Syntax
public class OutboundRoute : IOutboundRoute
Constructors
| Improve this doc View sourceOutboundRoute(Type, Func<IServiceProvider, IOutboundRouter>)
Initializes a new instance of the OutboundRoute class.
Declaration
public OutboundRoute(Type messageType, Func<IServiceProvider, IOutboundRouter> outboundRouterFactory)
Parameters
Type | Name | Description |
---|---|---|
System.Type | messageType | The type of the messages to be routed to the outbound endpoint(s). |
System.Func<System.IServiceProvider, IOutboundRouter> | outboundRouterFactory | The factory to be used to resolve the IOutboundRouter to be used to determine the destination endpoint. |
Properties
| Improve this doc View sourceMessageType
Declaration
public Type MessageType { get; }
Property Value
Type | Description |
---|---|
System.Type |
Methods
| Improve this doc View sourceGetOutboundRouter(IServiceProvider)
Declaration
public IOutboundRouter GetOutboundRouter(IServiceProvider serviceProvider)
Parameters
Type | Name | Description |
---|---|---|
System.IServiceProvider | serviceProvider |
Returns
Type | Description |
---|---|
IOutboundRouter |