Class OutboundRouterBehavior
Routes the messages to the outbound endpoint by wrapping them in an IOutboundEnvelope<TMessage> that is republished to the bus.
Inheritance
System.Object
OutboundRouterBehavior
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 OutboundRouterBehavior : IBehavior, ISorted
Constructors
| Improve this doc View sourceOutboundRouterBehavior(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 | |
System.IServiceProvider | serviceProvider | The System.IServiceProvider. |
Properties
| Improve this doc View sourceSortIndex
Declaration
public int SortIndex { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
| Improve this doc View sourceHandleAsync(Object, MessageHandler)
Declaration
public async Task<IReadOnlyCollection<object>> HandleAsync(object message, MessageHandler next)
Parameters
Type | Name | Description |
---|---|---|
System.Object | message | |
MessageHandler | next |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyCollection<System.Object>> |