You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2012/07/16 17:54:34 UTC

[jira] [Created] (CAMEL-5449) CxfPayloadConverter converts to NodeList by default, affecting performance

Daniel Kulp created CAMEL-5449:
----------------------------------

             Summary: CxfPayloadConverter converts to NodeList by default, affecting performance
                 Key: CAMEL-5449
                 URL: https://issues.apache.org/jira/browse/CAMEL-5449
             Project: Camel
          Issue Type: Bug
          Components: camel-cxf
    Affects Versions: 2.9.2
            Reporter: Daniel Kulp
            Assignee: Daniel Kulp
             Fix For: 2.9.3, 2.10.1



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.



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (CAMEL-5449) CxfPayloadConverter converts to NodeList by default, affecting performance

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-5449?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp resolved CAMEL-5449.
--------------------------------

    Resolution: Fixed
    
> CxfPayloadConverter converts to NodeList by default, affecting performance
> --------------------------------------------------------------------------
>
>                 Key: CAMEL-5449
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5449
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-cxf
>    Affects Versions: 2.9.2
>            Reporter: Daniel Kulp
>            Assignee: Daniel Kulp
>             Fix For: 2.9.3, 2.10.1
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira