Hokutor created CAMEL-16480:
-------------------------------
Summary: Simple expression behavior change after 3.4->3.7 migration
Key: CAMEL-16480
URL: https://issues.apache.org/jira/browse/CAMEL-16480
Project: Camel
Issue Type: Bug
Affects Versions: 3.7.0
Reporter: Hokutor
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
!camel-expression-bug.png!
--
This message was sent by Atlassian Jira
(v8.3.4#803005)