Henryk Konsek created CAMEL-5533:
------------------------------------
Summary: Add loggingErrorHandler support to Scala DSL
Key: CAMEL-5533
URL: https://issues.apache.org/jira/browse/CAMEL-5533
Project: Camel
Issue Type: Improvement
Components: camel-scala
Reporter: Henryk Konsek
Assignee: Henryk Konsek
Fix For: 2.11.0
Attachments: CAMEL-5533.patch
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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira