[
https://issues.jboss.org/browse/TEIID-2148?page=com.atlassian.jira.plugin...
]
Steven Hawkins resolved TEIID-2148.
-----------------------------------
Resolution: Done
Changed the WS SOAP logic to use STaX, which will be returned as a stream from CXF. Also
expanding save on read to STaXSource, and added "stream" parameters to invoke
and invokeHttp. Since they are nullable, this will not affect existing invocations. If
stream is true, then the procedure will return a value that by-passes the save on read
logic and therefore can only be used once.
Add enhancements to more efficiently handle large documents/files
-----------------------------------------------------------------
Key: TEIID-2148
URL:
https://issues.jboss.org/browse/TEIID-2148
Project: Teiid
Issue Type: Enhancement
Components: Query Engine
Reporter: Steven Hawkins
Assignee: Steven Hawkins
Fix For: 8.2
The default strategy of Teiid is to copy the inputstream sent back from CXF (or anything
returning a Source/DataSource). To reduce latency this copy should be performed during
read, rather than all at once.
Ideally we should investigate the CXF internals to see if we can get a handle to a temp
file, which would completely eliminate the need for a copy. Alternatively or in addition
to this approach, the ws translator should offer an option to return a single use SQL/XML
value to the engine.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira