Just to clarify, what I meant was:
I believe the JDK's default JAXP implementation (Xerces) *of the
DocumentBuilderFactory.newInstance() method* happens to be thread-safe,
that's why it may have gone unnoticed so far.
Obviously Xerces, as a whole, is far from being thread-safe ;-)
Regards,
*Raú
Hi guys,
I'm reviewing Camel's XML-related components for hotspots to improve
performance.
Looking at the XmlConverter class, I've spotted a possible thread safety
issue with the documentBuilderFactory and transformerFactory instance
fields. They are lazily initialized once and re-used forever (p
Github user davidkarlsen closed the pull request at:
https://github.com/apache/camel/pull/35