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

Claus Ibsen commented on CAMEL-14258:
-------------------------------------

Yes this is fine in a minor release, we can add this to the migration guide at
https://github.com/apache/camel/blob/master/docs/user-manual/modules/ROOT/pages/camel-3x-migration-guide.adoc

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

Reply via email to