}); // Login to xmlBlaster, default handler for updates
String xmlKey = null;
PublishQos qw = new PublishQos(glob);
EraseQos eq = new EraseQos(glob);
System.out.println("qos = " + qw.toXml() );
byte[] b = new byte[1024];
long lCount = 0L;
while(true) {
lCount++;
xmlKey = "<key oid='" + lCount +
"'> <topic id='aaaa'/>" +
"</key>";
con.publish(new MsgUnit(xmlKey,b,qw.toXml()));
try { Thread.sleep(5L); } catch( InterruptedException i) {}
EraseKey ek = new EraseKey(glob, "" + lCount);
EraseReturnQos[] er = con.erase(ek.toXml(), eq.toXml());
// System.out.println(new Timestamp(System.currentTimeMillis())+":"+lCount);
if ((lCount % bulkSize) == 0) {
log.info("Published and erased " + lCount + " topics, enter return to continue, enter 'q' to quit");
try {