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 Mon, 27 Jul 2015 12:04:04 GMT

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

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

CAMEL-9022 can also happen for end user if they convert to a list, such as using bean binding
and have 
{code}
public void foo(List myList)
{code}

And call that from a camel bean, then camel-jackson may attempt to do a string -> list
as json conversion and fail. And each of these hits cost a performance penalty in case you
hide this failure. Which shields the fact a json conversion shouldnt be attempted. 


> 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: Claus Ibsen
>             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