Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use SmartInitializingSingleton instead of BeanPostProcessor to set up @LoadBalanced WebClient.Builder. #1319

Merged
merged 4 commits into from
Jan 16, 2024

Conversation

OlgaMaciaszek
Copy link
Collaborator

@OlgaMaciaszek OlgaMaciaszek commented Jan 12, 2024

Fixes gh-1315.

@OlgaMaciaszek OlgaMaciaszek self-assigned this Jan 12, 2024
* @author Olga Maciaszek-Sharma
* @since 4.1.0
*/
public class LoadBalancerRestClientBuilderBeanPostProcessor implements BeanPostProcessor {
Copy link
Contributor

Choose a reason for hiding this comment

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

I dont think we can delete this public class in a minor release

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Right. I don't think anyone would use it after those changes, but you're right. Will change that.

@OlgaMaciaszek OlgaMaciaszek merged commit c8fe5d3 into main Jan 16, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BeanPostProcessors not registered correctly when @LoadBalanced bean instantiated in auto-configuration
2 participants