Class AggregatorProcessor

Assembly: redb.Route.dll

Aggregates multiple exchanges into a single exchange using a correlation key and completion predicate.
Collects exchanges with the same correlation key, then applies the aggregation strategy
when the completion predicate is satisfied.

public class AggregatorProcessor : IProcessor, IAsyncDisposable

Inheritance

Object→AggregatorProcessor

Implements

Properties

CompletionSize

Apache Camel completionSize: a group completes once it has combined this many exchanges. Checked after

public int? CompletionSize { get; init; }

PendingGroupCount

Gets the number of currently pending aggregation groups.

public int PendingGroupCount { get; }

Methods

DisposeAsync()

Performs application-defined tasks associated with freeing, releasing, or

public ValueTask DisposeAsync()

Process(IExchange, CancellationToken)

Processes the exchange asynchronously.

public Task Process(IExchange exchange, CancellationToken ct = default)

Constructors