Newcomb, Michael-P57487 wrote:
So, I can transform the message before I call nextFilter.write(message)... And, if my filters decides *not* to send the message at all, do I just not call nextFilter.write(message)?
Yes, either that or you could call nextFilter.messageSent(message) if you want your IoHandler to believe that the message has been sent. In that case you should also set the WriteRequest.written property to true. Note that this applies to MINA 0.9. I'm not sure if it also works with MINA 0.8.
HTH /Niklas
