Allow other configurers to run before PropertiesWebClientHttpServiceGroupConfigurer

Apply the same fix as 72eaeecd5c to the WebClient sibling so that a
WebClientHttpServiceGroupConfigurer can be ordered ahead of the
properties configurer to supply an initial WebClient.Builder.

Signed-off-by: Lee JiWon <dlwldnjs1009@gmail.com>

See gh-50737
This commit is contained in:
Lee JiWon
2026-06-24 12:15:19 +01:00
committed by Andy Wilkinson
parent a1e784e1d8
commit 28b995ad98
@@ -47,6 +47,11 @@ import org.springframework.web.service.registry.HttpServiceGroup;
*/
class PropertiesWebClientHttpServiceGroupConfigurer implements WebClientHttpServiceGroupConfigurer {
/**
* The default order for the PropertiesWebClientHttpServiceGroupConfigurer.
*/
private static final int DEFAULT_ORDER = Ordered.HIGHEST_PRECEDENCE + 10;
private final HttpServiceClientProperties properties;
private final HttpClientSettingsPropertyMapper clientSettingsPropertyMapper;
@@ -65,7 +70,7 @@ class PropertiesWebClientHttpServiceGroupConfigurer implements WebClientHttpServ
@Override
public int getOrder() {
return Ordered.HIGHEST_PRECEDENCE;
return DEFAULT_ORDER;
}
@Override