My question is about overriding IoHandlerAdapter's messageReceived method. Is it safe to run long running actions in this method such as session.write().join(5000)? Will there be a scalability penalty?
Actually, what confuses my mind is that we create only one instance of our IoHandlerAdapter implementation. When multiple messages are received concurrently, all these messageReceived's can be called concurrently with single instance. For clarity, I don't want to use any shared variable but only variables local to messageReceived. Also, I'll be very glad if your offer some resource for developing my java concurency knowledge. Thanks. -- View this message in context: http://www.nabble.com/Long-Lasting-Operations-in-IoHandlerAdapter-messageReceived-tf4156055s16868.html#a11824789 Sent from the Apache MINA Support Forum mailing list archive at Nabble.com.
