In Camel 2.4 you can refer to lookup in the registry for any Properties instance http://camel.apache.org/properties
location=ref:myProperties Where myProperties is a java.util.Properties instance. On Tue, Aug 24, 2010 at 2:11 PM, Mond Raymond <[email protected]> wrote: > > In Spring I can do this: > > <bean id="propertiesUrl" class="org.springframework.core.io.UrlResource"> > <constructor-arg> > <jee:jndi-lookup > jndi-name="url/CamelFlatFileToQueueProperties"/> > </constructor-arg> > </bean> > > <bean id="propertyConfigurer" > class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"> > <property name="location" ref="propertiesUrl"/> > </bean> > > I cannot see how to do that using the new Properties. Any advice? > > Thanks > > Ray > -- > View this message in context: > http://camel.465427.n5.nabble.com/2-4-0-Properties-via-URL-tp2651118p2651118.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Claus Ibsen Apache Camel Committer Author of Camel in Action: http://www.manning.com/ibsen/ Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus
