On Fri, 14 Nov 2008 15:49:33 +0100, Alexander Christian <[EMAIL PROTECTED]>
wrote:
>
Hmm, I changed to following code
>
> --code--
> acceptor.getFilterChain().addFirst("executor", new
> ExecutorFilter(filterchainWorkerPool));
> --/code--
to this one:
--code--
OrderedThreadPoolExecutor c = new OrderedThreadPoolExecutor();
acceptor.getFilterChain().addFirst("executor", new ExecutorFilter(c));
--/code--
Now it works again, also with hughe messages. But what's the benefit? As
far as I understood the apidoc, the events are forwarded in the same order
they arrive. So the whole stuff seems to be "synchronized" again and the
streams did not get corrupted. So what's then the benefit of the
OrderedThreadPoolExecutor?
I'm a little bit confused about this.
br,
Alex