[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: Something up with the in vm transport
timfox
do-not-reply at jboss.com
Mon Jan 14 11:24:07 EST 2008
"jmesnil" wrote :
|
| That is not the case: the execution on the server-side is not done from the same thread. It uses a Executors.newSingleThreadExecutor() to run the code on the server-side.
|
it should all run on the same thread - we don't want to introduce the overhead of unnecessary context switches.
anonymous wrote :
| To be frank, the more I think about it and the more I think I should get rid of the Executors.newSingleThreadExecutor() and not provide any timeout feature for the invm optimization.
|
Agreed. No need for a timeout - just execute it on the same thread.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4119710#4119710
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4119710
More information about the jboss-dev-forums
mailing list