Table of Contents

Class InboxCapacityOptions

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

Configuration options for inbox capacity and throughput, controlling queue sizes, batch sizes, and parallelism.

public sealed class InboxCapacityOptions
Inheritance
InboxCapacityOptions
Inherited Members
Extension Methods

Properties

ConsumerBatchSize

Gets or sets the batch size for processing messages from the internal queue.

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

Property Value

int

An integer representing the number of messages to process together in each batch. Must be greater than zero.

ParallelProcessingDegree

Gets or sets the degree of parallelism for batch processing. Default is 1 (sequential processing).

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

Property Value

int

The current ParallelProcessingDegree value.

PerRunTotal

Gets or sets the maximum number of messages to process in a single execution run. This setting provides backpressure control and prevents runaway message processing.

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

Property Value

int

An integer representing the maximum number of messages to process per run. Must be greater than zero.

ProducerBatchSize

Gets or sets the batch size for loading messages from storage into the processing queue.

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

Property Value

int

An integer representing the number of messages to load in each batch from storage. Must be greater than zero.

QueueCapacity

Gets or sets the capacity of the internal message processing queue. This setting controls memory usage and buffering behavior during message processing.

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

Property Value

int

An integer representing the maximum number of messages that can be held in the processing queue. Must be greater than zero and at least as large as ProducerBatchSize.