This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git
commit 7838ec81e5847054441f7425c50426cf7172289c Author: Otavio R. Piske <angusyo...@gmail.com> AuthorDate: Sat Feb 24 11:38:52 2024 +0100 CAMEL-20459: documentation fixes for the circuit breaker EIP. Signed-off-by: Otavio R. Piske <angusyo...@gmail.com> --- .../src/main/docs/modules/eips/pages/circuitBreaker-eip.adoc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/core/camel-core-engine/src/main/docs/modules/eips/pages/circuitBreaker-eip.adoc b/core/camel-core-engine/src/main/docs/modules/eips/pages/circuitBreaker-eip.adoc index b37c8da4102..8deb8758a53 100644 --- a/core/camel-core-engine/src/main/docs/modules/eips/pages/circuitBreaker-eip.adoc +++ b/core/camel-core-engine/src/main/docs/modules/eips/pages/circuitBreaker-eip.adoc @@ -16,11 +16,11 @@ image::eip/CircuitBreaker.png[image] The states are as follows: -* *Closed* — When operating successfully. -* *Open* — When failure is detected, and the breaker opens to short-circuit and fail +* *Closed*: When operating successfully. +* *Open*: When failure is detected, and the breaker opens to short-circuit and fails fast. In this state, the circuit breaker avoids invoking the protected operation and - avoids putting additional load on the struggling service. -* *Half Open* — After a short period in the open state, an operation is attempted to + avoids putting the additional load on the struggling service. +* *Half-Open*: After a short period in the open state, an operation is attempted to see whether it can complete successfully, and depending on the outcome, it will transfer to either open or closed state. @@ -79,5 +79,5 @@ XML:: Camel provides two implementations of this pattern: -* xref:resilience4j-eip.adoc[Resilience4j] - Using the Resilience4j implementation -* xref:fault-tolerance-eip.adoc[Fault Tolerance] - Using the MicroProfile Fault Tolerance implementation +* xref:resilience4j-eip.adoc[Resilience4j]: Using the Resilience4j implementation +* xref:fault-tolerance-eip.adoc[Fault Tolerance]: Using the MicroProfile Fault Tolerance implementation