Class ExpressionBodyProcessor
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
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.