camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Babak Vahdat <>
Subject Re: New Line in <simple>
Date Tue, 28 May 2013 20:53:33 GMT

Am 28.05.13 22:22 schrieb "Cristiano Costantini" unter

>Hi All,
>if I have a new line in a Simple expression like the following
><simple>${header.myHeader} in
><to uri="bean:myBean" />
>I get a
>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:
>   ${header.myHeader} in
>As I'm required to format XML in Eclipse, can you suggest me a way to make
>the simple language tolerate new lines ?


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


>thank you,

View raw message