Class PoisonMessageOptions
- Namespace
- Excalibur.Dispatch.Options.ErrorHandling
- Assembly
- Excalibur.Dispatch.dll
Configuration options for poison message handling.
public sealed class PoisonMessageOptions
- Inheritance
-
PoisonMessageOptions
- Inherited Members
- Extension Methods
Properties
Alerting
Gets or sets the alerting configuration for poison messages.
[ValidateObjectMembers]
public PoisonMessageAlertingOptions Alerting { get; set; }
Property Value
- PoisonMessageAlertingOptions
The alerting configuration options.
CaptureExceptionDetails
Gets or sets a value indicating whether to capture full exception details in dead letter messages.
public bool CaptureExceptionDetails { get; set; }
Property Value
- bool
The current CaptureExceptionDetails value.
Cleanup
Gets or sets the cleanup configuration for dead letter messages.
[ValidateObjectMembers]
public PoisonMessageCleanupOptions Cleanup { get; set; }
Property Value
- PoisonMessageCleanupOptions
The cleanup configuration options.
EnableMetrics
Gets or sets a value indicating whether to enable metrics collection for poison messages.
public bool EnableMetrics { get; set; }
Property Value
- bool
The current EnableMetrics value.
Enabled
Gets or sets a value indicating whether poison message detection is enabled.
public bool Enabled { get; set; }
Property Value
MaxProcessingTime
Gets or sets the maximum processing time before a message is considered poison.
public TimeSpan MaxProcessingTime { get; set; }
Property Value
- TimeSpan
The maximum processing time before a message is considered poison.
MaxRetryAttempts
Gets or sets the maximum number of retry attempts before a message is considered poison.
[Range(1, 2147483647)]
public int MaxRetryAttempts { get; set; }
Property Value
- int
The current MaxRetryAttempts value.
PoisonExceptionTypes
Gets the exception types that should immediately poison a message.
public HashSet<Type> PoisonExceptionTypes { get; }
Property Value
- HashSet<Type>
The current PoisonExceptionTypes value.
TransientExceptionTypes
Gets the exception types that should not poison a message.
public HashSet<Type> TransientExceptionTypes { get; }
Property Value
- HashSet<Type>
The current TransientExceptionTypes value.