String configKey = org.xmlBlaster.util.dispatch.plugins.prio.PriorizedDispatchPlugin.CONFIG_PROPERTY_KEY; // -PriorizedDispatchPlugin/config=
try {
String oid = "__cmd:sysprop/?" + configKey;
String contentStr = config;
PublishQos pq = new PublishQos(glob);
PublishReturnQos rq = con.publish(new MsgUnit("<key oid='"+oid+"'/>", contentStr.getBytes(), pq.toXml()));
log.info("SUCCESS publish '" + oid + "' " + pq.toXml() + ", returned state=" + rq.getState());
assertEquals("Returned oid wrong", oid, rq.getKeyOid());
assertEquals("Return not OK", Constants.STATE_OK, rq.getState());
} catch(XmlBlasterException e) {
log.warning("XmlBlasterException: " + e.getMessage());