Table of Contents

Class BatchProcessingOptions

Namespace
Excalibur.Dispatch.Transport
Assembly
Excalibur.Dispatch.Transport.Abstractions.dll

Options for batch processing.

public sealed class BatchProcessingOptions
Inheritance
BatchProcessingOptions
Inherited Members
Extension Methods

Properties

BatchTimeout

Gets or sets the batch timeout.

public TimeSpan BatchTimeout { get; set; }

Property Value

TimeSpan

The TimeSpan allowed for collecting items before dispatch.

Collection

Gets or sets the batch collection options.

public BatchCollectionOptions Collection { get; set; }

Property Value

BatchCollectionOptions

Options controlling how messages are collected into batches.

ContinueOnError

Gets or sets a value indicating whether to continue on errors.

public bool ContinueOnError { get; set; }

Property Value

bool

true to record failures but continue processing; otherwise false.

DefaultPriority

Gets or sets the batch priority.

public BatchPriority DefaultPriority { get; set; }

Property Value

BatchPriority

The relative priority assigned to newly created batches.

EnableDeadLetter

Gets or sets a value indicating whether to enable dead letter queue for failed messages.

public bool EnableDeadLetter { get; set; }

Property Value

bool

true to route failed messages to the configured dead letter queue.

EnableMetrics

Gets or sets a value indicating whether to enable metrics collection.

public bool EnableMetrics { get; set; }

Property Value

bool

true to publish processing metrics; otherwise false.

MaxDegreeOfParallelism

Gets or sets the degree of parallelism.

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

Property Value

int

The maximum number of concurrent workers allowed for a batch.

PreserveOrder

Gets or sets a value indicating whether to preserve message order.

public bool PreserveOrder { get; set; }

Property Value

bool

true to maintain message ordering semantics; otherwise false.

ProcessInParallel

Gets or sets a value indicating whether to process messages in parallel within a batch.

public bool ProcessInParallel { get; set; }

Property Value

bool

true to schedule messages concurrently; otherwise false.