camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Müller <christian.muel...@gmail.com>
Subject Re: Simple Expression With And Condition doesnt work in Camel 2.8
Date Thu, 06 Dec 2012 21:39:15 GMT
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 <mail2bansi@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.
>



--

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message