Class ExpressionBodyProcessor

Assembly: redb.Route.dll

Processor that evaluates an and sets the result as the exchange body.
Used by the DSL .SetBody(IExpression) and .Transform(IExpression).

public sealed class ExpressionBodyProcessor : IProcessor

Inheritance

Object→ExpressionBodyProcessor

Implements

Methods

Process(IExchange, CancellationToken)

Processes the exchange asynchronously.

public Task Process(IExchange exchange, CancellationToken ct = default)

Constructors

ExpressionBodyProcessor(IExpression)

Creates a new instance with the specified expression.