The RetryTemplate#invoke methods (implemented via #36052) are very useful for programmatic retry behavior, but I don't see them documented at https://docs.spring.io/spring-framework/reference/core/resilience.html#resilience-programmatic-retry
It would be good to document how exceptions should be used (Basically, what was explained in this comment), and the invoke variants that help with this.
The RetryTemplate#invoke methods (implemented via #36052) are very useful for programmatic retry behavior, but I don't see them documented at https://docs.spring.io/spring-framework/reference/core/resilience.html#resilience-programmatic-retry
It would be good to document how exceptions should be used (Basically, what was explained in this comment), and the
invokevariants that help with this.