Skip to content

Commit 72eaeec

Browse files
committed
Allow other configures to run before PropertiesRestClientHttpServiceGroupConfigurer
Closes gh-48296
1 parent 8eb9064 commit 72eaeec

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

module/spring-boot-restclient/src/main/java/org/springframework/boot/restclient/autoconfigure/service/PropertiesRestClientHttpServiceGroupConfigurer.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,11 @@
4848
*/
4949
class PropertiesRestClientHttpServiceGroupConfigurer implements RestClientHttpServiceGroupConfigurer {
5050

51+
/**
52+
* The default order for the PropertiesRestClientHttpServiceGroupConfigurer.
53+
*/
54+
private static final int DEFAULT_ORDER = Ordered.HIGHEST_PRECEDENCE + 10;
55+
5156
private final HttpServiceClientProperties properties;
5257

5358
private final HttpClientSettingsPropertyMapper clientSettingsPropertyMapper;
@@ -66,7 +71,7 @@ class PropertiesRestClientHttpServiceGroupConfigurer implements RestClientHttpSe
6671

6772
@Override
6873
public int getOrder() {
69-
return Ordered.HIGHEST_PRECEDENCE;
74+
return DEFAULT_ORDER;
7075
}
7176

7277
@Override

0 commit comments

Comments
 (0)