Re: Strange behavior with simple language in camel route

2011-04-13 Thread Willem.Jiang
Hi, If you want to use the properties component in simple language, the syntax is liking this ${properties:[locations]:key} Willem -- View this message in context: http://camel.465427.n5.nabble.com/Strange-behavior-with-simple-language-in-camel-route-tp3200894p4300441.html Sent from the Camel

Re: Strange behavior with simple language in camel route

2010-10-06 Thread Claus Ibsen
On Wed, Oct 6, 2010 at 9:23 AM, Charles Moulliard wrote: > 2.2 > Check the documentation: http://camel.apache.org/simple It says that you need 2.3 for OGNL support in simple language. > > On Wed, Oct 6, 2010 at 9:22 AM, Claus Ibsen wrote: >> What version of Camel are you using? >> >> On Wed, O

Re: Strange behavior with simple language in camel route

2010-10-06 Thread Charles Moulliard
2.2 On Wed, Oct 6, 2010 at 9:22 AM, Claus Ibsen wrote: > What version of Camel are you using? > > On Wed, Oct 6, 2010 at 8:47 AM, Charles Moulliard > wrote: >> Hi, >> >> The following syntax works >> >>                from(directTest) >>                .inOut(toQueue) >>                .to(log

Re: Strange behavior with simple language in camel route

2010-10-06 Thread Claus Ibsen
What version of Camel are you using? On Wed, Oct 6, 2010 at 8:47 AM, Charles Moulliard wrote: > Hi, > > The following syntax works > >                from(directTest) >                .inOut(toQueue) >                .to(logTest); > >                from(toQueue) >                .transform().sim

Strange behavior with simple language in camel route

2010-10-05 Thread Charles Moulliard
Hi, The following syntax works from(directTest) .inOut(toQueue) .to(logTest); from(toQueue) .transform().simple("Report incident id : ${in.body}") .to(fileOutput) .beanRef("feedback",