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

FlatpackDataFormat ignores errors in Flatpack's DataSet

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.16.2
    • Fix Version/s: 2.18.0
    • Component/s: camel-flatpack
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      Given a route

      from("file:/temp/flatpack")
      .unmarshal(new FlatpackDataFormat())
      .split(body())
      .log("Record found");

      and an input file
      foo,bar
      1
      2,foo
      3,foo,bar

      I get one record logged; there are no errors or exceptions.

      DataSet contains errors (for too few and too many fields), however, it is wrapped in a DataSetList and access to the errors is lost.

        Attachments

          Activity

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              psarah Sarah Phillips
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: