You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Willem Jiang (Resolved) (JIRA)" <ji...@apache.org> on 2012/03/03 14:11:56 UTC

[jira] [Resolved] (CAMEL-5018) Support unmarshall of CSV files that does not contain all fields described in the annotated POJO.

     [ https://issues.apache.org/jira/browse/CAMEL-5018?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Willem Jiang resolved CAMEL-5018.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 2.10.0

Committed the patch into trunk and updated the wiki page.
                
> 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
>             Fix For: 2.10.0
>
>         Attachments: CAMEL-5018-without-formatting.patch, 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