You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Andrea Cosentino (Jira)" <ji...@apache.org> on 2020/04/30 12:00:03 UTC
[jira] [Resolved] (CAMEL-14989) [camel-mongodb] Missing ObjectId
converter
[ https://issues.apache.org/jira/browse/CAMEL-14989?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrea Cosentino resolved CAMEL-14989.
--------------------------------------
Resolution: Fixed
> [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
> Fix For: 3.3.0
>
>
> 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)