I submitted a patch to Camel Scala module, so starting from the Camel 2.10, Scala DSL supports loggingErrorHandler as well as the Java DSL does.
"jms:in" errorHandler(loggingErrorHandler.level(LoggingLevel.INFO).logName("com.example.MyLogger")) to "jms:out"
And yeah, I also find Scala Camel syntax even more sexy than Java version. :)
No comments:
Post a Comment