org.apache.camel.language.simple.types.SimpleIllegalSyntaxException
Issue
Receiving the error on deployment:
Caused by: org.apache.camel.language.simple.types.SimpleIllegalSyntaxException:
Binary operator == does not support token & at location 38
Expression:
.choice().when(simple(" == true && ${body.actionType} == 'INSERT'}"))
.throwException(new RuntimeException("Forced Exception: com.test.runtime.exception is set to true."))
.end()
Environment
- Red Hat Fuse
- 6.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.