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 (Commented) (JIRA)" <ji...@apache.org> on 2012/02/21 08:54:39 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=13212431#comment-13212431 ]
Bruno Barin commented on CAMEL-5018:
------------------------------------
Hello everybody!
I've attached a patch for this issue.
Cheers,
Bruno
> 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
> 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