final class SendRetrySettings extends AnyRef
When a connection to a broker starts failing, sending JMS messages will also fail. Those failed messages can be retried at the cost of potentially duplicating the failed messages.
- Source
- SendRetrySettings.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- SendRetrySettings
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- val backoffFactor: Double
- val initialRetry: FiniteDuration
- val maxBackoff: FiniteDuration
- val maxRetries: Int
- def toString(): String
- Definition Classes
- SendRetrySettings → AnyRef → Any
- def waitTime(retryNumber: Int): FiniteDuration
The wait time before the next attempt may be made.
- def withBackoffFactor(value: Double): SendRetrySettings
Back-off factor for subsequent retries
- def withInfiniteRetries(): SendRetrySettings
Do not limit the number of retries.
- def withInitialRetry(value: Duration): SendRetrySettings
Java API: Wait time before retrying the first time.
- def withInitialRetry(value: FiniteDuration): SendRetrySettings
Wait time before retrying the first time.
- def withMaxBackoff(value: Duration): SendRetrySettings
Java API: Maximum back-off time allowed, after which all retries will happen after this delay.
- def withMaxBackoff(value: FiniteDuration): SendRetrySettings
Maximum back-off time allowed, after which all retries will happen after this delay.
- def withMaxRetries(value: Int): SendRetrySettings
Maximum number of retries allowed.