Hi,
I tried to use the @Retryable annotation in spring boot with a configurable delay and exponential backoff. This is how I tried it:
@Retryable(
maxAttemptsExpression = "3",
backoff = @Backoff(delayExpression = "600", multiplier = 2, maxDelay = 10000)
)
The maxAttemptsExpression and delayExpression are actually filled with environment variables via "${...}"
Expected: exponential delay as described in the documentation
Actual: constant delay of 600ms
When I change it to delay = 600 then it's working as expected. I checked it with spring-retry 2.0.4
Thanks for having a look!
Regards, Michael
Hi,
I tried to use the
@Retryableannotation in spring boot with a configurable delay and exponential backoff. This is how I tried it:The
maxAttemptsExpressionanddelayExpressionare actually filled with environment variables via"${...}"Expected: exponential delay as described in the documentation
Actual: constant delay of 600ms
When I change it to
delay = 600then it's working as expected. I checked it with spring-retry 2.0.4Thanks for having a look!
Regards, Michael