Adam Wehner created CAMEL-6429:
----------------------------------
Summary: 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