bthj edited a comment on issue #2684:
URL: https://github.com/apache/camel-k/issues/2684#issuecomment-939046355


   It is indeed weird (I've been fighting this for two days).
   
   Ignoring the kamelets for now, if I reference the bean @heiko-braun 
mentioned in properties, like:
   ```
   camel.beans.mongoBean = 
#class:org.apache.camel.component.mongodb.MongoDbComponent
   ```
   then there is still the `127.0.0.1:27017` error, when referencing it on a 
route like:
   ```
   
.to("mongodb:mongoBean?hosts=[shard1].mongodb.net:27017,[shard2].mongodb.net:27017,[shard3].mongodb.net:27017&username=[user]&password=[pass]&database=[dbname]&collection=[collection-name]&operation=getDbStats")
   ```


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