camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (CAMEL-12185) mongodb - Add option outputType=DBCursor for aggregate operation
Date Fri, 26 Jan 2018 07:05:00 GMT


ASF GitHub Bot commented on CAMEL-12185:

oscerd commented on issue #2193: CAMEL-12185 - Camel-MongoDB : add option outputType for aggregate
   Thanks the PR has been merged on master. For the next time: since the documentation is
autogenerated you'll need to change the Javadoc of the option. I pushed a fix for this to
reflect the documentation.

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:

> mongodb - Add option outputType=DBCursor for aggregate operation
> ----------------------------------------------------------------
>                 Key: CAMEL-12185
>                 URL:
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-mongodb, camel-mongodb3
>            Reporter: Farès Hassak
>            Assignee: Andrea Cosentino
>            Priority: Major
>             Fix For: 2.21.0
> Hello,
> The aggregate operation load all results from the driver's cursor into a List which may
result in a large number of in-memory objects.
> There is no option {{outputType=DBCursor}} applies to aggregate, only to findAll.
> So, adding this option is necessary to avoid loading all documents in memory.
> The following headers will be added {{CamelMongoDbBatchSize}} to limits the number of
elements returned per batch.
> Farès

This message was sent by Atlassian JIRA

View raw message