[
https://issues.apache.org/jira/browse/CAMEL-12100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16307931#comment-16307931
]
Oskar Huminiecki commented on CAMEL-12100:
------------------------------------------
OK, I will..
> 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
>
> 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
(v6.4.14#64029)