camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrea Cosentino (JIRA)" <>
Subject [jira] [Created] (CAMEL-8664) Update MongoDB Java Driver from 2.13.1 to 3.0.0
Date Fri, 17 Apr 2015 19:11:58 GMT
Andrea Cosentino created CAMEL-8664:

             Summary: Update MongoDB Java Driver from 2.13.1 to 3.0.0
                 Key: CAMEL-8664
             Project: Camel
          Issue Type: Task
          Components: camel-mongodb
            Reporter: Andrea Cosentino
            Priority: Minor
             Fix For: 2.16.0

I think we have to update the MongoDB driver to the 3.x family. There are some changes, related
to our component, to note:

- WriteResult
The getLastError method in WriteResult has been removed: this method does not work reliably
in the 2.x series and there is no way to make work reliably, so it has been removed. Replace
with use of an acknowledged WriteConcern when executing the write operation.

- DBCollection
The ensureIndex methods in DBCollection have been removed: replace with the corresponding
createIndex method.


This message was sent by Atlassian JIRA

View raw message