camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <>
Subject [jira] [Commented] (CAMEL-8554) camel-jackson should provide Map => Object converter
Date Mon, 27 Jul 2015 12:04:04 GMT


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 
public void foo(List myList)

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

View raw message