Class EnrichProcessor
Content Enricher: calls an external endpoint and merges the result into the current exchange.
Implements the Content Enricher EIP pattern. The producer is cached for the lifetime
of this processor and started on first use.
public sealed class EnrichProcessor : IProcessor
Inheritance
Implements
Methods
Process(IExchange, CancellationToken)
Processes the exchange asynchronously.
public Task Process(IExchange exchange, CancellationToken ct = default)
Constructors
EnrichProcessor(IRouteContext, DynamicEndpointResolver, Func<IExchange, IExchange, IExchange>)
Creates an enrich processor with a dynamic endpoint resolver.
EnrichProcessor(IRouteContext, string, Func<IExchange, IExchange, IExchange>)
Creates an enrich processor.