File tree Expand file tree Collapse file tree
src/main/java/org/fireflyframework/client/config Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -70,8 +70,8 @@ public ServiceClientAutoConfiguration(ServiceClientProperties properties) {
7070 }
7171
7272 @ Bean
73- @ ConditionalOnMissingBean
74- public WebClient .Builder webClientBuilder () {
73+ @ ConditionalOnMissingBean ( WebClient . Builder . class )
74+ public WebClient .Builder fireflyServiceWebClientBuilder () {
7575 log .info ("Configuring enhanced WebClient builder for REST service clients" );
7676
7777 ServiceClientProperties .Rest restConfig = properties .getRest ();
@@ -158,8 +158,8 @@ public CircuitBreakerManager circuitBreakerManager(CircuitBreakerConfig config)
158158 * Creates a default REST client builder if none is provided.
159159 */
160160 @ Bean
161- @ ConditionalOnMissingBean
162- public RestClientBuilder restClientBuilder (CircuitBreakerManager circuitBreakerManager ) {
161+ @ ConditionalOnMissingBean ( RestClientBuilder . class )
162+ public RestClientBuilder fireflyRestClientBuilder (CircuitBreakerManager circuitBreakerManager ) {
163163 log .info ("Configuring default REST client builder with enhanced circuit breaker and retry" );
164164
165165 var retryProps = properties .getRetry ();
You can’t perform that action at this time.
0 commit comments