Class SetHeadersDefinition

Assembly: redb.Route.dll

Sets several headers in one step (one Message History entry). A value that is an
is evaluated per message, a Func<IExchange, object?> is invoked,
anything else is a constant.

public sealed class SetHeadersDefinition : ProcessorDefinition, IProcessorDefinition

Inheritance

Object→ProcessorDefinition→SetHeadersDefinition

Implements

Inherited Members

Properties

Headers

Header names and value sources.

public IReadOnlyList<(string Name, object? Value)> Headers { get; }

Methods

CreateProcessor(IRouteContext)

Compile this node into a runtime processor.

public override IProcessor CreateProcessor(IRouteContext context)

Constructors