// Shallow clone: Setting new content. We keep the original key, but kill the original QoS
PublishQos publishQos = new PublishQos(glob);
msgUnitArrRaw[ii] = new MsgUnitRaw(msgUnitArr[ii].getKey(), value.getBytes(), publishQos.toXml());
}
*/
String[] retArr = xmlBlaster.publishArr(addressServer, sessionId, msgUnitArrRaw);
log.info(cmd.getCommand() + " published " + msgUnitArrRaw.length + " messages");
StringBuffer sb = new StringBuffer(retArr.length * 60);
for (int ii=0; ii<retArr.length; ii++) {
sb.append(retArr[ii]);