Table of Contents

Class InboxConfigurationOptions

Namespace
Excalibur.Dispatch.Options.Configuration
Assembly
Excalibur.Dispatch.dll

Configuration options for the inbox pattern.

public sealed class InboxConfigurationOptions
Inheritance
InboxConfigurationOptions
Inherited Members
Extension Methods

Properties

AckAfterHandle

Gets or sets a value indicating whether to automatically acknowledge messages after successful processing.

public bool AckAfterHandle { get; set; }

Property Value

bool

Default is true.

CleanupInterval

Gets or sets the cleanup interval.

public TimeSpan CleanupInterval { get; set; }

Property Value

TimeSpan

The cleanup interval.

CleanupIntervalSeconds

Gets or sets the cleanup interval in seconds for processed entries.

[Range(1, 2147483647)]
public int CleanupIntervalSeconds { get; set; }

Property Value

int

The current CleanupIntervalSeconds value.

DeduplicationExpiryHours

Gets or sets the expiry time in hours for deduplication entries in light mode.

[Range(1, 2147483647)]
public int DeduplicationExpiryHours { get; set; }

Property Value

int

Default is 24 hours.

Enabled

Gets or sets a value indicating whether inbox processing is enabled. When true, uses full inbox mode with persistent storage. When false, uses light mode with in-memory deduplication.

public bool Enabled { get; set; }

Property Value

bool

The current Enabled value.

MaxRetention

Gets or sets the maximum message retention period.

public TimeSpan MaxRetention { get; set; }

Property Value

TimeSpan

The maximum message retention period.

MaxRetries

Gets or sets the maximum number of retry attempts for failed messages.

[Range(0, 2147483647)]
public int MaxRetries { get; set; }

Property Value

int

Default is 3.

ProcessingTimeout

Gets or sets the timeout after which a message stuck in Processing status is considered abandoned and eligible for reprocessing. When another instance or thread picks up a message but fails to complete (crash, timeout, etc.), this timeout ensures the message is eventually reprocessed rather than being stuck forever.

public TimeSpan ProcessingTimeout { get; set; }

Property Value

TimeSpan

Default is 5 minutes.

RetentionDays

Gets or sets the retention period in days for processed entries.

[Range(1, 2147483647)]
public int RetentionDays { get; set; }

Property Value

int

The current RetentionDays value.

RetryDelayMinutes

Gets or sets the delay between retry attempts in minutes.

[Range(1, 2147483647)]
public int RetryDelayMinutes { get; set; }

Property Value

int

Default is 5 minutes.