You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by al...@apache.org on 2021/11/09 11:02:12 UTC
[camel] 03/06: CAMEL-17178: Remove the useless reference to wrong
Jackson library HTTP link from camel-mongodb
This is an automated email from the ASF dual-hosted git repository.
aldettinger pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
commit 7b9a10c7bebc34ee6bde40b667156dd7f4612464
Author: aldettinger <al...@gmail.com>
AuthorDate: Tue Nov 9 10:21:23 2021 +0100
CAMEL-17178: Remove the useless reference to wrong Jackson library HTTP link from camel-mongodb
---
components/camel-mongodb/src/main/docs/mongodb-component.adoc | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/components/camel-mongodb/src/main/docs/mongodb-component.adoc b/components/camel-mongodb/src/main/docs/mongodb-component.adoc
index ef0954c..bc13473 100644
--- a/components/camel-mongodb/src/main/docs/mongodb-component.adoc
+++ b/components/camel-mongodb/src/main/docs/mongodb-component.adoc
@@ -978,9 +978,9 @@ camel-mongodb component provides the following conversions:
constructor.
|fromDocumentToMap |`Document` |`Map` |`Document` already implements `Map`.
|fromStringToDocument |`String` |`Document` |uses `com.mongodb.Document.parse(String s)`.
-|fromAnyObjectToDocument |`Object` |`Document` |uses the http://jackson.codehaus.org/[Jackson library] to convert the
-object to a `Map`, which is in turn used to initialise a new
-`Document`.
+|fromStringToObjectId |`String` |`ObjectId` |constructs a new `ObjectId` via the `new ObjectId(s)`
+|fromFileToDocument|`File` |`Document` |uses `fromInputStreamToDocument` under the hood
+|fromInputStreamToDocument|`InputStream` |`Document` |converts the inputstream bytes to a `Document`
|fromStringToList |`String` |`List<Bson>` |uses `org.bson.codecs.configuration.CodecRegistries` to convert to BsonArray then to List<Bson>.
|=======================================================================