You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2013/02/28 06:25:13 UTC
[jira] [Resolved] (CAMEL-6109) step in a block
runs when the tag is closed in the wrong place
[ https://issues.apache.org/jira/browse/CAMEL-6109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-6109.
--------------------------------
Resolution: Not A Problem
Fix Version/s: 2.11.0
Assignee: Claus Ibsen
> <to/> step in a <doCatch/> block runs when the <doTry/> tag is closed in the wrong place
> ----------------------------------------------------------------------------------------
>
> Key: CAMEL-6109
> URL: https://issues.apache.org/jira/browse/CAMEL-6109
> Project: Camel
> Issue Type: Bug
> Components: camel-core
> Affects Versions: 2.10.3
> Environment: Windows dev
> Reporter: Matt Pavlovich
> Assignee: Claus Ibsen
> Fix For: 2.11.0
>
>
> Example route:
> <doTry>
> <to ... >
> </doTry>
> <doCatch>
> <exception>java.lang.Exception</exception>
> <to uri="log.... "/>
> </doCatch>
> The <to uri="log..."/> line will execute every time, regardless if there is an exception or not.
> I believe the preferred behavior would be that the route should fails to load/validate. Alternatively, the <to uri="log.." /> should not run when there is not an exception.
> Thanks!
--
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