Skip to content

Add validation support for FixedBackOff and ExponentialBackOffΒ #35357

@snicoll

Description

@snicoll

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    in: coreIssues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancement

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions