if (doInterrupt)
qos.addClientProperty("interrupted", true);
qos.addClientProperty("nameOfTest", name);
qos.addClientProperty(Constants.addJmsPrefix(XBConnectionMetaData.JMSX_MAX_CHUNK_SIZE, log), maxChunkSize);
ByteArrayInputStream bais = new ByteArrayInputStream(content);
conn.publishStream(bais, key.getData(), qos.getData(), maxChunkSize, null);
}
private void doPublishJMS(byte[] content, int maxChunkSize, boolean doInterrupt, String name) throws JMSException {
// Global glob = this.global.getClone(null);
// XBSession session = new XBSession(this.publisherGlobal, XBSession.AUTO_ACKNOWLEDGE, false);