camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raul Kripalani (JIRA)" <j...@apache.org>
Subject [jira] [Reopened] (CAMEL-6507) Add aggregat ability to camel_mongodb
Date Thu, 04 Jul 2013 15:21:49 GMT

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

Raul Kripalani reopened CAMEL-6507:
-----------------------------------


Hi Willem,

If you have time, could you change the operation name to 'aggregate'? 
It appears as 'aggregat' everywhere – it seems to be a typo that crept into the source.

Many thanks,
Raúl.
                
> Add aggregat 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: Willem Jiang
>              Labels: patch
>
> 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

Mime
View raw message