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

FlatpackDataFormat ignores errors in Flatpack's DataSet

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.16.2
    • 2.18.0
    • camel-flatpack
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: