try {
{
log.fine("start test");
int msgSize = 1000000;
StorageId storageId = new StorageId(glob, "mystore", "test");
byte[] content = new byte[msgSize];
MsgUnit msgUnit = new MsgUnit(this.glob, "<key oid='aaa'/>", content, "<qos/>");
MsgQueuePublishEntry pubEntry = new MsgQueuePublishEntry(this.glob, msgUnit, storageId);
queue.put(pubEntry, false);
I_Entry entry = queue.peek();