The filter order is broken for sending
--------------------------------------
Key: DIRMINA-744
URL: https://issues.apache.org/jira/browse/DIRMINA-744
Project: MINA
Issue Type: Bug
Components: Core
Affects Versions: 2.0.0-RC1
Environment: Windows, Java 6
Reporter: Haug Bürger
The order in which the filters are called receiving messages is ok.
The order in which the send messages are processed is broken.
If the handler sends back a message via session.write("return"); the return
message is not pushed through the filters in the reverse order.
I added a stripped down example which produces the following output.
StartStopPacketizer.doDecode
FilterOne messageReceived: Hello0.
FilterTwo messageReceived: Hello0.
MyHandler messageReceived: Hello0.
StartStopPacketizer.encode
FilterOne messageSent: return
FilterTwo messageSent: return
done
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.