[
https://issues.apache.org/jira/browse/CAMEL-14258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16994416#comment-16994416
]
Luca Burgazzoli commented on CAMEL-14258:
-----------------------------------------
+1 for migrating to the new client and add release note
> [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
>
> 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)