Class InboxRetentionOptions
- Namespace
- Excalibur.Dispatch.Options.Configuration
- Assembly
- Excalibur.Dispatch.dll
Configuration options for inbox message retention and cleanup policies.
public sealed class InboxRetentionOptions
- Inheritance
-
InboxRetentionOptions
- Inherited Members
- Extension Methods
Properties
CleanupInterval
Gets or sets the cleanup interval.
public TimeSpan CleanupInterval { get; set; }
Property Value
- TimeSpan
The cleanup interval. Default is 1 hour.
CleanupIntervalSeconds
Gets or sets the cleanup interval in seconds for processed entries.
[Range(1, 2147483647)]
public int CleanupIntervalSeconds { get; set; }
Property Value
- int
The cleanup interval in seconds. Default is 3600.
MaxRetention
Gets or sets the maximum message retention period.
public TimeSpan MaxRetention { get; set; }
Property Value
- TimeSpan
The maximum message retention period. Default is 7 days.
RetentionDays
Gets or sets the retention period in days for processed entries.
[Range(1, 2147483647)]
public int RetentionDays { get; set; }
Property Value
- int
The retention period in days. Default is 7.