Class BatchProcessingOptions
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
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
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
EnableMetrics
Gets or sets a value indicating whether to enable metrics collection.
public bool EnableMetrics { get; set; }
Property Value
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
ProcessInParallel
Gets or sets a value indicating whether to process messages in parallel within a batch.
public bool ProcessInParallel { get; set; }