Hello Olivier! May be this unit test is helpful for you:
https://svn.apache.org/repos/asf/camel/trunk/tests/camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/blueprint/CamelBlueprint3Test.java https://svn.apache.org/repos/asf/camel/trunk/tests/camel-itest-osgi/src/test/resources/org/apache/camel/itest/osgi/blueprint/blueprint-8.xml https://svn.apache.org/repos/asf/camel/trunk/tests/camel-itest-osgi/src/test/resources/org/apache/camel/itest/osgi/blueprint/cheese.properties Best, Christian On Thu, Apr 4, 2013 at 12:04 AM, Olivier Lamy <ol...@apache.org> wrote: > 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 >