protected Map<OperationType, Handler> initializeNettyHandlers(
TopicManager tm, DeliveryManager dm,
PersistenceManager pm, SubscriptionManager sm,
SubscriptionChannelManager subChannelMgr) {
Map<OperationType, Handler> handlers = new HashMap<OperationType, Handler>();
handlers.put(OperationType.PUBLISH, new PublishHandler(tm, pm, conf));
handlers.put(OperationType.SUBSCRIBE,
new SubscribeHandler(conf, tm, dm, pm, sm, subChannelMgr));
handlers.put(OperationType.UNSUBSCRIBE,
new UnsubscribeHandler(conf, tm, sm, dm, subChannelMgr));
handlers.put(OperationType.CONSUME, new ConsumeHandler(tm, sm, conf));