Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-13541

Race condition in camel-hystrix when xecutionTimeoutInMilliseconds() and onFallback() are used

    XMLWordPrintableJSON

    Details

    • Estimated Complexity:
      Unknown

      Description

      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.

        Attachments

        1. HystrixTimeoutWithFallbackTest.java
          3 kB
          Andrea Tarocchi

          Activity

            People

            • Assignee:
              valdar Andrea Tarocchi
              Reporter:
              valdar Andrea Tarocchi
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 2h 20m
                2h 20m