Packages

object HandlerRecoveryStrategy

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HandlerRecoveryStrategy
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def fail: StrictRecoveryStrategy

    If the first attempt to invoke the handler fails it will immediately give up and fail the stream.

  2. def retryAndFail(retries: Int, delay: Duration): HandlerRecoveryStrategy

    Java API: If the first attempt to invoke the handler fails it will retry invoking the handler with the same envelope this number of retries with the delay between each attempt.

    Java API: If the first attempt to invoke the handler fails it will retry invoking the handler with the same envelope this number of retries with the delay between each attempt. It will give up and fail the stream if all attempts fail.

  3. def retryAndFail(retries: Int, delay: FiniteDuration): HandlerRecoveryStrategy

    Scala API: If the first attempt to invoke the handler fails it will retry invoking the handler with the same envelope this number of retries with the delay between each attempt.

    Scala API: If the first attempt to invoke the handler fails it will retry invoking the handler with the same envelope this number of retries with the delay between each attempt. It will give up and fail the stream if all attempts fail.

  4. def retryAndSkip(retries: Int, delay: Duration): HandlerRecoveryStrategy

    Java API: If the first attempt to invoke the handler fails it will retry invoking the handler with the same envelope this number of retries with the delay between each attempt.

    Java API: If the first attempt to invoke the handler fails it will retry invoking the handler with the same envelope this number of retries with the delay between each attempt. It will give up, discard the element and continue with next if all attempts fail.

  5. def retryAndSkip(retries: Int, delay: FiniteDuration): HandlerRecoveryStrategy

    Scala API: If the first attempt to invoke the handler fails it will retry invoking the handler with the same envelope this number of retries with the delay between each attempt.

    Scala API: If the first attempt to invoke the handler fails it will retry invoking the handler with the same envelope this number of retries with the delay between each attempt. It will give up, discard the element and continue with next if all attempts fail.

  6. def skip: StrictRecoveryStrategy

    If the first attempt to invoke the handler fails it will immediately give up, discard the element and continue with next.