[ 
https://issues.apache.org/jira/browse/CAMEL-6429?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13675898#comment-13675898
 ] 

Claus Ibsen commented on CAMEL-6429:
------------------------------------

Can you try upgrade to newer release and as well test with SNAPSHOT. We have 
fixed property placeholder resolution recently for nested elements, and thus 
very likely fixed this also.
                
> 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
>
> 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

Reply via email to