On 1/12/07, Julien Vermillard <[EMAIL PROTECTED]> wrote:
Just remove that :
>
> // Create the thread pool
> IoThreadPoolFilter threadPool = new IoThreadPoolFilter();
> threadPool.start();
> addFilter("threadPoolFilter", threadPool);
The ExecutorFilter will be placed automaticly.
Well, you'd better to do this:
acceptor.getDefaultConfig().setThreadModel(ThreadModel.MANUAL);
acceptor.getFilterChainBuilder().addLast("...", new ExecutorFilter(....));
// Specify a proper Executor or ExecutorService here.
Trustin
--
what we call human nature is actually human habit
--
http://gleamynode.net/
--
PGP key fingerprints:
* E167 E6AF E73A CBCE EE41 4A29 544D DE48 FE95 4E7E
* B693 628E 6047 4F8F CFA4 455E 1C62 A7DC 0255 ECA6