logger.debug("New buffered message written !");
counter++;
try {
IoBuffer buf = (IoBuffer) writeRequest.getMessage();
if (counter == 3) {
assertEquals(1, buf.limit());
assertEquals(0, buf.get());
} else {
assertEquals(10, buf.limit());
}
} catch (Exception ex) {