camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-2620) Preserve streaming behavior in camel-cxf PAYLOAD mode
Date Sun, 26 May 2013 09:15:21 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-2620?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13667242#comment-13667242
] 

Claus Ibsen commented on CAMEL-2620:
------------------------------------

I think this is implemented now with the streaming mode support
http://camel.apache.org/cxf#CXF-StreamingSupportinPAYLOADmode
                
> Preserve streaming behavior in camel-cxf PAYLOAD mode
> -----------------------------------------------------
>
>                 Key: CAMEL-2620
>                 URL: https://issues.apache.org/jira/browse/CAMEL-2620
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-cxf
>            Reporter: William Tam
>             Fix For: Future
>
>
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message