You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Raúl Kripalani (JIRA)" <ji...@apache.org> on 2015/01/28 15:38:34 UTC
[jira] [Assigned] (CAMEL-8290) Pick up custom DBObject
TypeConvertor
[ https://issues.apache.org/jira/browse/CAMEL-8290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Raúl Kripalani reassigned CAMEL-8290:
-------------------------------------
Assignee: Raúl Kripalani
> Pick up custom DBObject TypeConvertor
> -------------------------------------
>
> Key: CAMEL-8290
> URL: https://issues.apache.org/jira/browse/CAMEL-8290
> Project: Camel
> Issue Type: Improvement
> Components: camel-mongodb
> Affects Versions: 2.14.1
> Reporter: James Green
> Assignee: Raúl Kripalani
> Priority: Minor
>
> Reference "Modifying a shipped TypeConvertor" (http://camel.465427.n5.nabble.com/Modifying-a-shipped-TypeConverter-td5761945.html).
> When converting a POJO to mongodb, a Jackson ObjectMapper is used by default. ObjectMapper by default converts Date types into Long types by default.
> MongoDB of course has ISODate. In our case we had to provide a custom ObjectMapper switching off this Date to timestamp converter option. It would be nice if:
> 1. This was the default for mongodb
> 2. We could see this converter being picked up at runtime for use across the application.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)