Uploaded image for project: 'ServiceMix Components'
  1. ServiceMix Components
  2. SMXCOMP-672

Cache DocumentBuilder for creating new Document instances

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Activity

          People

            gertvanthienen Gert Vanthienen
            gertvanthienen Gert Vanthienen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: