You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Adam Wehner (JIRA)" <ji...@apache.org> on 2013/06/06 12:13:21 UTC
[jira] [Comment Edited] (CAMEL-6429) Shorthand usage of property
placeholders in onException does not work.
[ https://issues.apache.org/jira/browse/CAMEL-6429?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13676886#comment-13676886 ]
Adam Wehner edited comment on CAMEL-6429 at 6/6/13 10:12 AM:
-------------------------------------------------------------
Okay. The issue is fixed in 2.10.4 and 2.11.0. Thanks. From my point of view this issue can be closed.
was (Author: adam.wehner):
Okay. The issue is fixed in 2.10.4 and 2.11.0. Thanks.
> Shorthand usage of property placeholders in onException does not work.
> ----------------------------------------------------------------------
>
> Key: CAMEL-6429
> URL: https://issues.apache.org/jira/browse/CAMEL-6429
> Project: Camel
> Issue Type: Bug
> Affects Versions: 2.10.1
> Reporter: Adam Wehner
> Priority: Minor
> Fix For: 2.10.4, 2.11.0
>
>
> The syntax {{propName}} does not resolve in the onException block and the header is set with the value {{propName}}. The syntax ${properties:propName} does work as expected. Further the shorthand syntax also works correctly in the usual route.
> <camel:onException>
> <camel:exception>java.lang.Exception</camel:exception>
> <camel:setHeader headerName="anyHeaderName">
> <camel:simple>{{myPropName}}</camel:simple>
> </camel:setHeader>
> ..
> </camel:onException>
--
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