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

Claus Ibsen edited comment on CAMEL-8554 at 3/31/15 9:38 AM:
-------------------------------------------------------------

The problem was {code}log("${headers}"){code} 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.


was (Author: davsclaus):
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)

Reply via email to