Hi This should work, see for example the SpringCamelContextThreadPoolProfilesWithPlaceholderTest.xml from the unit tests of camel-spring.
On Fri, May 18, 2012 at 5:58 PM, javaxmlsoapdev <[email protected]> wrote: > camel doesn't recognize spring property format ${} doesn't work. Also look at > this post where user was able to use camel property component > http://grokbase.com/t/camel/users/122gn6jvjq/property-placeholder > > Following camel link also suggests we don't need to put {{ }} > http://camel.apache.org/properties.html > > > > I am fine to get rid of camel property component completely if somehow I can > pass spring property to following..(I know that's not a valid syntax but > imagining something like it) > > <camel:threadPoolProfile defaultProfile="true" > id="customThreadPool" > poolSize=${threadPool.defaultPoolSize} > maxPoolSize=${threadPool.maxPoolSize} > /> > > > Any ideas? > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Unable-to-read-properties-from-camel-PropertiesComponent-tp5711888p5712002.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- CamelOne 2012 Conference, May 15-16, 2012: http://camelone.com FuseSource Email: [email protected] Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/
