Class ConsumerOptions
- Namespace
- Excalibur.Dispatch.Options.Configuration
- Assembly
- Excalibur.Dispatch.dll
Configuration options for message consumers.
public sealed class ConsumerOptions
- Inheritance
-
ConsumerOptions
- 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.
Dedupe
Gets or sets the deduplication configuration.
public DeduplicationOptions Dedupe { get; set; }
Property Value
- DeduplicationOptions
The deduplication configuration.
MaxConcurrentMessages
Gets or sets the maximum number of concurrent messages to process.
[Range(1, 2147483647)]
public int MaxConcurrentMessages { get; set; }
Property Value
- int
The current MaxConcurrentMessages value.
MaxRetries
Gets or sets the maximum number of retries for failed messages.
[Range(0, 2147483647)]
public int MaxRetries { get; set; }
Property Value
- int
The current MaxRetries value.
VisibilityTimeout
Gets or sets the visibility timeout for messages.
public TimeSpan VisibilityTimeout { get; set; }
Property Value
- TimeSpan
The visibility timeout for messages.