|
Spring PropetyPlaceholderConfigurer support the resolution of nested properties like this example http://robertmarkbramprogrammer.blogspot.dk/2008/02/nested-property-placeholders-in-spring.html
It would be nice if one would be able to use such property resolution feature directly in the camel context eg. in the simple language. In other cases when you want to use Spring's nested property resolution you have to set up <Endpoint> in the start of the CamelContext where you can use the Spring $ properties feature. Is this something to consider, or might it even overlap with Spring 3.1 profiles and is this going to be supported in Camel ? /Preben |
|
On Sun, Jun 3, 2012 at 8:37 PM, Preben.Asmussen <[hidden email]> wrote:
> Spring PropetyPlaceholderConfigurer support the resolution of nested > properties like this example > http://robertmarkbramprogrammer.blogspot.dk/2008/02/nested-property-placeholders-in-spring.html > > It would be nice if one would be able to use such property resolution > feature directly in the camel context eg. in the simple language. > Camel property placeholder supports this since 2.9 (I think, maybe an earlier release). > In other cases when you want to use Spring's nested property resolution you > have to set up <Endpoint> in the start of the CamelContext where you can use > the Spring $ properties feature. > > Is this something to consider, or might it even overlap with Spring 3.1 > profiles and is this going to be supported in Camel ? > > /Preben > > -- > View this message in context: http://camel.465427.n5.nabble.com/Support-for-nested-properties-in-propertyplaceholder-tp5713905.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- FuseSource Email: [hidden email] Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen |
|
Hi Claus
I don't think this actually works in 2.9.1. See attatched project and how to make it work using spring props.zip /Preben |
|
Hi
Ah this is more complicated. Can you log a JIRA for an improvement and schedule it for 2.11. On Mon, Jun 4, 2012 at 9:43 AM, Preben.Asmussen <[hidden email]> wrote: > Hi Claus > > I don't think this actually works in 2.9.1. See attatched project and how to > make it work using spring > http://camel.465427.n5.nabble.com/file/n5713926/props.zip props.zip > > /Preben > > -- > View this message in context: http://camel.465427.n5.nabble.com/Support-for-nested-properties-in-propertyplaceholder-tp5713905p5713926.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- FuseSource Email: [hidden email] Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen |
| Powered by Nabble | Edit this page |
