Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.21.1
-
None
-
Unknown
Description
I have trivial route that processes XMLs. When the XML is route and has no content (like empty file processed by <from uri="file:xxx">) I'm getting:
[Fatal Error] :-1:-1: Premature end of file.
printed directly on STDOUT.
If there was a way to make org.apache.camel.converter.jaxp.XmlConverter call javax.xml.parsers.DocumentBuilder#setErrorHandler (for example delegating to logger), it'd be great.