Description
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>