See this FAQ http://camel.apache.org/how-do-i-use-spring-property-placeholder-with-camel-xml.html
On Mon, May 9, 2011 at 4:04 PM, Michael Prieß <[email protected]> wrote: > Hi all, > > i like to set placeholders for hostname, user, password in Spring DSL > is it possible? A short example would be nice. I use Apache Camel 2.7 > and Tomcat 6.0 > > > I tried it with the following but it looks like that camel doesn't > like the placeholders after the component URI http > <to uri="http://${server}?authUsername=${user}&authPassword=${password}" > /> > > Regards, > > Michael > -- Claus Ibsen ----------------- FuseSource Email: [email protected] Web: http://fusesource.com CamelOne 2011: http://fusesource.com/camelone2011/ Twitter: davsclaus Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/
