camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Terrien Jean-Yves (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CAMEL-10554) camel-mongodb evolution to driver 3
Date Sun, 11 Dec 2016 14:24:58 GMT

     [ https://issues.apache.org/jira/browse/CAMEL-10554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Terrien Jean-Yves updated CAMEL-10554:
--------------------------------------
    Attachment: mongo5.patch

Using Filters class
Adding FIELDS_FILTER headers on update operation
Update documentation
Change  MongoDbOutputType to
    DocumentList, //List<Document>
    Document, //Document
    MongoIterable //MongoIterable
Using Bson class instead of Document when is possible (more generic)

Work in progress
Using more generic classes (like Bson)
Study of the use of MongoCollection<TDocument> where TDocument is generic parameter.

> camel-mongodb evolution to driver 3
> -----------------------------------
>
>                 Key: CAMEL-10554
>                 URL: https://issues.apache.org/jira/browse/CAMEL-10554
>             Project: Camel
>          Issue Type: Improvement
>    Affects Versions: 2.19.0
>            Reporter: Terrien Jean-Yves
>            Assignee: Andrea Cosentino
>            Priority: Minor
>         Attachments: mongo3.patch, mongo4.patch, mongo5.patch
>
>
> Hi, 
> The mongodb driver has changed in its foundation. 
> It is recommended not to use many classes of the verion 2 still present in the driver.

> This is the case with DBObject, which is the basis for the configuration of the camel
component. 
> I'm working on the evolution of this component to use the new classes of version 3, like
"Document". 
> I've created à patch (no completed)
> A+JYT



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

Mime
View raw message