[ 
https://issues.apache.org/jira/browse/CAMEL-14258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16994866#comment-16994866
 ] 

Pasquale Congiusti commented on CAMEL-14258:
--------------------------------------------

Thanks [~davsclaus] and [~lb]. I've just created a draft PR 
https://github.com/apache/camel/pull/3405

Please, have a look and confirm if that is fine or you think there is some 
change to do. In particular about adding those 2 new properties that were 
previously provided by the connection bean.

Also, I can work to the migration guide, please, tell me if it makes sense to 
be part of this PR or I should issue a separate documentation request and work 
on it.

> [camel-mongodb] New MongoClient driver recommendations
> ------------------------------------------------------
>
>                 Key: CAMEL-14258
>                 URL: https://issues.apache.org/jira/browse/CAMEL-14258
>             Project: Camel
>          Issue Type: Improvement
>            Reporter: Pasquale Congiusti
>            Assignee: Pasquale Congiusti
>            Priority: Minor
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Starting from version mongo-java-driver 3.7 version, the recommended way to 
> create a connection to MongoDB is using the [MongoClients 
> factory|https://mongodb.github.io/mongo-java-driver/3.7/javadoc/?com/mongodb/client/MongoClient.html]
>  which is finally returning a _com.mongodb.client.MongoClient_.
> We're originally using _com.mongodb.MongoClient_ class instead, so we should 
> switch to the new implementation to be aligned with the latest recommendation.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to