camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henryk Konsek <>
Subject Added loggingErrorHandler builder for Scala DSL
Date Wed, 22 Aug 2012 13:30:35 GMT

Scala DSL lacks loggingErrorHandler builder method, which makes it
less expressive than Java DSL in that matter.

// In Java I can define loggingErrorHandler as follows
// In Scala the following route doesn't compile:
errorHandler(loggingErrorHandler().level(LoggingLevel.WARN).logName("")) ...

Scala DSL should provide loggingErrorHandler builder method as well.

I've prepared a patch solving this issue [1]. Could somebody review it
and commit to the trunk?



Henryk Konsek

View raw message