Skip to content

Commit

Permalink
Enable Resilience4JConfigurationProperties on reactive auto configura…
Browse files Browse the repository at this point in the history
…tion
  • Loading branch information
ryanjbaxter committed Dec 14, 2023
1 parent c53a8cb commit de33202
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cloud.client.circuitbreaker.Customizer;
import org.springframework.cloud.client.circuitbreaker.ReactiveCircuitBreakerFactory;
import org.springframework.context.annotation.Bean;
Expand All @@ -46,6 +47,7 @@
"io.github.resilience4j.reactor.circuitbreaker.operator.CircuitBreakerOperator" })
@ConditionalOnProperty(name = { "spring.cloud.circuitbreaker.resilience4j.enabled",
"spring.cloud.circuitbreaker.resilience4j.reactive.enabled" }, matchIfMissing = true)
@EnableConfigurationProperties(Resilience4JConfigurationProperties.class)
public class ReactiveResilience4JAutoConfiguration {

@Autowired(required = false)
Expand Down

0 comments on commit de33202

Please sign in to comment.