Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-12192

BindyCsvDataFormat does not support skip fields

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.15.1, 2.20.1
    • Fix Version/s: 2.21.0
    • Component/s: camel-bindy
    • Labels:
      None
    • Estimated Complexity:
      Moderate

      Description

      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. 

       

        Attachments

          Activity

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              neoxu999 Neo Xu
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 48h
                48h
                Remaining:
                Remaining Estimate - 48h
                48h
                Logged:
                Time Spent - Not Specified
                Not Specified