GitHub user dextravaganz opened a pull request:
https://github.com/apache/camel/pull/228
Specifying criteria for count operation in MongoDB component
In current version count operation in Camel MongoDB component can return
only total amount of documents in collection. Now you can specify criteria as
DBObject in message body and operation will return the amount of documents
matching this criteria. To get total amount of documents, you should invoke
count operation without any value in message body.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/dextravaganz/camel master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/camel/pull/228.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #228
----
commit 921c0722e3852d4c68710c496ba0e04ccb2b6169
Author: Denis Smirnov <[email protected]>
Date: 2014-07-29T17:34:01Z
Specifying criteria for count operation
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---