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

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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • 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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            valdar Andrea Tarocchi
            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

                Slack

                  Issue deployment