diff --git a/module/spring-boot-webclient/src/main/java/org/springframework/boot/webclient/autoconfigure/service/PropertiesWebClientHttpServiceGroupConfigurer.java b/module/spring-boot-webclient/src/main/java/org/springframework/boot/webclient/autoconfigure/service/PropertiesWebClientHttpServiceGroupConfigurer.java index b4460fbab52d..c9d5770316f0 100644 --- a/module/spring-boot-webclient/src/main/java/org/springframework/boot/webclient/autoconfigure/service/PropertiesWebClientHttpServiceGroupConfigurer.java +++ b/module/spring-boot-webclient/src/main/java/org/springframework/boot/webclient/autoconfigure/service/PropertiesWebClientHttpServiceGroupConfigurer.java @@ -47,6 +47,11 @@ */ 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