From da7ad71b7fd29b0714ec999ae5aea10901e48af7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Deleuze?= Date: Fri, 8 Sep 2023 09:10:21 +0200 Subject: [PATCH] Refine ReactorResourceFactory Javadoc Provides more details about stop/restart scenario. See gh-31178 --- .../http/client/reactive/ReactorResourceFactory.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/spring-web/src/main/java/org/springframework/http/client/reactive/ReactorResourceFactory.java b/spring-web/src/main/java/org/springframework/http/client/reactive/ReactorResourceFactory.java index e5737b2535d..4d18d070cb8 100644 --- a/spring-web/src/main/java/org/springframework/http/client/reactive/ReactorResourceFactory.java +++ b/spring-web/src/main/java/org/springframework/http/client/reactive/ReactorResourceFactory.java @@ -39,6 +39,10 @@ import org.springframework.util.Assert; * and {@link Lifecycle} and is expected typically to be declared as a * Spring-managed bean. * + *

Notice that after a {@link Lifecycle} stop/restart, new instances of + * the configured {@link LoopResources} and {@link ConnectionProvider} are + * created, so any references to those should be updated. + * * @author Rossen Stoyanchev * @author Brian Clozel * @author Sebastien Deleuze