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

camel-core - Thread stuck if exception is thrown in handle(Predicate) with onException

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.0
    • Fix Version/s: 3.2.0
    • Component/s: None
    • Labels:
      None
    • Environment:

      jdk 11

      macOs 10

      camel version 3.1.0

    • Estimated Complexity:
      Unknown

      Description

      If an exception is thrown from the predicate of the .handled() method of an onException block the thread gets stuck and the producerTemplate is waiting infinitely for a response.

       

      I attached a small project reproducing the issue

        Attachments

        1. camel-deadlock.tgz
          2 kB
          Sebastian Bösl

          Activity

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              sbo13 Sebastian Bösl
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: