Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-14258

[camel-mongodb] New MongoClient driver recommendations

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • None
    • None
    • None
    • Unknown

    Description

      Starting from version mongo-java-driver 3.7 version, the recommended way to create a connection to MongoDB is using the MongoClients factory 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.

      Attachments

        Issue Links

          Activity

            People

              squakez Pasquale Congiusti
              squakez Pasquale Congiusti
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m