Skip to content

Conversation

@ryanjbaxter
Copy link
Contributor

@ryanjbaxter ryanjbaxter commented Nov 4, 2025

No description provided.

@ryanjbaxter ryanjbaxter requested a review from Copilot November 4, 2025 21:34
@ryanjbaxter ryanjbaxter changed the title Initial implementation of a retry filter based on Spring Framework's … Retry filter based on Spring Framework's retry functionality Nov 4, 2025
@ryanjbaxter ryanjbaxter added this to the 5.0.0-RC1 milestone Nov 4, 2025
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces a new FrameworkRetry filter based on Spring Framework's retry functionality as an alternative to the existing Retry filter (which depends on Spring Retry). The existing Retry filter is deprecated since Spring Retry has been placed in maintenance-only mode.

Key changes:

  • Added FrameworkRetryFilterFunctions with retry logic using Spring Framework's RetryTemplate and custom RetryPolicy
  • Deprecated RetryFilterFunctions and refactored it to reuse RetryConfig and RetryException from the new framework retry implementation
  • Added comprehensive test coverage for the new retry filter including body caching scenarios
  • Updated documentation to warn users about the deprecated filter and recommend the new framework-based filter

Reviewed Changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
FrameworkRetryFilterFunctions.java New retry filter implementation using Spring Framework retry support with custom composite retry policy
RetryFilterFunctions.java Deprecated existing retry filter and refactored to reuse RetryConfig and RetryException from FrameworkRetryFilterFunctions
FrameworkRetryFilterFunctionTests.java Added unit tests for framework retry filter covering GET and POST with body caching
HttpClientApplication.java Added integration test route and controller endpoint for framework retry
HttpClientApplicationTests.java Added integration test verifying framework retry behavior
framework-retry.adoc New documentation page for framework retry filter with examples and warnings
retry.adoc Added deprecation warning directing users to the new framework retry filter
nav.adoc Added navigation link to framework retry filter documentation
NettyRoutingFilterIntegrationTests.java Code formatting improvement (multi-line method chain)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 9 out of 9 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 9 out of 9 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ryanjbaxter ryanjbaxter marked this pull request as ready for review November 5, 2025 00:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

2 participants