cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reinhard Pötz <reinh...@apache.org>
Subject Re: Multithreading within a pipeline component.
Date Fri, 11 Dec 2009 07:59:45 GMT
Johannes Lichtenberger wrote:
> Hello,
> 
> is it even possible to generate threads for instance in a generator? I
> assume the SAX events generated wouldn't be in the right order at the
> following transformer.

yes, it's your responsibility to take care of the right order of events.
You could consider using a SAXBuffer which stores all events created by
the different threads and finally stream them in the correct order to
the generator's content handler.

-- 
Reinhard Pötz                           Managing Director, {Indoqa} GmbH
                         http://www.indoqa.com/en/people/reinhard.poetz/

Member of the Apache Software Foundation
Apache Cocoon Committer, PMC member                  reinhard@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