Skip to main content
Table of Contents

Class SagaOptions

Namespace
Stratara.Sagas.Services
Assembly
Stratara.Sagas.dll

Configuration options for the saga subsystem. Bound from the Sagas configuration section.

[ExcludeFromCodeCoverage]
public sealed class SagaOptions
Inheritance
SagaOptions
Inherited Members
Extension Methods

Fields

SectionName

Configuration-section name (Sagas) — used by AddOptions<SagaOptions>().Bind(...).

public const string SectionName = "Sagas"

Field Value

string

Properties

DegreeOfParallelism

Number of parallel consumers the saga worker opens on its subscription. A value that is not a positive number — including the default of null — means one consumer per processor. Bundles about one aggregate are dispatched one at a time within the process whatever the value; set it to 1 for a worker that must dispatch every bundle in the order the transport delivers it.

public int? DegreeOfParallelism { get; set; }

Property Value

int?