[
https://issues.apache.org/jira/browse/CAMEL-17057?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17426528#comment-17426528
]
Claus Ibsen commented on CAMEL-17057:
-------------------------------------
This is the client you need to create
https://mongodb.github.io/mongo-java-driver/3.6/javadoc/com/mongodb/MongoClient.html
And this is that client url thingy you need to create too
https://mongodb.github.io/mongo-java-driver/3.6/javadoc/com/mongodb/MongoClientURI.html
> camel-mongodb - Make it easier to configuring that dreadful MongoDBClientURI
> ----------------------------------------------------------------------------
>
> Key: CAMEL-17057
> URL: https://issues.apache.org/jira/browse/CAMEL-17057
> Project: Camel
> Issue Type: Improvement
> Components: camel-mongodb
> Reporter: Claus Ibsen
> Priority: Major
> Fix For: 3.13.0
>
>
> Using mongodb is not as easy to configure when you need to use that mongodb
> client url that has a ton of configurations in a string.
> Today you have to create that MongoDBClient instance yourself via
> constructors, so you end up having to write Java code.
> For *** sake could they not just make their client api easier to configure.
> On chat forum
> https://camel.zulipchat.com/#narrow/stream/257299-camel-k/topic/MongoDB.20connection.20configuration
--
This message was sent by Atlassian Jira
(v8.3.4#803005)