Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
3.7.3, 3.8.0
-
None
-
Unknown
-
Regression
Description
I just upgraded from camel 3.4 to 3.8. I had a logger statement as follows in my application. I was printing exchange body as follows in a log statement
.log("API response received is ==> ${body}")
Prior to upgrade, the above log statement prints the exchange body perfectly by evaluating ${body} expression
However, after upgrade, it prints as following
API response received is ==> body
On further digging, just figured that if you happen to add a property with key "body", then it causes the above unexpected behavior. Attaching a screenshot which illustrates the problem with a simple camel route
This issue was also discussed on zulip - https://camel.zulipchat.com/#narrow/stream/257298-camel/topic/Upgrade.20from.203.2E4.20to.203.2E7.20.2F.2F.20Simple.20expression.20behavior