Hi MINA users,
 
Finally, I fully migrated Netty2 SumUp client/server example to MINA and merged the migrated code to the repository.  You can browse the source code at: src/examples/org/apache/mina/examples/sumup.
 
This example fully uses DemuxingProtocolCodecFactory for an example binary protocol called 'SumUp' whose message have a header and a body just like general proprietary protocols.
 
I hope this helps you to implement more complex protocols using MINA.
 
Trustin
--
what we call human nature is actually human habit
--
http://gleamynode.net/