Class ReconnectOptions
Reconnect after a connection or a link is lost while a route runs (RedbRoute:Reconnect). The start of a
consumer has its own retry (); this one keeps the route Started and
reports the loss through the endpoint's health. Used by every connector that reports its connections to a
.
public sealed class ReconnectOptions
Inheritance
Properties
AttemptTimeout
The longest wait for one connect of an attempt. A connect that has not finished by then counts as failed, and a
public TimeSpan AttemptTimeout { get; set; }
Delay
Pause before the first attempt after a loss. Default: 1 second.
public TimeSpan Delay { get; set; }
MaxDelay
The longest pause between two attempts. Default: 30 seconds.
public TimeSpan MaxDelay { get; set; }
Multiplier
Factor the pause grows by after each failed attempt. Default: 2.
public double Multiplier { get; set; }
WarningPeriod
How long a loss is reported as health Warning before it turns Critical, for clients that heal short blips by
public TimeSpan WarningPeriod { get; set; }