jamesnetherton commented on issue #4063:
URL: https://github.com/apache/camel-quarkus/issues/4063#issuecomment-1235324255
> So the workaround is to use the default datasource?
Yeah or to explicitly define on the component / endpoint config which DS
should be used.
> I'm not sure how we can register the bean without dependeds on Agroal?
It's more about how to resolve the bean than registering it.
I quickly hacked up something that could restore autowiring for named
`DataSource`:
https://github.com/jamesnetherton/camel-quarkus/commit/d090499844e6df9dffedf1a0a6345fdf5e2a6a0e
It needs some refinement, but it could be made a common thing for the `jdbc`
& `sql` extensions. And opens up a way to do similar things for resolving other
bean types if needed.
--
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]