2005/11/15, Trustin Lee <[EMAIL PROTECTED]>:
And please don't forget to make sure that you didn't close the session before the message is actually written out completely. You can use WriteFuture:
WriteFuture future = session.write(bigBuffer);
future.join();
assert future.isWritten(); // It will return true if written successfully.
HTH.
Trustin
-- Hi Amit,It should work fine even with 1MB ByteBuffer. It would be great if you can attach a JUnit
TestCase to reproduce this issue.
And please don't forget to make sure that you didn't close the session before the message is actually written out completely. You can use WriteFuture:
WriteFuture future = session.write(bigBuffer);
future.join();
assert future.isWritten(); // It will return true if written successfully.
HTH.
Trustin
what we call human nature is actually human habit
--
http://gleamynode.net/
