setFieldData(con, fLastMessageNumber, messageNumber, false);
for (long i = lastMessageNumber + 1; i < messageNumber; i++) {
registerSingleUnackedMessageNumber(con, i, false);
}
} else if (! containsUnackedMessageNumberRegistration(con, messageNumber)) {
throw new DuplicateMessageRegistrationException(sequenceId, messageNumber);
}
registerSingleUnackedMessageNumber(con, messageNumber, true);
setFieldData(con, fLastActivityTime, ts.currentTimeInMillis(), false);