spring-framework icon indicating copy to clipboard operation
spring-framework copied to clipboard

Add validation support for FixedBackOff and ExponentialBackOff

Open snicoll opened this issue 3 months ago • 2 comments

When creating a BackOff instance via RetryPolicy, we get validation for the individual attributes. However, when creating the BackOff implementation manually, there's no such validation.

This makes the use of the implementation a bit cumbersome as we have to replicate the validation rules the builder offers.

snicoll avatar Aug 20 '25 09:08 snicoll