Class SetHeaderExpressionDefinition

Assembly: redb.Route.dll

Leaf definition that sets a header on the exchange using an .

public sealed class SetHeaderExpressionDefinition : ProcessorDefinition, IProcessorDefinition

Inheritance

Object→ProcessorDefinition→SetHeaderExpressionDefinition

Implements

Inherited Members

Properties

Expression

The expression producing the header value.

public IExpression Expression { get; }

Name

The header name to set.

public string Name { get; }

Methods

CreateProcessor(IRouteContext)

Compile this node into a runtime processor.

public override IProcessor CreateProcessor(IRouteContext context)

Constructors

SetHeaderExpressionDefinition(string, IExpression)

Creates a set-header definition from an expression.