Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[camel-main] Foundation: BeanTest.parameterTypes fails with the current Camel main #4735

Closed
JiriOndrusek opened this issue Apr 3, 2023 · 3 comments
Assignees
Milestone

Comments

@JiriOndrusek
Copy link
Contributor

Important!

Test BeanTest.parameterTypes is disabled. Failure seems to be caused by the fact that fallback converter does not convert the body to String. Problem was first detected when following issue was fixed in >Camel https://issues.apache.org/jira/browse/CAMEL-15105

It seems This issue might be similar as https://issues.apache.org/jira/browse/CAMEL-19160

@JiriOndrusek JiriOndrusek self-assigned this Apr 3, 2023
@jamesnetherton
Copy link
Contributor

It's related to this change:

apache/camel@cc58a9a

The fix is very simple. You just need to append .class to the type argument. E.g:

from("direct:parameterTypes")
    .to("bean:parametersBean?method=parameterTypes(String.class)");

@JiriOndrusek
Copy link
Contributor Author

thanks for the solution, I missed that.

JiriOndrusek added a commit that referenced this issue Apr 5, 2023
@JiriOndrusek
Copy link
Contributor Author

Test enabled and fixed applied in camel-main

JiriOndrusek added a commit that referenced this issue Apr 6, 2023
github-actions bot pushed a commit that referenced this issue Apr 25, 2023
github-actions bot pushed a commit that referenced this issue Apr 26, 2023
JiriOndrusek added a commit that referenced this issue May 2, 2023
jamesnetherton added a commit to jamesnetherton/camel-quarkus that referenced this issue May 2, 2023
jamesnetherton added a commit to jamesnetherton/camel-quarkus that referenced this issue May 2, 2023
jamesnetherton added a commit to jamesnetherton/camel-quarkus that referenced this issue May 2, 2023
jamesnetherton added a commit to jamesnetherton/camel-quarkus that referenced this issue May 2, 2023
JiriOndrusek added a commit that referenced this issue May 3, 2023
github-actions bot pushed a commit that referenced this issue May 4, 2023
github-actions bot pushed a commit that referenced this issue May 5, 2023
jamesnetherton added a commit to jamesnetherton/camel-quarkus that referenced this issue May 5, 2023
jamesnetherton added a commit that referenced this issue May 5, 2023
@ppalaga ppalaga added this to the 3.0.0-M2 milestone May 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants