public IoAcceptor createAcceptor()
{
if (_multiThreadNIO)
{
_logger.warn("Using Qpid Multithreaded IO Processing");
return new org.apache.mina.transport.socket.nio.MultiThreadSocketAcceptor(processors, new NewThreadExecutor());
}
else
{
_logger.warn("Using Mina IO Processing");
return new org.apache.mina.transport.socket.nio.SocketAcceptor(processors, new NewThreadExecutor());
}
}