You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Andrei Shakirin <as...@talend.com> on 2012/10/01 18:54:52 UTC

RE: HTTP Chunking/Streaming and OutputDirectory

Hi Kongar,

I just try to understand your use case: do you want to read the same data from CachedOutputStream more than one time?
Do you processing identical requests/responses/attachments?

Regards,
Andrei.

-----Original Message-----
From: kongar [mailto:akong@5amsolutions.com] 
Sent: Samstag, 29. September 2012 00:09
To: users@cxf.apache.org
Subject: HTTP Chunking/Streaming and OutputDirectory

I have a question about CXF large payload streaming and the cached output directory.  I was wondering if it was possible to get access the temporary file that gets generated by CXF after it is streamed in?  Meaning, the file that is created in the directory I specify with org.apache.cxf.io.CachedOutputStream.OutputDirectory... is it possible to get a handle to that file and possibly move it to a different/permanent location?  I ask because I am trying to minimize the number of times a file is created, and if CXF has already finished streaming in the file, I would rather reuse it rather than trying to create a new file (which is what I get if I access the DataHandler's input stream).





--
View this message in context: http://cxf.547215.n5.nabble.com/HTTP-Chunking-Streaming-and-OutputDirectory-tp5715095.html
Sent from the cxf-user mailing list archive at Nabble.com.