[ 
https://issues.apache.org/jira/browse/CAMEL-8554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14385443#comment-14385443
 ] 

Henryk Konsek commented on CAMEL-8554:
--------------------------------------

Actually I think that we should keep this converter, but exclude String 
conversions from its scope. It's really pain in the ass not to have Map => 
Object POJO fallback converter in Camel. This is really common conversion and 
believe we should support it.

I propose then to:
- keep the conversion
- exclude some common non-Pojo types from it (String, Number, primitives)
- add option to lookup for the ObjectMapper in the registry, so people can 
provide their own preconfigured instances

What do you think? 

> camel-jackson should provide Map => Object converter
> ----------------------------------------------------
>
>                 Key: CAMEL-8554
>                 URL: https://issues.apache.org/jira/browse/CAMEL-8554
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-jackson
>            Reporter: Henryk Konsek
>            Assignee: Henryk Konsek
>             Fix For: 2.16.0
>
>
> Jackson's {{ObjectMapper}} can be used to convert {{Map}} to pojo. It would 
> be nice if Jackson component provide this kind of fallback converter then.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to