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

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.1.0
    • 3.2.0
    • None
    • None
    • jdk 11

      macOs 10

      camel version 3.1.0

    • 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

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

            Dates

              Created:
              Updated:
              Resolved: