Hi,
I'm sorry - sure I read the answer to this on the mailing list
before (at least something about it) but the archive search on the
apahce site isn't working at the moment. I'm writing my own codec,
and keep getting a zero length packet sent at the end of each
message. This seems to be caused by the encoderOut.flush() call at
the end of ProtocolCodecFiler.filterWrite(). My codec generally does
quite a few ProtocolCodecFiler.merge() and ProtocolCodecFiler.flush()
calls during the actual encoding process itself, since I need control
of the actual packets that get sent (it's a UDP protocol to some
embedded hardware). Are my own flush call causing the problem ? Maybe
I should avoid doing a flush for the last packet ?
I'm using the in-VM transport - haven't tried it with a proper
network transport yet.
Mina 0.9.0
any idea what I'm doing wrong ?
josh