You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2021/12/03 08:35:00 UTC

[jira] [Resolved] (CAMEL-14258) [camel-mongodb] New MongoClient driver recommendations

     [ https://issues.apache.org/jira/browse/CAMEL-14258?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-14258.
---------------------------------
    Resolution: Fixed

> [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: 20m
>  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.20.1#820001)