Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-5449

CxfPayloadConverter converts to NodeList by default, affecting performance

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.9.2
    • 2.9.3, 2.10.1
    • camel-cxf
    • None
    • Unknown

    Description

      The first thing CxfPayloadConverter tries to do is convert the payload to a NodeList. When used in combination of something like XSLT which would produce a "String", this results in a full DOM being created for the String. With the streaming support in the CXF component, it should FIRST attempt to convert to "Source" and use that. This can then be a StreamSource or similar that can be streamed directly.

      Attachments

        Activity

          People

            dkulp Daniel Kulp
            dkulp Daniel Kulp
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: