[
https://issues.apache.org/jira/browse/CAMEL-4754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13165365#comment-13165365
]
Babak Vahdat commented on CAMEL-4754:
-------------------------------------
Maybe just as a small hint, I attached a screenshot showing the cause of the
problem: the LogProcessor gets (correctly) wired with the simple expression
we've on log DSL, like:
{code}
onException(Exception.class)
.log("Error due ${exception.message}");
{code}
But with the *wrong* CamelLoggger object which is to be used for the route
'bar'. Correctly it should be wired to the CamelLogger of the route 'foo'.
> The onException clause should make use of the correct logger name given
> through the log DSL
> --------------------------------------------------------------------------------------------
>
> Key: CAMEL-4754
> URL: https://issues.apache.org/jira/browse/CAMEL-4754
> Project: Camel
> Issue Type: Improvement
> Components: camel-core
> Affects Versions: 2.9.0
> Reporter: Babak Vahdat
> Priority: Minor
> Attachments: debugger.jpg
>
>
> See
> http://camel.465427.n5.nabble.com/global-onException-clause-wrongly-identifies-route-in-which-exception-occurs-log-name-td5058304.html
--
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