orpiske commented on PR #8046:
URL: https://github.com/apache/camel/pull/8046#issuecomment-1195643175
> 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.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]