protected void initializeNetty() {
InternalLoggerFactory.setDefaultFactory(new Log4JLoggerFactory());
allChannels = new DefaultChannelGroup("hedwigproxy");
ServerBootstrap bootstrap = new ServerBootstrap(serverSocketChannelFactory);
ChannelDisconnectListener disconnectListener =
(ChannelDisconnectListener) handlers.get(OperationType.SUBSCRIBE);
UmbrellaHandler umbrellaHandler =
new UmbrellaHandler(allChannels, handlers, disconnectListener, false);
PubSubServerPipelineFactory pipeline = new PubSubServerPipelineFactory(umbrellaHandler, null, cfg
.getMaximumMessageSize());