zhfeng commented on issue #7254:
URL: https://github.com/apache/camel-quarkus/issues/7254#issuecomment-2795582683

   @jamesnetherton - I wonder if this could be fixed by adding a 
`CamelBeanQualifierResolver` like
   
   ```java
   public static class PersistenceUnitQualifierResolver implements 
CamelBeanQualifierResolver {
           @Override
           public Annotation[] resolveQualifiers() {
               return new Annotation[] { new 
PersistenceUnit.PersistenceUnitLitera(name) };
           }
       }
   
   ```
   
   The Quarkus PersistenceUnit CDI looks like 
https://cn.quarkus.io/guides/hibernate-orm#cdi-integration
   ```java
   @Inject
   @PersistenceUnit("test")
   EntityManagerFactory entityManagerFactory;
   ```


-- 
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-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to