Class AggregateDefinition

Assembly: redb.Route.dll

Scope-opener definition for the Aggregator EIP.
Collects exchanges sharing the same correlation key, merges them via the aggregation strategy,
and forwards the completed aggregate to the body pipeline when the completion predicate is satisfied.
Inherits the leaf DSL from ;
child steps build the target pipeline executed on completed aggregates.
Close with .

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

Inheritance

Implements

Inherited Members

Properties

CompletionSize

Optional Apache Camel completionSize: a group completes once it has combined this many exchanges. Set by

public int? CompletionSize { get; }

CompletionTimeout

Optional inactivity timeout (Apache Camel completionTimeout): a group that receives

public TimeSpan? CompletionTimeout { 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()

EndAggregate()

Closes the Aggregate scope and returns the parent route definition.

public IRouteDefinition EndAggregate()

ForceCompletionOnStop(bool)

Completes the open groups when the context stops (Apache Camel forceCompletionOnStop).

public AggregateDefinition ForceCompletionOnStop(bool value = true)