Table of Contents

Method WithRetry

Namespace
Ratatoskr.RabbitMq.Config
Assembly
Ratatoskr.RabbitMq.dll

WithRetry(Action<RetryOptions>)

Configures retry behavior using a builder callback.

public RabbitMqConsumeOptions WithRetry(Action<RetryOptions> configure)

Parameters

configure Action<RetryOptions>

Returns

RabbitMqConsumeOptions

WithRetry(int, TimeSpan?)

Configures retry behavior with max retries and optional delay.

public RabbitMqConsumeOptions WithRetry(int maxRetries, TimeSpan? delay = null)

Parameters

maxRetries int
delay TimeSpan?

Returns

RabbitMqConsumeOptions