camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henryk Konsek (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-5533) Add loggingErrorHandler support to Scala DSL
Date Mon, 27 Aug 2012 11:34:08 GMT

    [ 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

Mime
View raw message