You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Dmitry Volodin (Jira)" <ji...@apache.org> on 2020/04/30 09:49:00 UTC
[jira] [Updated] (CAMEL-14989) [camel-mongodb] Missing ObjectId
converter
[ https://issues.apache.org/jira/browse/CAMEL-14989?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dmitry Volodin updated CAMEL-14989:
-----------------------------------
Component/s: camel-mongodb
> [camel-mongodb] Missing ObjectId converter
> ------------------------------------------
>
> Key: CAMEL-14989
> URL: https://issues.apache.org/jira/browse/CAMEL-14989
> Project: Camel
> Issue Type: Improvement
> Components: camel-mongodb
> Reporter: Pasquale Congiusti
> Assignee: Pasquale Congiusti
> Priority: Major
>
> When we use default __id_ document parameter, Mongo assume it's an _ObjectId_ type. If we include a converter we simplify the creation of any route by just adding:
> {code}
> .convertBodyTo(ObjectId.class)
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)