cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joose Vettenranta <jo...@iki.fi>
Subject Re: Need advice on post-request
Date Thu, 15 Sep 2005 12:24:54 GMT
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


Mime
View raw message