Andrea Tarocchi created CAMEL-13541:
---------------------------------------

             Summary: Race condition in camel-hystrix when 
xecutionTimeoutInMilliseconds() and onFallback() are used 
                 Key: CAMEL-13541
                 URL: https://issues.apache.org/jira/browse/CAMEL-13541
             Project: Camel
          Issue Type: Bug
          Components: camel-hystrix
    Affects Versions: 2.18.0
            Reporter: Andrea Tarocchi
         Attachments: HystrixTimeoutWithFallbackTest.java

If e{{xecutionTimeoutInMilliseconds()}} and {{onFallback()}} are used together 
in a camel hystrix definition. When an Hystrix timeout occurs there might be 
race conditions in modifying the running exchange between the 2 hystrix threads 
running in {{HystrixProcessorCommand.run()}} and {{HystrixProcessorCommand.()}}.

This can be verified running the attached modified 
{{HystrixTimeoutWithFallbackTest}} test inside {{components/camel-hystrix}}.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to