PublishKey pk = new PublishKey(con.getGlobal(), "AllProtocols", "text/xml", "1.0");
pk.setClientTags("<org.xmlBlaster><demo/></org.xmlBlaster>");
PublishQos pq = new PublishQos(con.getGlobal());
MsgUnit msgUnit = new MsgUnit(pk, "Hi", pq);
con.publish(msgUnit);
GetKey gk = new GetKey(con.getGlobal(), "AllProtocols");
GetQos gq = new GetQos(con.getGlobal());
MsgUnit[] msgs = con.get(gk.toXml(), gq.toXml());