Class RetryOptions
Configures retry behavior for failed message processing. Messages that exceed the maximum retry count are routed to a dead-letter queue.
public class RetryOptions
- Inheritance
-
RetryOptions
- Inherited Members
Properties
- DeadLetterSuffix
Suffix appended to the queue name to form the dead-letter queue name. Default: ".dlq".
- Delay
Delay between retry attempts, used as the TTL on the retry queue. Default: 30 seconds.
- MaxRetries
Maximum number of retry attempts before sending to the dead-letter queue. Default: 3.
- RetrySuffix
Suffix appended to the queue name to form the retry queue name. Default: ".retry".
- UseManaged
Whether Ratatoskr should automatically provision retry and dead-letter queue topology. Default: true.
Methods
- WithDeadLetterSuffix(string)
Sets the suffix for the dead-letter queue name.
- WithDelay(TimeSpan)
Sets the delay between retry attempts.
- WithManaged(bool)
Enables or disables automatic retry/DLQ topology provisioning.
- WithMaxRetries(int)
Sets the maximum number of retry attempts.
- WithRetrySuffix(string)
Sets the suffix for the retry queue name.