Class ScatterGatherProcessor

Assembly: redb.Route.dll

Processor for the Scatter-Gather EIP pattern.
Sends the exchange to multiple endpoints (scatter phase), collects all responses,
and aggregates them using a mandatory pair-wise strategy (gather phase).
Supports static and dynamic recipient lists, parallel/sequential processing,
timeout with partial-result aggregation, and configurable error handling.

public sealed class ScatterGatherProcessor : IProcessor, IAsyncDisposable

Inheritance

Object→ScatterGatherProcessor

Implements

Methods

DisposeAsync()

Stops all cached producers and clears the cache.

public ValueTask DisposeAsync()

Process(IExchange, CancellationToken)

Processes the exchange asynchronously.

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

Constructors