You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Gert Vanthienen (JIRA)" <ji...@apache.org> on 2009/11/11 10:35:52 UTC
[jira] Resolved: (SMXCOMP-672) Cache DocumentBuilder for creating
new Document instances
[ https://issues.apache.org/activemq/browse/SMXCOMP-672?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gert Vanthienen resolved SMXCOMP-672.
-------------------------------------
Resolution: Fixed
Fixed in http://svn.apache.org/viewvc?view=revision&revision=834815 for servicemix 3.2 branch
and in http://svn.apache.org/viewvc?view=revision&revision=834816 for components' trunk
> 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.