Method LoopWhile(IRouteDefinition, string, bool, bool)

Assembly: redb.Route.dll

Apache Camel parity: opens a Loop scope that repeats while the condition string holds.
The counterpart of Loop(string), which takes an
iteration count rather than a condition. The condition is compiled the same way as in
Filter and When.

public static LoopDefinition LoopWhile(this IRouteDefinition self, string condition, bool copy = false, bool shareScope = true)