[ 
https://issues.apache.org/jira/browse/CAMEL-6429?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen resolved CAMEL-6429.
--------------------------------

    Resolution: Fixed
      Assignee: Claus Ibsen

Thanks for testing and reporting back
                
> 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
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.11.0, 2.10.4
>
>
> 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