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-7619) Rest DSL - Add support for json/xml bindings
Date Wed, 23 Jul 2014 10:36:38 GMT

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

Claus Ibsen commented on CAMEL-7619:
------------------------------------

Wonder how we add nicely in the DSL to specify that the type is a List of X. 

We could have .typeList maybe
{code}
     rest("/users/")
                    .post("new").typeList(UserPojo.class)
                        .to("mock:input");
{code}


> Rest DSL - Add support for json/xml bindings
> --------------------------------------------
>
>                 Key: CAMEL-7619
>                 URL: https://issues.apache.org/jira/browse/CAMEL-7619
>             Project: Camel
>          Issue Type: Sub-task
>          Components: camel-core
>    Affects Versions: 2.14.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.14.0
>
>
> see parent ticket
> So we can plugin json bindings such as jackson etc.
> And for xml, we can plugin jaxb etc.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message