Julien Vermillard wrote:
Le Tue, 27 Oct 2009 10:44:30 +0100,
[email protected] a écrit :

Well, I use version 2.0M6 and I have trouble with the order of
filters. I created a protocol encoder/decoder and some filters. The
filters extend IoFilterAdapter and overwrite messageReceived/Sent.
This works well for for inbound messages, the protocol is used first
and than the filters are used on their order.
The trouble starts outbound. I would expect that the filter chain is
processed in the reverse order but id did not! The filters are called
in the same order as the for the inbound messages. Is this the
designed behaviour? Any ideas?



The messageSent is a PITA, the filterWrite is in reverse order.
Right, I forgot to mention that the write is done in reverse order. this is where it's even more confusing...

--
--
cordialement, regards,
Emmanuel Lécharny
www.iktek.com
directory.apache.org


Reply via email to