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

ErrorHandler - Catch Throwable to handle all kind of exceptions

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0, 2.1.0
    • 2.2.0
    • camel-core
    • None

    Description

      Let the Camel ErrorHandler catch all exceptions so they will be dealt with such as logged and whatnot. We have a case with CAMEL-2445 where the JDK itself did not even log an Error which was thrown out of bounds on a Thread. Then that issue was hard to identify as it was no trace of it in the logs. Bad bad JDK

      So we let the Camel error handler catch all kinds and let it deal with it, it will by default log it at ERROR level so you got a trace of it it the logs now.

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            davsclaus Claus Ibsen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: