You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Bruno Barin (Updated) (JIRA)" <ji...@apache.org> on 2012/03/01 07:10:04 UTC

[jira] [Updated] (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 ]

Bruno Barin updated CAMEL-5018:
-------------------------------

    Patch Info: Patch Available
    
> 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-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