topicProperty.setDestroyDelay(60000L);
topicProperty.setCreateDomEntry(true);
topicProperty.setReadonly(false);
topicProperty.getHistoryQueueProperty().setMaxEntries(numPub+5);
pq.setTopicProperty(topicProperty);
log.info("Added TopicProperty on first publish: " + topicProperty.toXml());
}
byte[] content = "Hello".getBytes();
MsgUnit msgUnit = new MsgUnit(pk, content, pq);
sentArr[i] = msgUnit;