cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Busch" <Andreas.Bu...@ilogics.de>
Subject RE: Need advice on post-request
Date Thu, 15 Sep 2005 13:03:36 GMT
Can work, if I record the saxStream and put it parallel into the pipeline!
I have to research (Havy Framework, need havy time :-)) 
What is TeeTransformer ? 

-- Andreas


-----Original Message-----
From: Joose Vettenranta [mailto:joose@iki.fi] 
Sent: Thursday, September 15, 2005 2:25 PM
To: users@cocoon.apache.org
Subject: Re: Need advice on post-request

how about like this:

streamgenerator
YourOwnTransformer  <<---
processing...
serialize

and yourowntransformer could be a fork from TeeTransformer where you just
modfiy it to save data to DB instead of the filesystem.

- Joose

Andreas Busch kirjoitti 15.9.2005 kello 15:00:

>  Hi gurus,
> I have a problem to solve.
> I get a XML-File as http-post into the pipeline.
> Generate the pipe with stream-generator and do the processing.
>
> BUT: I need to store the hole XML into the database (CLOB Oracle) And 
> have no solution.
>
>  tryed : use an action and store the Inputstream into CLOB ..  
> Works , but Streamgenerator see no more this Inputstream
>
> I had a look on the stream-generator and belive that the same happens 
> when I read the stream for inserting in database
>
> Do i miss something (rewinding stream) Any Advice ?

--
"Always remember that you are unique, just like everyone else!"
* http://iki.fi/joose/ * joose@iki.fi * +358 44 561 0270 *


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message