Class NodePipeline
The single place where a scope definition's child steps are compiled into a body processor.
Previously every scope definition (Choice, Filter, CircuitBreaker, TryCatch, Loop, Metered,
Replayable, Aggregate, IdempotentConsumer, Resequence, Threads, Traced, Transaction, Throttle,
Debounce, …) carried its own identical copy of the "0 → no-op / 1 → the single child / N → a
pipeline" logic. Routing them all through removes that duplication and — because
every child now compiles through — gives one seam to decorate each node (e.g.
Message History) at compile time.
Behaviour is identical to the old per-definition builders: the empty body is a no-op
; a single child is returned unwrapped; multiple children form a
. This does not touch the DSL — the Outputs/scope tree
the builders walk is built entirely by the fluent API and its End* closers.
public static class NodePipeline
Inheritance
Methods
Body(IRouteContext, IList<IProcessorDefinition>)
Compiles a list of child definitions into a body processor (0 → no-op, 1 → the child, N → pipeline).
public static IProcessor Body(IRouteContext context, IList<IProcessorDefinition> outputs)
Node(IRouteContext, IProcessorDefinition)
Compiles one child definition into its runtime processor — the per-node seam. Routes through
public static IProcessor Node(IRouteContext context, IProcessorDefinition definition)