You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2010/11/05 15:05:00 UTC

[jira] Resolved: (CAMEL-3314) Property resolve in EIP does not work when in a sub route.

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

Claus Ibsen resolved CAMEL-3314.
--------------------------------

    Resolution: Fixed

trunk: 1031566.

Now its fixed. Thanks for reporting.

> Property resolve in EIP does not work when in a sub route.
> ----------------------------------------------------------
>
>                 Key: CAMEL-3314
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-3314
>             Project: Apache Camel
>          Issue Type: Bug
>    Affects Versions: 2.5.0
>            Reporter: Andreas Asmuss
>            Assignee: Claus Ibsen
>             Fix For: 2.6.0
>
>
> The 2.5 feature: "The EIP now supports property placeholders in the String based options (a few spots in Java DSL where its not possible). For example: 
> <convertBodyTo type="String" charset="{{foo.myCharset}}"/>" does not work correctly when ie nested in a <choice> tag.
> See discussion: http://camel.465427.n5.nabble.com/Camel-2-5-Propertyplaceholders-and-Spring-DSL-still-not-working-td3251608.html#a3251608
> Example route:
> This works: 
> <route> 
>         <from uri="direct:in" /> 
>         <convertBodyTo type="String" charset="{{charset.external}}" />	
>         <log message="Charset: {{charset.external}}" /> 
>         <to uri="mock:out" /> 
> </route> 
> This fails: 
> <route> 
>         <from uri="direct:in" /> 
>         <choice> 
>                 <when> 
>                         <constant>true</constant> 
>                         <convertBodyTo type="String" charset="{{charset.external}}" />	
>                 </when> 
>         </choice> 
>         <to uri="mock:out" /> 
> </route> 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.