camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From padewitte <>
Subject camel pull request: Add aggregat to mongo component
Date Wed, 03 Jul 2013 21:26:48 GMT
GitHub user padewitte opened a pull request:

    Add aggregat to mongo component

    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" } } }

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

    $ git pull addaggregat

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



View raw message