Pasquale Congiusti created CAMEL-14258:
------------------------------------------

             Summary: [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


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