You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "zhfeng (via GitHub)" <gi...@apache.org> on 2025/04/29 02:21:24 UTC
[I] Potenial issue with the autowired property if multi named resources defined [camel-quarkus]
zhfeng opened a new issue, #7315:
URL: https://github.com/apache/camel-quarkus/issues/7315
### Bug description
When multi named resources (datasource, hibernate-orm, ...) defined but there is no default one, the autowired propery should be failed to look for in the runtime registry. The current implementation returns a random one.
- camel-quarkus-sql: dataSource
- camel-quarkus-jpa: entityManagerFactory ( will be introduced in `4.10.4` and `4.12.0`)
We are considering to disable `autowired` if there are multi named resources but no default one. But the side effect is that all of the other properties are disabled as well, such as `rowMapperFactory` in camel-sql.
--
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: commits-unsubscribe@camel.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org