Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
2.12.3, 2.13.0
-
None
-
Unknown
Description
Operators are not evaluated if using simple for setting bodies or headers:
from("direct:simple") .setHeader("myHeader").simple("true == true", Boolean.class) .log("header = [${header.myHeader}]") .setBody(simple("true == true", Boolean.class)) .log("body = [${body}]");
Output is as follows:
INFO header = [false] INFO body = [false]
The outcome should be true in both cases.
Attachments
Issue Links
- duplicates
-
CAMEL-7298 Simple Language - Binary Expression Equality Fails
- Resolved