You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Claus Ibsen <cl...@gmail.com> on 2016/11/01 11:28:16 UTC

Re: Camel Hystrix behaviour when circuit is open

Hi

Ah sorry didn't spot this email. Only now when I searched for hystrix
in our user forum. We got this reported recently again. I logged a
ticket and fixed it: https://issues.apache.org/jira/browse/CAMEL-10430

On Tue, Oct 25, 2016 at 3:59 PM, jamesnetherton
<ja...@gmail.com> wrote:
> Hi all,
>
> I've been experimenting with camel-hystrix and wanted to check what the
> expected (or correct) behaviour should be when the Hystrix circuit is open.
>
> Looking at HystrixProcessorCommand.getFallback(), the fallback command is
> only ever run if a prior exception was encountered. However, when the
> circuit is in the open state, I'd expect a 'short-circuit' and the default
> action would be to just invoke the fallback command (if configured).
>
> I'm basing my assumptions on the Hystrix docs:
>
> https://github.com/Netflix/Hystrix/wiki/How-it-Works
>
> Is this a bug? Or am i misunderstanding how it should work in Camel?
>
> --
> James
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Camel-Hystrix-behaviour-when-circuit-is-open-tp5789223.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2