On Jan 5, 2008 9:28 AM, Geoff Cadien <[EMAIL PROTECTED]> wrote: > The javadoc for OrderedThreadPoolExecutor states: > > The event order is never mixed up. (e.g. messageReceived is always invoked > before sessionClosed or messageSent.) > > Does this apply when using an IoConnector as opposed to and IoAcceptor? I > seem to be having messageReceived called before messageSent in my IoHandler > when using NioConnector to make outbound connections in conjuction with > ExecutorFilter. Which really isn't what I want. :-)
It's probably the I/O processor produced the events such an order due to some reason. Can you reproduce the same issue without inserting any ExecutorFilter? I guess you will still have the same issue after removing OrderedThreadPoolExecutor. Please let me know the result. Trustin -- what we call human nature is actually human habit -- http://gleamynode.net/ -- PGP Key ID: 0x0255ECA6
