Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.19.1
-
None
-
Unknown
Description
The new MongoDB GridFS API (http://mongodb.github.io/mongo-java-driver/3.5/driver/tutorials/gridfs/) throws an exception when my application (not Camel based) iterates over the GridFS documents created by Camel's camel-mongodb-gridfs component.
The problem: the current GridFSProducer adds the "metadata" field regardless it is null. Referring to https://jira.mongodb.org/browse/JAVA-2577 the document should not contain a metadata field if the field is null.
Attachments
Issue Links
- links to