Class PipelineProcessor
Executes a list of processors sequentially. The backbone of route processing.
Stops early if exchange.IsStopped or cancellation is requested.
public class PipelineProcessor : IProcessor
Inheritance
Implements
Properties
Processors
Gets the list of processors in this pipeline.
public IReadOnlyList<IProcessor> Processors { get; }
Methods
AddRange(IEnumerable<IProcessor>)
Adds multiple processors to the pipeline.
public void AddRange(IEnumerable<IProcessor> processors)
Process(IExchange, CancellationToken)
Processes the exchange asynchronously.
public Task Process(IExchange exchange, CancellationToken ct = default)