Migrate spring-retry RetryTemplate configuration to Spring Framework 7 RetryPolicy.builder()

Proprietary

Rewrite spring-retry RetryTemplate construction to Spring Framework 7's new RetryTemplate(RetryPolicy.builder()...build()): RetryTemplate.builder() chains, including a customPolicy constructed inline or in a local used only there, RetryTemplate.defaultInstance(), and new RetryTemplate() configured in the same method through setRetryPolicy / setBackOffPolicy with SimpleRetryPolicy, MaxAttemptsRetryPolicy, NeverRetryPolicy, AlwaysRetryPolicy, TimeoutRetryPolicy, NoBackOffPolicy, FixedBackOffPolicy or ExponentialBackOffPolicy, including classifier maps built from literals. spring-retry's defaults are made explicit since Spring Framework 7's differ. Configuration with no exact Spring Framework 7 equivalent is left unchanged.

io.moderne.java.spring.boot4.MigrateSpringRetryTemplateConfiguration
mod run . --recipe=io.moderne.java.spring.boot4.MigrateSpringRetryTemplateConfiguration

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.