Table of Contents

Method WithRetry

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

WithRetry(Action<RetryOptions>)

Configures retry behavior using a builder callback.

public RabbitMqChannelOptions WithRetry(Action<RetryOptions> configure)

Parameters

configure Action<RetryOptions>

Returns

RabbitMqChannelOptions

WithRetry(int, TimeSpan?)

Configures retry behavior with max retries and optional delay.

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

Parameters

maxRetries int
delay TimeSpan?

Returns

RabbitMqChannelOptions