Matthew, Please see https://issues.apache.org/jira/browse/DIRMINA-528.
Thanks, Sangjin On Feb 12, 2008 10:39 PM, Matthew Phillips <[EMAIL PROTECTED]> wrote: > Hi all, > > I'm porting from MINA 1.1 to 2.0 and trying to convert this: > > SocketConnector connector = > new SocketConnector (processors, executor); > > to the 2.0 equivalent. Since there's no constructor that takes a > processor > count and an executor, I looked at SimpleIoProcessorPool, and tried: > > SocketConnector connector = > new NioSocketConnector > (new SimpleIoProcessorPool<NioSession> > (NioProcessor.class, executor, processors)); > > This is what's recommended in the javadoc for SimpleIoProcessorPool, but > since NioSession isn't public, it won't compile. What I really want to > be > able to do is share an Executor across several services, not have it > managed > by MINA. > > Matthew. >
