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

Add loggingErrorHandler support to Scala DSL

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.10.2, 2.11.0
    • camel-scala
    • None
    • Unknown

    Description

      Scala DSL doesn't provide loggingErrorHandler syntax (as Java DSL does).

      In Java I can define loggingErrorHandler as follows:

      from("direct:start").errorHandler(loggingErrorHandler().level(LoggingLevel.WARN).logName(""))...

      In Scala the following doesn't compile:

      "direct:start" errorHandler(loggingErrorHandler().level(LoggingLevel.WARN).logName("")) ...

      Scala DSL should provide loggingErrorHandler builder method as well.

      Attachments

        1. CAMEL-5533.patch
          5 kB
          Henryk Konsek

        Activity

          People

            hekonsek Henryk Konsek
            hekonsek Henryk Konsek
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: