Class RoutingSlipDefinition

Assembly: redb.Route.dll

Routing Slip EIP (Apache Camel parity): routes the exchange through a list of endpoints computed
once up front. The slip may be supplied as a factory delegate, an
that yields a delimited URI string, or a ${...} template string. Leaf node — no
.

Unlike (which recomputes the next hop per step) the slip is
evaluated a single time; unlike (which fans out a copy to
each recipient) the slip pipes the same exchange through the endpoints in sequence.

public sealed class RoutingSlipDefinition : ProcessorDefinition, IProcessorDefinition

Inheritance

Object→ProcessorDefinition→RoutingSlipDefinition

Implements

Inherited Members

Methods

CreateProcessor(IRouteContext)

Compile this node into a runtime processor.

public override IProcessor CreateProcessor(IRouteContext context)

Constructors

RoutingSlipDefinition(Func<IExchange, IEnumerable<string>>, bool)

Creates a routing slip from a factory that returns the endpoint URIs per exchange.

RoutingSlipDefinition(IExpression, string, bool)

Creates a routing slip from an that evaluates to a delimited URI

RoutingSlipDefinition(string, string, bool)

Creates a routing slip from a ${...} template that resolves to a delimited URI string