Class UnicastingDispatcher
Inheritance
System.Object
UnicastingDispatcher
Assembly: Steeltoe.Integration.IntegrationBase.dll
Syntax
public class UnicastingDispatcher : AbstractDispatcher, IMessageDispatcher
Constructors
|
Edit this page
View Source
UnicastingDispatcher(IApplicationContext, ILogger)
Declaration
public UnicastingDispatcher(IApplicationContext context, ILogger logger = null)
Parameters
Type |
Name |
Description |
IApplicationContext |
context |
|
ILogger |
logger |
|
|
Edit this page
View Source
UnicastingDispatcher(IApplicationContext, TaskScheduler, ILogger)
Declaration
public UnicastingDispatcher(IApplicationContext context, TaskScheduler executor, ILogger logger = null)
Parameters
Type |
Name |
Description |
IApplicationContext |
context |
|
TaskScheduler |
executor |
|
ILogger |
logger |
|
Methods
|
Edit this page
View Source
Dispatch(IMessage, CancellationToken)
Declaration
public override bool Dispatch(IMessage message, CancellationToken cancellationToken = null)
Parameters
Type |
Name |
Description |
IMessage |
message |
|
CancellationToken |
cancellationToken |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
|
Edit this page
View Source
DoDispatch(IMessage, CancellationToken)
Declaration
protected override bool DoDispatch(IMessage message, CancellationToken cancellationToken)
Parameters
Type |
Name |
Description |
IMessage |
message |
|
CancellationToken |
cancellationToken |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
Implements