Hi Trustin, If you could add that feature that would be great - There majority of the dynamic connections will share the same handler - does this suggest another solution?
If you could point me in another direction in the api that would be welcome - in case I have missed something regards Steve Trustin Lee wrote: > > Hi Steve, > > On Nov 19, 2007 9:40 AM, steview <[EMAIL PROTECTED]> wrote: >> >> Hi Trustin, >> It appears from the code that set addresses can only be used while the >> acceptor is not running (e.g as a start up config) - can you confirm if >> that >> is correct?. > > Yes. If there's demand for dynamically changing the list of the bound > ports, we will add such a feature. > >> I am not sure that stopping, adding the new ports and restarting the >> acceptor is a reasonable approach. I am after a scalable way to >> dynamically >> add more ports to the acceptor (or create new acceptors that all share >> the >> processing threadpool) as I do not want hundreds of acceptors (1 for each >> new port) added as the app is running. > > Do all of the open ports use the same IoHandler implementation? > >> Is there any reason the previous bind method was removed in 2.0 - and >> what >> would be the best way to achieve the same thing? > > It was because it is much simpler. :) > > Trustin > -- > what we call human nature is actually human habit > -- > http://gleamynode.net/ > -- > PGP Key ID: 0x0255ECA6 > > -- View this message in context: http://www.nabble.com/using-SimpleIoProcessorPool-in-multiple-acceptors-tf4831890s16868.html#a13826500 Sent from the Apache MINA Support Forum mailing list archive at Nabble.com.