ExecutorService clientWorkerExecutor = createExecutorService(clientWorkerThreadPoolSize,
"router-client-worker-thread-%d");
clientBootstrap = new ClientBootstrap(
new NioClientSocketChannelFactory(
new NioClientBossPool(clientBossExecutor, clientBossThreadPoolSize),
new ShareableWorkerPool<NioWorker>(new NioWorkerPool(clientWorkerExecutor, clientWorkerThreadPoolSize))));
clientBootstrap.setPipelineFactory(new ChannelPipelineFactory() {
@Override
public ChannelPipeline getPipeline() throws Exception {