camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Wehner (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-6429) Shorthand usage of property placeholders in onException does not work.
Date Thu, 06 Jun 2013 10:13:20 GMT

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

Adam Wehner commented on CAMEL-6429:
------------------------------------

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

Mime
View raw message