Re: XmlConverter: thread safety of DBFs and TFs

2013-07-31 Thread Raul Kripalani
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ú

XmlConverter: thread safety of DBFs and TFs

2013-07-31 Thread Raul Kripalani
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

camel pull request: CAMEL-6587: Upgrade share plugin from 2.0 to 2.1 to avo...

2013-07-31 Thread davidkarlsen
Github user davidkarlsen closed the pull request at: https://github.com/apache/camel/pull/35