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 2018/04/13 07:25:00 UTC
[jira] [Resolved] (CAMEL-12100) Camel Hystrix component should be
transparent for exceptions while `closed` and not using fallback
[ https://issues.apache.org/jira/browse/CAMEL-12100?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-12100.
---------------------------------
Resolution: Incomplete
> Camel Hystrix component should be transparent for exceptions while `closed` and not using fallback
> ---------------------------------------------------------------------------------------------------
>
> Key: CAMEL-12100
> URL: https://issues.apache.org/jira/browse/CAMEL-12100
> Project: Camel
> Issue Type: Improvement
> Components: camel-hystrix
> Affects Versions: 2.19.4
> Reporter: Oskar Huminiecki
> Priority: Major
>
> Circuit breaker should be transparent when `closed` - so until it is `open` all exceptions should be passed through not wrapped as it happening now (when fallback is disabled)
> Hystrix library always wraps cause with `HystrixRuntimeException` but Java aspect implementation unwraps it and in result annotation based hystrix in Java is transparent.
> And it should behave same way in Camel.
> As it would be big change in existing behaviour I would suggest new parameter `transparent` default to `false`. When set to true then original cause would be re-thrown (as it is implemented in `HystrixCommandAspect` from `hystrix-javanica`)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)