camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAMEL-9939) beanio - Add support for custom BeanReaderErrorHandler
Date Tue, 03 May 2016 16:30:13 GMT
Claus Ibsen created CAMEL-9939:
----------------------------------

             Summary: beanio - Add support for custom BeanReaderErrorHandler
                 Key: CAMEL-9939
                 URL: https://issues.apache.org/jira/browse/CAMEL-9939
             Project: Camel
          Issue Type: Improvement
          Components: camel-beanio
            Reporter: Claus Ibsen
             Fix For: 2.18.0


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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message