Nillkki opened a new issue #1608:
URL: https://github.com/apache/camel-quarkus/issues/1608


   **Describe the issue**
   `@io.quarkus.mongodb.runtime.MongoClientName` -annotation class not 
available when using `camel-quarkus-mongodb` extension. Annotation works with 
`quarkus-mongodb-client` but not if both extensions are present.
   
   **To Reproduce**
   Add mongo extension and set `quarkus.mongodb.users.connection-string` in 
application.properties 
   
   Try to inject MongoClient into any bean:
   ```Java
   @Inject
   @MongoClientName("users")
   MongoClient mongoClient1;
   ```
   
   Observer `java.lang.NullPointerException: Annotation class not available` 
-error


----------------------------------------------------------------
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.

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


Reply via email to