if(onewayThreadPool == null)
{
// if no thread pool class set, then use default BasicThreadPool
if(onewayThreadPoolClass == null || onewayThreadPoolClass.length() == 0)
{
BasicThreadPool pool = new BasicThreadPool("JBossRemoting Server Oneway");
pool.setMaximumPoolSize(maxNumberThreads);
if (maxOnewayThreadPoolQueueSize > 0)
pool.setMaximumQueueSize(maxOnewayThreadPoolQueueSize);
pool.setBlockingMode(BlockingMode.RUN);
onewayThreadPool = pool;
log.debug(this + " created new thread pool");
}
else
{