cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reinhard Pötz <>
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

Member of the Apache Software Foundation
Apache Cocoon Committer, PMC member        

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message