public TopicController(MQueue mq) { Q = mq; Logger = QLogger.Logger.ILog; Controller = AgentManager.Queue; Initialized = false; SendDirect = mq.Mode == CoverMode.Rout; AddTopic(mq.QueueName, mq.TargetPath); }
public TopicDispatcher(QueueController controller) { Controller = controller; Initialized = false; SendDirect = true; var topicProp = new QProperties("TopicEvent", false, CoverMode.Memory); EventQueue = new PriorityPersistQueue(topicProp); Logger = QLogger.Logger.ILog; //m_Topic = new Topics(); }