Class MeteredProcessor
Wraps a pipeline processor to collect metrics: exchange count, duration, failures, inflight.
Designed to wrap the top-level pipeline of a compiled route.
public sealed class MeteredProcessor : IProcessor
Inheritance
Implements
Methods
Process(IExchange, CancellationToken)
Processes the exchange asynchronously.
public Task Process(IExchange exchange, CancellationToken ct = default)
Constructors
MeteredProcessor(IProcessor, string, string?, string?)
Creates a metered processor wrapper.