Ok for the nested properties.
But my other question concerns usage of property in from uri.
<from uri="{{productImport.uri.location}}" />
Is that supported ? It looks the scheme is a minimum.



2013/4/3 Claus Ibsen <claus.ib...@gmail.com>:
> Hi
>
> You can use {{ }} in the .properties file then Camel will pick that up.
>
> Support for using nested Spring ${ } is being tracked by
> https://issues.apache.org/jira/browse/CAMEL-6233
>
> And added in upcoming releases.
>
>
> On Wed, Apr 3, 2013 at 1:50 PM, Olivier Lamy <ol...@apache.org> wrote:
>> Hi,
>>
>> I'd like to be able to use something like:
>>
>> <from uri="{{productImport.uri.location}}" />
>>
>> But I have issues with that.
>> Exception:
>> Caused by: org.apache.camel.NoSuchEndpointException: No endpoint could
>> be found for: {{productImport.uri.location}}, please check your
>> classpath contains the needed Camel component jar.
>>
>> more details available here: https://gist.github.com/olamy/5298824
>>
>> Is it possible to use a placeholder for the whole uri ?
>> Or the scheme (sftp, etc) is a minimum requited ?
>>
>> Thanks
>> --
>> Olivier Lamy
>> Ecetera: http://ecetera.com.au
>> http://twitter.com/olamy | http://linkedin.com/in/olamy
>
>
>
> --
> Claus Ibsen
> -----------------
> Red Hat, Inc.
> FuseSource is now part of Red Hat
> Email: cib...@redhat.com
> Web: http://fusesource.com
> Twitter: davsclaus
> Blog: http://davsclaus.com
> Author of Camel in Action: http://www.manning.com/ibsen



-- 
Olivier Lamy
Ecetera: http://ecetera.com.au
http://twitter.com/olamy | http://linkedin.com/in/olamy

Reply via email to