Skip to content

Commit

Permalink
ReOrder Beans
Browse files Browse the repository at this point in the history
  • Loading branch information
rajadilipkolli authored Apr 7, 2024
1 parent e3105c9 commit 24df76f
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@
@Slf4j
public class RestClientConfiguration {

@Bean
RestClient restClient(RestClient.Builder restClientBuilder) {
return restClientBuilder.build();
}

@Bean
RestClientCustomizer restClientCustomizer(
ApplicationProperties applicationProperties,
Expand All @@ -49,11 +54,6 @@ RestClientCustomizer restClientCustomizer(
});
}

@Bean
RestClient restClient(RestClient.Builder restClientBuilder) {
return restClientBuilder.build();
}

private void logResponse(ClientHttpResponse response) throws IOException {
log.info(
"============================response begin==========================================");
Expand Down

0 comments on commit 24df76f

Please sign in to comment.