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

beanio - Add support for custom BeanReaderErrorHandler

    Details

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

      Description

      Allow to configure a BeanReaderErrorHandler on the configuration class. And then if set, then use that instead of creating one internally.

      That allows end users to do their own code what should happen.

      The default allows you to configure to ignore various errors

      private boolean ignoreUnidentifiedRecords;
      private boolean ignoreUnexpectedRecords;
      private boolean ignoreInvalidRecords;

      http://camel.465427.n5.nabble.com/Camel-BeanIO-catch-and-ignore-InvalidRecordException-tp5762999.html

        Attachments

          Activity

            People

            • Assignee:
              ancosen Andrea Cosentino
              Reporter:
              davsclaus Claus Ibsen
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: