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 ? thank you, Cristiano