[
https://issues.apache.org/jira/browse/CAMEL-11279?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16009736#comment-16009736
]
ASF GitHub Bot commented on CAMEL-11279:
----------------------------------------
GitHub user anton-k11 opened a pull request:
https://github.com/apache/camel/pull/1694
CAMEL-11279 test and fix
Fix and JUnit test for https://issues.apache.org/jira/browse/CAMEL-11279
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/anton-k11/camel master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/camel/pull/1694.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1694
----
commit 758c5a0e5a0b070f0ade5dd1716fc50301e0751d
Author: Anton Krosnev <[email protected]>
Date: 2017-05-14T12:09:18Z
Camel-hystrix test, which checks if the Hystrix in the route is
short-circuited after some errors.
commit cffa13cb8106731ba94aaff85a9dd81715315306
Author: Anton Krosnev <[email protected]>
Date: 2017-05-14T12:51:21Z
Fixing source stile
commit c15a0cf0f538ef774c877764b3081d98cb9be8db
Author: Anton Krosnev <[email protected]>
Date: 2017-05-14T13:21:43Z
Fixing Camel hystrix issue:
https://issues.apache.org/jira/browse/CAMEL-11279
----
> Camel hystrix does not handle exceptions properly
> -------------------------------------------------
>
> Key: CAMEL-11279
> URL: https://issues.apache.org/jira/browse/CAMEL-11279
> Project: Camel
> Issue Type: Bug
> Components: camel-hystrix
> Affects Versions: 2.18.2, 2.18.3, 2.19.0
> Environment: spring boot 1.4.2
> Reporter: Anton Krosnev
> Fix For: 2.18.4, 2.19.1
>
>
> Exceptions in the route executed by Hystrix are not propagated to Hystrix
> itself and main features such as "circuit open" are not available, when
> errors pack up. The scenario was working with fallbackEnabled="true" in
> 2.18.1.
> I have prepared a JUnit test:
> https://github.com/anton-k11/camel/blob/cffa13cb8106731ba94aaff85a9dd81715315306/components/camel-hystrix/src/test/java/org/apache/camel/component/hystrix/processor/HystrixCircutExceptionTest.java
> The test works fine if the IOException on line 110 is comment out and instead
> a Thread.sleep is used to simulate timeout.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)