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

ASF GitHub Bot commented on CAMEL-12192:
----------------------------------------

GitHub user neoxu999 opened a pull request:

    https://github.com/apache/camel/pull/2199

    CAMEL-12192 support csv bindy skip fields

    added new constructor with boolean isSkipField for supporting skip fields. 
It will not impact on the old code.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/neoxu999/camel master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/camel/pull/2199.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #2199
    
----
commit d0b7310f93b146b644244173ad937fcf9f4e2d82
Author: longxu <neoxu999@...>
Date:   2018-01-30T11:16:43Z

    CAMEL-12192 support csv bindy skip fields

----


> BindyCsvDataFormat does not support skip fields 
> ------------------------------------------------
>
>                 Key: CAMEL-12192
>                 URL: https://issues.apache.org/jira/browse/CAMEL-12192
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-bindy
>    Affects Versions: 2.15.1, 2.20.1
>            Reporter: Neo Xu
>            Priority: Major
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> Currently: BindyCsvDataFormat has to map all the fields in a CSV file.
>  If there are 200 fields in a CSV file, it has to create 200 fields in a 
> class. But sometimes, it is only interested in 20 fields. So it needs to skip 
> some positions if they are not required. But BindyCsvDataFormat will throw an 
> exception in this case. 
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to