cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <>
Subject Re: XML streaming, pipeline parallelizing
Date Tue, 17 Sep 2002 13:54:34 GMT
Johann Romefort wrote:

> Hi,
> To reformulate my last question in a more cocoon fashion, how can I 
> fire parrallel "generator" steps
> in my pipeline and is it possible to stream ( both transforming and 
> serializing) the results to generate

... and the result will be mix of tags from all different sources? I 
fear even if it could be possible it would make no sense.

You can do whatever you want to do (multiple threads pulling resources) 
in your custom action/generator. First thread corresponding to the first 
part can start generation right away, but results from all other threads 
has to be buffered (say, in a DOM tree) till first part is complete. Or, 
you can start pulling parts simultaneously, and output the results in 
the order as they arrive.

 From coding perspective, is a good start for 
your custom generator.


> Thanks in advance,
> Regards,
> johann

Please check that your question  has not already been answered in the
FAQ before posting.     <>

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

View raw message