RetryStrategyInterface
in
Tags
Table of Contents
Methods
- getWaitingTime() : int
- isRetryable() : bool
Methods
getWaitingTime()
public
getWaitingTime(Envelope $message[, Throwable|null $throwable = null ]) : int
Parameters
- $message : Envelope
- $throwable : Throwable|null = null
-
The cause of the failed handling
Return values
int —The time to delay/wait in milliseconds
isRetryable()
public
isRetryable(Envelope $message[, Throwable|null $throwable = null ]) : bool
Parameters
- $message : Envelope
- $throwable : Throwable|null = null
-
The cause of the failed handling