private void _registerMQListener(string topicName, IMqObserver observer, IMqObservable lis) { lis.SetTopicName(topicName); lis.SetBrokerUrl(connUtil.mqBrokerUrl); lis.AddObserver(observer); lis.UpdateConnection(); }