apache/camel — pull request #228 by dextravaganz (2014-07-29 17:43:07+00:00)
Title: 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.