Joerg Heinicke wrote:
Really an intersting idea. But I'd not begin the transaction in setup(). What about startDocument()?

right :-)
Jörg

On 20.09.2006 18:53, Olivier wrote:
<map:resource name="write">
     <map:transform src="blog/{blogfile}" type="orcades-file-writer">
      <map:parameter name="dest-dir" value="{orcades:data-path}/"/>
 </map:transform>

The transaction
* begins on setUp
* commit on endDocument
* roll back on recycle (if needed!)


Geert Josten wrote:
How does it work?

Kind regards,
Geert
-----Oorspronkelijk bericht-----
Van: Olivier [mailto:[EMAIL PROTECTED] Verzonden: woensdag 20 september 2006 10:07
Aan: users@cocoon.apache.org
Onderwerp: Re: Free for use: SaveFilesTransformer

Hi all,
 I've build a transactionnal write transformer on top of :
http://jakarta.apache.org/commons/transaction/
Works fine in production.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to