Table of Contents

Class ScheduleDurabilityOptions

Namespace
Excalibur.Dispatch.Delivery
Assembly
Excalibur.Dispatch.dll

Options governing whether scheduled delivery may run on a schedule store that does not survive a restart.

public sealed class ScheduleDurabilityOptions
Inheritance
ScheduleDurabilityOptions
Inherited Members
Extension Methods

Properties

AllowVolatileScheduleStore

Gets or sets a value indicating whether a volatile (in-memory) schedule store is permitted.

public bool AllowVolatileScheduleStore { get; set; }

Property Value

bool

false — the default — states that this host expects a durable schedule store, and the framework fails fast at startup if a volatile store is registered. true permits a volatile store, and everything scheduled but not yet due is lost when the process exits.

Remarks

The protective value is the one a host gets by saying nothing. A scheduled delivery is a promise accepted now and kept later; a store that forgets it on restart breaks that promise at the moment nobody is watching, having already reported the schedule as accepted.

Set this only for development and test hosts, where losing pending schedules on exit is intended.