[ 
https://issues.apache.org/jira/browse/CAMEL-11648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16117748#comment-16117748
 ] 

ASF GitHub Bot commented on CAMEL-11648:
----------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/camel/pull/1876


> camel-mongodb-gridfs - Created document cannot be read by the new MongoDB 
> GridFS API
> ------------------------------------------------------------------------------------
>
>                 Key: CAMEL-11648
>                 URL: https://issues.apache.org/jira/browse/CAMEL-11648
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-mongodb
>    Affects Versions: 2.19.1
>            Reporter: Mihály Gyöngyösi
>            Priority: Minor
>             Fix For: 2.20.0, 2.19.3
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to