DisconnectQos disconnectQos = new DisconnectQos(glob, glob.getDisconnectQosFactory().readObject(qos));
return new MsgQueueDisconnectEntry(glob, PriorityEnum.toPriorityEnum(priority), storageId,
new Timestamp(timestamp), sizeInBytes, disconnectQos);
}
else if (methodName == MethodName.DUMMY) { // for testsuite only
DummyEntry entry = null;
if (content != null)
entry = new DummyEntry(glob, PriorityEnum.toPriorityEnum(priority), new Timestamp(timestamp), storageId,
sizeInBytes, content, ref.isDurable());
else
entry = new DummyEntry(glob, PriorityEnum.toPriorityEnum(priority), new Timestamp(timestamp), storageId, sizeInBytes, ref.isDurable());
return entry;
}
}
catch (Exception ex) {