You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Andrea Tarocchi (JIRA)" <ji...@apache.org> on 2019/05/17 13:17:00 UTC

[jira] [Assigned] (CAMEL-13541) Race condition in camel-hystrix when xecutionTimeoutInMilliseconds() and onFallback() are used

     [ https://issues.apache.org/jira/browse/CAMEL-13541?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrea Tarocchi reassigned CAMEL-13541:
---------------------------------------

    Assignee: Andrea Tarocchi

> 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
>            Assignee: Andrea Tarocchi
>            Priority: Major
>         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)