Class BasicTransportDispatcher
Basic dispatcher that does no conversion. Recommended for transports that use a serialized (JSON) message for communication.
[DependencyService(ManagerLifetime.Scoped, AsSelf = true, IncludeInterfaces = false)]
public class BasicTransportDispatcher : BaseJobDispatcher, IJobDispatcher
- Inheritance
-
BasicTransportDispatcher
- Implements
- Inherited Members
- Extension Methods
Constructors
BasicTransportDispatcher(IOptions<FlowDefinitionConfiguration>, ITransportManager, IMapper)
public BasicTransportDispatcher(IOptions<FlowDefinitionConfiguration> configuration, ITransportManager transportManager, IMapper mapper)
Parameters
configuration
IOptions<FlowDefinitionConfiguration>transportManager
ITransportManagermapper
IMapper
Methods
DispatchAsync(JobModel, IDocument, FlowDefinition)
Abstract method for dispatching the job and document.
protected override Task DispatchAsync(JobModel jobModel, IDocument processedDoc, FlowDefinition flowDefinition)
Parameters
jobModel
JobModelprocessedDoc
IDocumentflowDefinition
FlowDefinition