blob: 396a5261bbb7116df1affa38c57d4bebabe36990 [file] [log] [blame]
= Resilience4j Component
:page-source: components/camel-resilience4j/src/main/docs/resilience4j.adoc
*Since Camel 3.0*
This component supports the Circuit Breaker EIP with the Resilience4j library.
For more details see the Circuit Breaker EIP documentation.
Maven users will need to add the following dependency to their `pom.xml`
for this component:
[source,xml]
----
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-resilience4j</artifactId>
<version>x.x.x</version>
<!-- use the same version as your Camel core version -->
</dependency>
----
// spring-boot-auto-configure options: START
== Spring Boot Auto-Configuration
When using Spring Boot make sure to use the following Maven dependency to have support for auto configuration:
[source,xml]
----
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-resilience4j-starter</artifactId>
<version>x.x.x</version>
<!-- use the same version as your Camel core version -->
</dependency>
----
// spring-boot-auto-configure options: END