You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "William Tam (JIRA)" <ji...@apache.org> on 2010/05/06 20:14:47 UTC

[jira] Updated: (CAMEL-2620) Preserve streaming behavior in camel-cxf PAYLOAD mode

     [ https://issues.apache.org/activemq/browse/CAMEL-2620?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

William Tam updated CAMEL-2620:
-------------------------------

    Fix Version/s:     (was: 2.3.0)
                   2.4.0

> Preserve streaming behavior in camel-cxf PAYLOAD mode
> -----------------------------------------------------
>
>                 Key: CAMEL-2620
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2620
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-cxf
>            Reporter: William Tam
>            Assignee: William Tam
>             Fix For: 2.4.0
>
>
> Dan Kulp pointed out in https://issues.apache.org/jira/browse/CXF-2753 that Camel should preserve the streaming behavior by setting message part  type class to Source.class (so the payload object becomes a SAXSource that wraps around a XMLStreamReader).   The camel-cxf component currently exposes to the user a List of DOM Elements as payload.  Basically, streaming behavior stops there anyway.  We probably should provide a parameter to configure the camel-cxf endpoint to opt out of DOM and get a SAXSource as payload and add a converter if the user needs to go from SAXSource to DOM.  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.