Csaba Endre Simon wrote: > Hi All, > > Running the org.apache.mina.example.sumup example, I got exactly the > same behavior. Logs attached for the client and the server. > > Mina version is 1.0.2. > > This is a bug? Should I open a JIRA?
This is normal MINA behavior when using ProtocolCodecFilter. The empty ByteBuffer you're seeing is just a marker which MINA uses to keep track of the original message you wrote before it was encoded into a ByteBuffer by your ProtocolEncoder. Without it ProtocolCodecFilter won't be able to call messageSent() properly. -- Niklas Therning www.spamdrain.net
