mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-17 12:09:16 +00:00
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:
committed by
Andy Wilkinson
parent
a1e784e1d8
commit
28b995ad98
+6
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user