Skip to content

Support timeout option in RetryPolicySettings#50891

Open
Chrisg2000 wants to merge 1 commit into
spring-projects:mainfrom
Chrisg2000:retrypolicy_timeout
Open

Support timeout option in RetryPolicySettings#50891
Chrisg2000 wants to merge 1 commit into
spring-projects:mainfrom
Chrisg2000:retrypolicy_timeout

Conversation

@Chrisg2000

Copy link
Copy Markdown

Overview

Adds support for configuring the timeout parameter for RetryPolicy in Spring Boot's RetryPolicySettings.

Background

Spring Framework 7.0.2 introduced a timeout property to RetryPolicy. However, this parameter did not yet have a counterpart in Spring Boot's RetryPolicySettings. This PR adds it, so users can leverage the option via RetryPolicySettings (like through configuration files, etc.)

Signed-off-by: Chris <udo2000@freenet.de>
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Jun 29, 2026
@snicoll snicoll changed the title Add timeout option to RetryPolicySettings Support timeout option in RetryPolicySettings Jun 30, 2026
@snicoll

snicoll commented Jun 30, 2026

Copy link
Copy Markdown
Member

Thanks for the PR. We shouldn't have to create a default retry policy to get the default value. I've created spring-projects/spring-framework#36983.

@snicoll snicoll added type: enhancement A general enhancement and removed status: waiting-for-triage An issue we've not yet triaged labels Jun 30, 2026
@snicoll snicoll added this to the 4.2.x milestone Jun 30, 2026
@snicoll snicoll added status: blocked An issue that's blocked on an external project change for: merge-with-amendments Needs some changes when we merge and removed status: blocked An issue that's blocked on an external project change labels Jun 30, 2026
@snicoll

snicoll commented Jul 6, 2026

Copy link
Copy Markdown
Member

When merging we should use the new constant that has been introduced in spring-projects/spring-framework#36983

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

for: merge-with-amendments Needs some changes when we merge type: enhancement A general enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants