camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Unable to read properties from camel PropertiesComponent
Date Sat, 19 May 2012 14:05:05 GMT
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
<javaxmlsoapdev@yahoo.com> 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: cibsen@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Mime
View raw message