lburgazzoli commented on code in PR #7562: URL: https://github.com/apache/camel/pull/7562#discussion_r868167652
########## components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/converters/MongoDbBasicConverters.java: ########## @@ -78,6 +81,21 @@ public static Document fromFileToDocument(File f, Exchange exchange) throws Exce return fromInputStreamToDocument(new FileInputStream(f), exchange); } + @Converter + public static Document fromByteArrayToDocument(byte[] data) { Review Comment: Will fix it -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org