Class CheckpointProcessor

Assembly: redb.Route.dll

Compiled body of a .Replayable("name") marker (a save-point). On each pass it captures a
deep, isolated into
[] (last marker wins),
then runs the marker's body. The same compiled is what

re-runs from a stored snapshot — no synthetic endpoint.

SECURITY: the snapshot is a verbatim, UNREDACTED copy of the mid-flight exchange — body, headers
and Properties may hold decrypted tokens, PII or secrets. Nothing is masked here (URI redaction
covers endpoint URIs, NOT payloads). Enabling .Replayable() accepts that; storing or
exposing snapshots is the platform's responsibility, not the route's.

public sealed class CheckpointProcessor : IProcessor

Inheritance

Object→CheckpointProcessor

Implements

Properties

Body

The marker's compiled body — the tail re-run on replay.

public IProcessor Body { get; }

MarkerName

The save-point name (unique within the route).

public string MarkerName { get; }

Methods

Process(IExchange, CancellationToken)

Processes the exchange asynchronously.

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

Constructors

CheckpointProcessor(string, IProcessor, ILogger?)

Creates a checkpoint processor wrapping the marker body.