Class RemoveByMaskDefinition

Assembly: redb.Route.dll

Removes every header (or property) whose name matches a mask — exact, trailing
(X-Internal-) or regex: — except the names listed. The usual last step before a
message leaves for an external system.

public sealed class RemoveByMaskDefinition : ProcessorDefinition, IProcessorDefinition

Inheritance

Object→ProcessorDefinition→RemoveByMaskDefinition

Implements

Inherited Members

Properties

Except

Names kept even when they match.

public IReadOnlyList<string> Except { get; }

Pattern

Name mask.

public string Pattern { get; }

Target

Headers or properties.

public RemoveTarget Target { get; }

Methods

CreateProcessor(IRouteContext)

Compile this node into a runtime processor.

public override IProcessor CreateProcessor(IRouteContext context)

Constructors