You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Jiri Ondrusek (Jira)" <ji...@apache.org> on 2025/12/15 13:20:00 UTC
[jira] [Created] (CAMEL-22787) Camel-bean: CAMEL-22775 introduced an wrong method detection if Exchange is an arg
Jiri Ondrusek created CAMEL-22787:
-------------------------------------
Summary: Camel-bean: CAMEL-22775 introduced an wrong method detection if Exchange is an arg
Key: CAMEL-22787
URL: https://issues.apache.org/jira/browse/CAMEL-22787
Project: Camel
Issue Type: Bug
Components: camel-bean
Affects Versions: 4.17.0
Reporter: Jiri Ondrusek
Assignee: Jiri Ondrusek
I noticed, that with [https://github.com/apache/camel/pull/20363,] the test in Camel-quarkus foundation-bean ([link|https://github.com/apache/camel-quarkus/blob/main/integration-test-groups/foundation/bean/src/test/java/org/apache/camel/quarkus/component/bean/BeanTest.java#L145]) started to fail.
The reason is that the methodIfo detection based on expression `exchange`, now happens *before* the expression is loaded from the cache. Therefore is always null.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)