What should ${noun} or ${verb} be? I suggest to have a look at our documentation: http://camel.apache.org/simple.html
Best, Christian On Thu, Dec 6, 2012 at 1:34 PM, mail2bansi <mail2ba...@gmail.com> wrote: > Hello Group, > Here is the snippet from my camel-context.xml > <choice> > <when> > <simple>("${noun} contains 'Hello' and ${verb} contains > 'World'") </simple> > > <to uri="direct://helloStart"/> > </when> > > > </choice> > > It throws the following error at run-time: > org.apache.camel.ExpressionIllegalSyntaxException: Illegal syntax: noun > > Any pointers/suggestions with the correct syntax will be greatly > appreciated. > > Thanks , > Bansi > > > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Simple-Expression-With-And-Condition-doesnt-work-in-Camel-2-8-tp5723702.html > Sent from the Camel - Users mailing list archive at Nabble.com. > --