object HandlerRecoveryStrategy
- Alphabetic
- By Inheritance
- HandlerRecoveryStrategy
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- def fail: StrictRecoveryStrategy
If the first attempt to invoke the handler fails it will immediately give up and fail the stream.
- 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 thedelay
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 thedelay
between each attempt. It will give up and fail the stream if all attempts fail. - 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 thedelay
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 thedelay
between each attempt. It will give up and fail the stream if all attempts fail. - 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 thedelay
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 thedelay
between each attempt. It will give up, discard the element and continue with next if all attempts fail. - 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 thedelay
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 thedelay
between each attempt. It will give up, discard the element and continue with next if all attempts fail. - def skip: StrictRecoveryStrategy
If the first attempt to invoke the handler fails it will immediately give up, discard the element and continue with next.