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
> HTML.


... 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, ContentAggregator.java is a good start for 
your custom generator.

Vadim



> Thanks in advance,
>  
> Regards,
>  
> johann



---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

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

Reply via email to