if (m != null && m.size() > 0) {
logger.trace("Relocating " + m.size() + " records");
int nbRecord = 0;
while (m.size() > 0) {
RecordLocation loc = (RecordLocation)m.first();
Packet packet = journal.read(loc);
RecordLocation newLoc = journal.write(packet, false);
ObjectInputStream ois = new ObjectInputStream(
new ByteArrayInputStream(packet.sliceAsBytes()));
ois.readByte();
String queue = ois.readUTF();
byte[] buf = new byte[UUID_LENGTH];
ois.read(buf);
UUID id = new UUID(buf);