[
https://issues.apache.org/jira/browse/CAMEL-4754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13166243#comment-13166243
]
Babak Vahdat commented on CAMEL-4754:
-------------------------------------
But that check doesn't really work, because if you would do
{code}
assertEquals("balabala", routeId);
{code}
The test would still *pass*. The processor is O.K. the problem are those 2
catch blocks after the template.sendBody() calls. Maybe you want to give it a
try with that "balabala" routeId to see what I mean.
> 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: Bug
> Components: camel-core
> Affects Versions: 2.8.3
> Reporter: Babak Vahdat
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 2.9.0
>
> 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