Table of Contents

Class BatchCollectionOptions

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

Options controlling how messages are collected into batches before processing.

public sealed class BatchCollectionOptions
Inheritance
BatchCollectionOptions
Inherited Members
Extension Methods

Properties

CollectionTimeout

Gets or sets the batch collection timeout.

public TimeSpan CollectionTimeout { get; set; }

Property Value

TimeSpan

The TimeSpan allowed for aggregating messages before a partial dispatch.

MaxBatchSize

Gets or sets the maximum batch size.

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

Property Value

int

The upper bound on the number of messages processed in a single batch.

MinBatchSize

Gets or sets the minimum batch size for processing.

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

Property Value

int

The number of messages that must be collected before a batch can be dispatched.