This content has been marked as final.
Show 1 reply
-
1. Re: synchronize in onMessage?
genman Mar 4, 2004 8:11 PM (in response to leishen)
There are already processing statistics stored in the JBoss server. You can see them via the JMX console under the "jboss.mq.destination" category.
If you're using a static variable, then you need to synchronize on some sort of static lock. JBoss will create up to 15 MDB objects. You should use something like SynchronizedInteger in concurrent.jar.