[jboss-user] [JBoss Messaging] - Re: JBM with singleton MDB
do-not-reply at jboss.com
Fri Jul 31 16:37:47 EDT 2009
"clebert.suconic at jboss.com" wrote :
| But anyway, you could also make the method onMessage of your MDB synchronized. So you would solve the multi-thread issue you have at your native lib.
My onMessage is already synchronized but it doesn't really solve my problem.
A thread can be blocked and idling because the onMessage is currently used, however, other MDBs on other machines are doing absolutely nothing and waiting for messages. The waiting part is what I'm trying to avoid.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4247352#4247352
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4247352
More information about the jboss-user