Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
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.