Method WithRetry
WithRetry(Action<RetryOptions>)
Configures retry behavior using a builder callback.
public RabbitMqChannelOptions WithRetry(Action<RetryOptions> configure)
Parameters
configureAction<RetryOptions>
Returns
WithRetry(int, TimeSpan?)
Configures retry behavior with max retries and optional delay.
public RabbitMqChannelOptions WithRetry(int maxRetries, TimeSpan? delay = null)