Le 7/23/12 6:14 PM, Brendan Crowley a écrit :
Just noticed i said org.apache.mina.transport.socket.nio.NioDatagramAcceptor doesn't exist in 2.0.4, i meant to say trunk. can anyone see any issues with the bean declarations ?
org.apache.mina.transport.socket.nio.NioDatagramAcceptor does exist in MINA 2.0.4 and in trunk.
My Decoder class extends org.apache.mina.filter.codec.CumulativeProtocolDecoder and by using remote debugger it seems to call 'doDecode' repeatedly in a NioDatagramAcceptor thread after a messageReceived.
Are you sure you flip() the buffer after having decoded it ? -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com