You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Raul Kripalani (JIRA)" <ji...@apache.org> on 2013/07/08 00:41:49 UTC

[jira] [Updated] (CAMEL-6507) Add aggregate ability to camel-mongodb

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

Raul Kripalani updated CAMEL-6507:
----------------------------------

    Summary: Add aggregate ability to camel-mongodb  (was: Add aggregat ability to camel_mongodb)

Backported to 2.10 and 2.11 branches.
                
> Add aggregate ability to camel-mongodb
> --------------------------------------
>
>                 Key: CAMEL-6507
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6507
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-mongodb
>    Affects Versions: 2.11.0
>            Reporter: Pierre-Alban DEWITTE
>            Assignee: Raul Kripalani
>              Labels: patch
>             Fix For: 2.10.7, 2.11.1, 2.12.0
>
>
> Hi,
> I just add the ability to use aggregat in camel-mongo-db route.
> Now you can declare a route to aggregate : from(...).to("mongodb:myDb?database=test&collection=test&operation=aggregat&dynamicity=true");
> The body should contain a valid Mongo pipeline for example { $match : {"name" : "my product"}},{ $group: { _id: "$name" ,total: { $sum: "$price" } } }
> P-Alban
> PS : I just create a pull request on github

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira