private static void registerMQListener(String factoryID)
 {
     listener           = new ActiveMQListener();
     listener.topicName = factoryID;
     listener.brokerUrl = ConnectionUtils.MQ_BROKER_URL;
     listener.addObserver(new TestMQObserver());
     listener.UpdateConnection();
 }
 private static void registerMQListener(String factoryID)
 {
     listener = new ActiveMQListener();
     listener.topicName = factoryID;
     listener.brokerUrl = ConnectionUtils.MQ_BROKER_URL;
     listener.addObserver(new TestMQObserver());
     listener.UpdateConnection();
 }