[
https://issues.apache.org/jira/browse/CAMEL-5604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14070020#comment-14070020
]
Claus Ibsen commented on CAMEL-5604:
------------------------------------
Thanks but IMHO we should try to add an option on the existing data format, so
that option is exposed in the DSL for both java / xml. And reuse the existing
code. Then that code can based on the option do the list stuff or not.
> camel-jackson - Make it easier to support List as output out of the box
> -----------------------------------------------------------------------
>
> Key: CAMEL-5604
> URL: https://issues.apache.org/jira/browse/CAMEL-5604
> Project: Camel
> Issue Type: Improvement
> Components: camel-jackson
> Affects Versions: 2.10.0
> Reporter: Claus Ibsen
> Assignee: Willem Jiang
> Priority: Minor
> Fix For: Future
>
> Attachments: JacksonCollectionDataFormat.java
>
>
> See nabble
> http://camel.465427.n5.nabble.com/JSON-Jackson-return-list-rather-than-POJO-tp5717341.html
> We should look into making it easier to output a List as output with jackson
> json. On the nabble link there is an example and pseduo code how to do that.
> We should find a way to make that easy in Camel. Either as some new option,
> or somehow auto detect its a List etc.
--
This message was sent by Atlassian JIRA
(v6.2#6252)