Cache DocumentBuilder for creating new Document instances
---------------------------------------------------------

                 Key: SMXCOMP-672
                 URL: https://issues.apache.org/activemq/browse/SMXCOMP-672
             Project: ServiceMix Components
          Issue Type: Improvement
          Components: servicemix-soap2
    Affects Versions: servicemix-shared-2009.01
            Reporter: Gert Vanthienen
            Assignee: Gert Vanthienen
            Priority: Minor
             Fix For: 3.2.4, servicemix-bean-2009.02


While the parse() methods aren't necessarily thread-safe, it's OK to reuse the 
same instance for creating Document instances (as e.g. CXF already does). The 
DomUtil class should have a cached instance for this purpose to avoid the 
unnecessary object creation overhead.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to