camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Willem Jiang (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-5018) Support unmarshall of CSV files that does not contain all fields described in the annotated POJO.
Date Wed, 22 Feb 2012 01:08:48 GMT

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

Willem Jiang commented on CAMEL-5018:
-------------------------------------

Hi Bruno,

It looks like you reformat the code before you created the patch. 
Can you revert it and just send the change you made ?
It will help us to do a quick review of the patch.

Willem

                
> Support unmarshall of CSV files that does not contain all fields described in the annotated
POJO. 
> --------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-5018
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5018
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-bindy
>    Affects Versions: 2.9.0
>            Reporter: Bruno Barin
>            Assignee: Willem Jiang
>         Attachments: CAMEL-5018.patch
>
>
> Actually when trying to unmarshall a CSV that does not contain all the fields described
via @DataField annotation, an IllegalArgumentException is thrown. 
> Would be better to define a default value for non required fields via @DataField annotation
and therefore, not fail.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message