2 Replies Latest reply: Feb 7, 2008 3:49 AM by 807581 RSS

    JMS, MDBs, XA and JConsole's 'Threads Started'

    807581
      Hi,

      I'm currently looking at perforamce issues of an MDB based application running in SJSAS 8.2. While monitoring the performance of the application we have noticed that the number of threads started (as reported by jconsole) matches the number of messages submitted the the system times the number of MDBs that the message passes through i.e. if we create 20,000 messages and the each processed by 5 MDBs we see the number of threads started rise by 100,000. Each MDB updates a database and passes the message onto another JMS queue in an XA transaction.

      As the number of live threads and peak threads stays pretty constant through out the processing (approx. 150) is this to be expected or is it something that requires more investigation?

      Thanks

      Stephen