Skip to main content
Table of Contents

Class ResilienceNames

Namespace
Stratara.Resilience
Assembly
Stratara.Resilience.dll

Stable names for Stratara's named Polly resilience pipelines. Resolve a pipeline via ResiliencePipelineProvider<string>.GetPipeline(...) using one of these constants.

public static class ResilienceNames
Inheritance
ResilienceNames
Inherited Members

Fields

CommandDispatcher

Command-dispatcher pipeline. Strategy: 3 retries, exponential, 200ms, jitter. Used when dispatching command envelopes through the outbox.

public const string CommandDispatcher = "CommandDispatcherPipeline"

Field Value

string

ConcurrencyConflict

Optimistic-concurrency-conflict pipeline. Strategy: retries only on Stratara.Abstractions.Persistence.ConcurrencyConflictException (5 attempts, short exponential backoff, jitter); any other exception propagates immediately. Intended for an in-process mediator request marked IResilientRequest whose handler re-reads and re-applies on a version clash.

public const string ConcurrencyConflict = "ConcurrencyConflictPipeline"

Field Value

string

EventBundleDispatcher

Event-bundle-dispatcher pipeline. Strategy: 3 retries, exponential, 200ms, jitter. Used when dispatching event bundles through the outbox.

public const string EventBundleDispatcher = "EventBundleDispatcherPipeline"

Field Value

string

MessageBus

Message-bus subscription / publish pipeline. Strategy: exponential retry up to int.MaxValue, 10s → 60s, jitter. Used by message-bus consumers and publishers.

public const string MessageBus = "MessageBusPipeline"

Field Value

string

PrecedingFact

Pipeline that retries only PrecedingFactMissingException — a handler's report that the entity a fact refers to has not been applied yet — a bounded number of times with a short exponential backoff, about three seconds in total. Every other failure surfaces on the first occurrence. The projection and saga workers run every bundle under it.

public const string PrecedingFact = "PrecedingFactPipeline"

Field Value

string

ProjectionReplayBatch

Pipeline the projection-replay worker runs each batch under: five attempts in all, exponential backoff from one second with jitter between them, retrying any exception except cancellation. A read-store timeout or a dropped connection mid-rebuild is retried; a failure that persists through every attempt ends the replay as an unretried one would.

public const string ProjectionReplayBatch = "ProjectionReplayBatchPipeline"

Field Value

string