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-18152: implement auto-configuration for the adapters #8046
Conversation
|
Its a bit wrong when there are 2 generated files for the same thing. You need for @JdkService to have a sub path I think, eg @JdkService("resume/file") Or you can create a special annotation that extends @JdkService that setup this correct, we have done this for some others, then you can use @ResumeAdapter("file") etc as annotation. |
Oh, thanks for catching it. One of the files in the camel-file shouldn't be there as it is a leftover from a previous attempt. 🤦🏽♂️ What I am trying to achieve here is that it needs to be able to differentiate between different configs based on the consumer so that it loads the adapter that is appropriate for that component. However, there are some components (like the DB-based ones) that have a shared adapter because they do +/- the same thing. Tomorrow I'll clean it up. |
✔️ Finished component verification: 0 component(s) test failed out of 7 component(s) tested |
@davsclaus I removed the duplicated files, so now it should be the real thing. I am thinking about creating the "ResumeAdapter" annotation you mentioned. Not necessarily on this PR, but as a follow up, since there's a chance it will need greater flexibility in the future. |
❌ Finished component verification: 1 component(s) test failed out of 7 component(s) tested |
Couchdb is known to be broken on GH actions, so we are good to merge despite the test failure. |
HI @orpiske ,
Other routes that just do a Is there something I'm missing? |
Thanks for the report. Please, can you share the whole stack trace? Also feel free to open a ticket on our Jira with all the details, so I can take a look at it. |
Hi, sure. Here ist the stacktrace:
I try to find the time to create a ticket in the JIRA (must create login first). Thanks for looking into it |
@ColdFireIce I hope you don't mind, but I went ahead and created the ticket, so I can fix and backport this: https://issues.apache.org/jira/browse/CAMEL-18594 |
Hey @orpiske, Thank you. I surely don't mind :) |
No description provided.