Hi, The predict works fine in camel 2.8:
<camel:choice> <when> <simple>${body} is au.edu.mq.ClassA</simple> <camel:convertBodyTo type="au.edu.mq.ClassB" /> </when> </camel:choice> But when I upgrade to camel 2.12, it's getting error: Caused by: org.apache.camel.language.simple.types.SimpleIllegalSyntaxException: Binary operator is does not support token a at location 11 ${body} is au.edu.mq.ClassA * if I do conversion straightway without choice/when, it works. It looks like the message body is fine, but simple expression can't recognise au.edu.mq.ClassA. What could be wrong here? Thanks Damien -- View this message in context: http://camel.465427.n5.nabble.com/org-apache-camel-language-simple-types-SimpleIllegalSyntaxException-Binary-operator-is-does-not-supp1-tp5750642.html Sent from the Camel - Users mailing list archive at Nabble.com.