Am 28.05.13 22:22 schrieb "Cristiano Costantini" unter
<cristiano.costant...@gmail.com>:

>Hi All,
>
>if I have a new line in a Simple expression like the following
>
><when>
><simple>${header.myHeader} in
>'aLongValueOne,aLongValueTo,aLongValueThree,aLongValueFour'
></simple>
><to uri="bean:myBean" />
></when>
>
>I get a
>org.apache.camel.language.simple.types.SimpleIllegalSyntaxException:
>Unexpected token at location...
>
>
>The route works fine if I write the expression without new lines to the
>left or the right of the 'in' operator:
><simple>
>   ${header.myHeader} in
>'aLongValueOne,aLongValueTo,aLongValueThree,aLongValueFour'
></simple>
>
>As I'm required to format XML in Eclipse, can you suggest me a way to make
>the simple language tolerate new lines ?

Hi

I assume you make use of a Camel version lower than 2.11.0 as since then
this issue has been fixed.

Babak

>
>thank you,
>Cristiano


Reply via email to