]
Kevin Conner closed JBESB-3162.
-------------------------------
Resolution: Done
Updated in revision 31357.
Reuse DocumentBuilder in XMLHelper
----------------------------------
Key: JBESB-3162
URL:
https://jira.jboss.org/jira/browse/JBESB-3162
Project: JBoss ESB
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: Web Services
Affects Versions: 4.7
Reporter: Kevin Conner
Assignee: Kevin Conner
Fix For: 4.7 CP1
We only use it in this class to create a new document, never parsing. As such it is
quicker to reuse a single instance and synchronize around the newDocument() method
invocation.
We need to synchronize as the newDocument() implementation is not guaranteed to be thread
safe, although it is likely to be in most implementations.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: