// Check if other name or password was given on command line:
String name = glob.getProperty().get("session.name", "HelloWorldVolatile2");
String passwd = glob.getProperty().get("passwd", "secret");
ConnectQos connectQos = new ConnectQos(glob, name, passwd);
con.connect(connectQos, this); // Login to xmlBlaster, register for updates
// Subscribe for the volatile message
SubscribeKey sk = new SubscribeKey(glob, "HelloWorldVolatile2");
SubscribeQos sq = new SubscribeQos(glob);
SubscribeReturnQos subRet = con.subscribe(sk, sq);