camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bruno Barin (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CAMEL-5018) Support unmarshall of CSV files that does not contain all fields described in the annotated POJO.
Date Thu, 01 Mar 2012 06:10:04 GMT

     [ 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

        

Mime
View raw message