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

beanio - Add support for custom BeanReaderErrorHandler

    XMLWordPrintableJSON

Details

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

            acosentino Andrea Cosentino
            davsclaus Claus Ibsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: