You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2019/09/16 15:40:00 UTC

[jira] [Commented] (CAMEL-13691) Add resilience4j circuit breaker

    [ https://issues.apache.org/jira/browse/CAMEL-13691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16930661#comment-16930661 ] 

Claus Ibsen commented on CAMEL-13691:
-------------------------------------

We should add an EIP for this like Hystrix into the model, and have a camel-resillience4j component with the implementation. This library is a fantastic CB implementation and very active maintained.

> Add resilience4j circuit breaker
> --------------------------------
>
>                 Key: CAMEL-13691
>                 URL: https://issues.apache.org/jira/browse/CAMEL-13691
>             Project: Camel
>          Issue Type: New Feature
>          Components: eip
>            Reporter: Christoph Giera
>            Priority: Major
>             Fix For: 3.x
>
>
> Hystrix is no longer in active development, netflix uses resilience4j for new internal projects, seeĀ [https://github.com/Netflix/Hystrix#Hystrix%20Status]
> Camel should also add a resilience4j component/java dsl.
> Idea for java dsl: instead of adding resilience4j on the same level like hystrix add an additional level "circuitBreaker" with the childs hystrix, resilience4j...
> {noformat}
> from(endpoint)
> .circuitBreaker()
> .useHystrix()
> .to(endpoint)
> .endCircuitBreaker();{noformat}
> {noformat}
> from(endpoint)
> .circuitBreaker()
> .useResilience4j()
> .to(endpoint)
> .endCircuitBreaker();{noformat}



--
This message was sent by Atlassian Jira
(v8.3.2#803003)