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.

MessageSent is a "utility" designed to inform you you PDU  was
completely sent.

IMO it should be removed for 3.0 because less I use it, easier MINA
usage is.

Julien

Attachment: signature.asc
Description: PGP signature

Reply via email to