jamesnetherton commented on issue #8239:
URL: https://github.com/apache/camel-quarkus/issues/8239#issuecomment-3848341399

   The root cause is here:
   
   
https://github.com/apache/camel-quarkus/blob/main/extensions-support/mongodb/deployment/src/main/java/org/apache/camel/quarkus/support/mongodb/deployment/SupportMongoDBProcessor.java#L29-L42
   
   Consuming `MongoClientBuildItem` automatically makes the Quarkus Mongo 
Client beans unremovable:
   
   
https://github.com/quarkusio/quarkus/blob/14e03b470cdca555b3c31bb90ec70b3f6e5b05e5/extensions/panache/mongodb-panache-common/deployment/src/main/java/io/quarkus/mongodb/panache/common/deployment/BasePanacheMongoResourceProcessor.java#L418-L421
   
   Hence health checks for the default normal & reactive client always get 
registered.
   
   The simplest fix (assuming it works) would be to remove the dependency on 
`camel-quarkus-mongodb` from `camel-quarkus-debezium-mongodb` and replace it 
with `quarkus-mongodb-client`.


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

Reply via email to