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

[camel-mongodb] New MongoClient driver recommendations

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: In Progress
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Estimated Complexity:
      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

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

                Dates

                • Created:
                  Updated:

                  Time Tracking

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