Table of Contents

Class BasicTransportDispatcher

Namespace
JobFlow.Core.Jobs.Dispatch
Assembly
JobFlow.Core.dll

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 ITransportManager
mapper 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 JobModel
processedDoc IDocument
flowDefinition FlowDefinition

Returns

Task