[
https://issues.apache.org/jira/browse/CAMEL-5533?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13442366#comment-13442366
]
Henryk Konsek commented on CAMEL-5533:
--------------------------------------
Updated documentation [1].
[1] https://cwiki.apache.org/confluence/display/CAMEL/Scala+DSL+-+EIP
> 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, 2.10.2
>
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira