Re: Reuse of pipelines in java

2011-08-22 Thread Thorsten Scherler
On Thu, 2011-08-18 at 11:39 +0200, Thorsten Scherler wrote: On Tue, 2011-08-16 at 22:45 +0200, Sylvain Wallez wrote: ... Please read: I suggested to clone them, so that there is no need for them nor their components to be thread safe. You create a master pipeline that is never executed

Re: Reuse of pipelines in java

2011-08-18 Thread Thorsten Scherler
On Wed, 2011-08-17 at 14:46 -0500, Peter Hunsberger wrote: [snip...] Now everything is working fine for the first time I use the pipeline. However the second time it is not working anymore. I am using this.addEventToQueue(event) in the transformer to add the events to the queue. However

Re: Reuse of pipelines in java

2011-08-18 Thread Thorsten Scherler
On Tue, 2011-08-16 at 22:45 +0200, Sylvain Wallez wrote: Le 16/08/11 09:25, Steven Dolg a écrit : Am 14.08.2011 14:18, schrieb Sylvain Wallez: Le 12/08/11 21:08, Thorsten Scherler a écrit : Hi all, I am migrating a StAX development from a customer to c3 StAX, since the resulting code

Re: Reuse of pipelines in java

2011-08-17 Thread Thorsten Scherler
On Tue, 2011-08-16 at 10:08 +0200, Thorsten Scherler wrote: On Tue, 2011-08-16 at 09:25 +0200, Steven Dolg wrote: Am 14.08.2011 14:18, schrieb Sylvain Wallez: I mean PipelineStAXPipelineComponent pipeStAX = new NonCachingPipelineStAXPipelineComponent();

Re: Reuse of pipelines in java

2011-08-17 Thread Peter Hunsberger
[snip...] Now everything is working fine for the first time I use the pipeline. However the second time it is not working anymore. I am using this.addEventToQueue(event) in the transformer to add the events to the queue. However the second time I am calling the transformer I get

Re: Reuse of pipelines in java

2011-08-16 Thread Steven Dolg
Am 14.08.2011 14:18, schrieb Sylvain Wallez: Le 12/08/11 21:08, Thorsten Scherler a écrit : Hi all, I am migrating a StAX development from a customer to c3 StAX, since the resulting code will be much more generic and understandable. In my case I need to process all files from different

Re: Reuse of pipelines in java

2011-08-16 Thread Thorsten Scherler
On Tue, 2011-08-16 at 09:25 +0200, Steven Dolg wrote: Am 14.08.2011 14:18, schrieb Sylvain Wallez: Le 12/08/11 21:08, Thorsten Scherler a écrit : Hi all, I am migrating a StAX development from a customer to c3 StAX, since the resulting code will be much more generic and understandable.

Re: Reuse of pipelines in java

2011-08-16 Thread Sylvain Wallez
Le 16/08/11 09:25, Steven Dolg a écrit : Am 14.08.2011 14:18, schrieb Sylvain Wallez: Le 12/08/11 21:08, Thorsten Scherler a écrit : Hi all, I am migrating a StAX development from a customer to c3 StAX, since the resulting code will be much more generic and understandable. In my case I need

Re: Reuse of pipelines in java

2011-08-14 Thread Sylvain Wallez
Le 12/08/11 21:08, Thorsten Scherler a écrit : Hi all, I am migrating a StAX development from a customer to c3 StAX, since the resulting code will be much more generic and understandable. In my case I need to process all files from different folders, parse them and invoke a second pipeline

Reuse of pipelines in java

2011-08-13 Thread Thorsten Scherler
Hi all, I am migrating a StAX development from a customer to c3 StAX, since the resulting code will be much more generic and understandable. In my case I need to process all files from different folders, parse them and invoke a second pipeline from the main pipe. Meaning I have one principal