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
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SendRetrySettings
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. val backoffFactor: Double
  2. val initialRetry: FiniteDuration
  3. val maxBackoff: FiniteDuration
  4. val maxRetries: Int
  5. def toString(): String
    Definition Classes
    SendRetrySettings → AnyRef → Any
  6. def waitTime(retryNumber: Int): FiniteDuration

    The wait time before the next attempt may be made.

  7. def withBackoffFactor(value: Double): SendRetrySettings

    Back-off factor for subsequent retries

  8. def withInfiniteRetries(): SendRetrySettings

    Do not limit the number of retries.

  9. def withInitialRetry(value: Duration): SendRetrySettings

    Java API: Wait time before retrying the first time.

  10. def withInitialRetry(value: FiniteDuration): SendRetrySettings

    Wait time before retrying the first time.

  11. def withMaxBackoff(value: Duration): SendRetrySettings

    Java API: Maximum back-off time allowed, after which all retries will happen after this delay.

  12. def withMaxBackoff(value: FiniteDuration): SendRetrySettings

    Maximum back-off time allowed, after which all retries will happen after this delay.

  13. def withMaxRetries(value: Int): SendRetrySettings

    Maximum number of retries allowed.