Class DirectChannel
A channel that invokes a single subscriber for each sent Message. The invocation will occur in the sender's thread.
Inheritance
System.Object
DirectChannel
Inherited Members
Namespace: Steeltoe.Integration.Channel
Assembly: Steeltoe.Integration.IntegrationBase.dll
Syntax
public class DirectChannel : AbstractSubscribableChannel, IChannelInterceptorAware
Constructors
| Edit this page View SourceDirectChannel(IApplicationContext, ILogger)
Declaration
public DirectChannel(IApplicationContext context, ILogger logger = null)
Parameters
Type | Name | Description |
---|---|---|
IApplicationContext | context | |
ILogger | logger |
DirectChannel(IApplicationContext, ILoadBalancingStrategy, String, ILogger)
Declaration
public DirectChannel(IApplicationContext context, ILoadBalancingStrategy loadBalancingStrategy, string name, ILogger logger = null)
Parameters
Type | Name | Description |
---|---|---|
IApplicationContext | context | |
ILoadBalancingStrategy | loadBalancingStrategy | |
System.String | name | |
ILogger | logger |
DirectChannel(IApplicationContext, String, ILogger)
Declaration
public DirectChannel(IApplicationContext context, string name, ILogger logger = null)
Parameters
Type | Name | Description |
---|---|---|
IApplicationContext | context | |
System.String | name | |
ILogger | logger |
DirectChannel(ILogger)
Declaration
public DirectChannel(ILogger logger = null)
Parameters
Type | Name | Description |
---|---|---|
ILogger | logger |
Implements
IMessageChannel
ISubscribableChannel