[ 
https://issues.apache.org/jira/browse/CAMEL-8664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14500465#comment-14500465
 ] 

ASF GitHub Bot commented on CAMEL-8664:
---------------------------------------

GitHub user oscerd opened a pull request:

    https://github.com/apache/camel/pull/496

    CAMEL-8664 Update MongoDB Java Driver from 2.13.1 to 3.0.0

    Hi everyone,
    
    This PR is related to:
    https://issues.apache.org/jira/browse/CAMEL-8664
    
    Thanks.
    Bye,
    Andrea

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/oscerd/camel update-mongodb-driver-to-3.x

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/camel/pull/496.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #496
    
----
commit 1652990a6704c1dd8a5216f1730ec5fe26d031fe
Author: ancosen <[email protected]>
Date:   2015-04-17T19:15:35Z

    Resolve CAMEL-8664 Update MongoDB Java Driver from 2.13.1 to 3.0.0

----


> Update MongoDB Java Driver from 2.13.1 to 3.0.0
> -----------------------------------------------
>
>                 Key: CAMEL-8664
>                 URL: https://issues.apache.org/jira/browse/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.
> From: http://mongodb.github.io/mongo-java-driver/3.0/whats-new/upgrading/



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to