[
https://issues.apache.org/jira/browse/CAMEL-16480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen updated CAMEL-16480:
--------------------------------
Affects Version/s: 3.7.3
> 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
> Components: camel-core
> Affects Versions: 3.7.3, 3.8.0
> Reporter: Hokutor
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 3.7.4, 3.10.0
>
> Attachments: camel-expression-bug.png
>
>
> 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]
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)