"timfox" wrote : "jmesnil" wrote :
| | This 3rd case is meant to be covered by sendOneWay(AbstractPacket packet,
PacketHandler callback).
| |
|
| That's right. But I was just making the point that in the wiki page, you mention
that this mode would be used for non persistent messages which is not right :)
|
Ok, got it! ;) I'll fix that.
anonymous wrote :
| For now, the response is handled by the same thread which sent the request but I plan
to use an ExecutorService to have other threads take care of handling the packet
|
I'm not sure that will be necessary - we want to avoid as much context switching as
possible.
AFAIK Mina has two thread pools - once for the selectors and one to actually execute the
requests (responses). Should be ok to just use the MINA thread surely?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104463#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...