Class LoopDefinition

Assembly: redb.Route.dll

Scope-opener definition for the Loop EIP.
Repeats the body pipeline either a fixed number of times, a dynamic number of times
resolved from the exchange, or while a predicate holds. Inherits the leaf DSL from
; close with .

public class LoopDefinition : RouteDefinitionBase<LoopDefinition>, IRouteDefinition, IProcessorDefinition, IRouteScope

Inheritance

Implements

Inherited Members

Properties

Copy

Whether each iteration receives an independent clone of the exchange.

public bool Copy { get; }

Methods

CreateProcessor(IRouteContext)

Compile this node into a runtime processor.

public override IProcessor CreateProcessor(IRouteContext context)

End()

Closes this scope and returns the parent .

public IRouteDefinition End()

EndLoop()

Closes this loop scope and returns the parent route definition.

public IRouteDefinition EndLoop()