while (it.hasNext()) {
String key = (String)it.next();
qos.addClientProperty(key, connectQosClientPropertyMap.get(key).toString());
}
}
log.info("ConnectQos is " + qos.toXml());
ConnectReturnQos crq = con.connect(qos, this); // Login to xmlBlaster, register for updates
// crq can be null if '-dispatch/connection/doSendConnect false' is set
log.info("Connect success as " + ((crq==null)?" faked connect":crq.toXml()));
subscribe(); // first time