Class PoisonMessageCleanupOptions
- Namespace
- Excalibur.Dispatch.Options.ErrorHandling
- Assembly
- Excalibur.Dispatch.dll
Configuration options for dead letter message cleanup.
public sealed class PoisonMessageCleanupOptions
- Inheritance
-
PoisonMessageCleanupOptions
- Inherited Members
- Extension Methods
Properties
AutoCleanupInterval
Gets or sets the interval for automatic cleanup of old dead letter messages.
public TimeSpan AutoCleanupInterval { get; set; }
Property Value
- TimeSpan
The interval for automatic cleanup of old dead letter messages.
DeadLetterRetentionPeriod
Gets or sets the retention period for dead letter messages.
public TimeSpan DeadLetterRetentionPeriod { get; set; }
Property Value
- TimeSpan
The retention period for dead letter messages.
EnableAutoCleanup
Gets or sets a value indicating whether to automatically delete old dead letter messages. Disabled by default to preserve unreplayed quarantine; enable explicitly to select age-based deletion.
public bool EnableAutoCleanup { get; set; }
Property Value
- bool
The current EnableAutoCleanup value.