camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-8554) camel-jackson should provide Map => Object converter
Date Tue, 31 Mar 2015 09:38:53 GMT

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

Claus Ibsen commented on CAMEL-8554:
------------------------------------

The problem was log("${headers}") that is causing the type converter to convert the map of
headers to a String. I am fixing this now.

Yeah the TC should really only be about custom class types, and not objects from the JDK.
And yeah to lookup the object mapper / or jackson data format to use would be better.

> 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)

Mime
View raw message