0 Replies Latest reply on Nov 7, 2007 2:55 PM by viniciuscarvalho

    JBoss 4.2 + JBoss Messaging MDB performance issues

    viniciuscarvalho

      Hello there! My application uses JMS heavily. It is a series of MessageListeners that through a central router communicate with each other. Almost all of my listeners are created as jms clientes with MessageConsumers (the reason for that is because I was not able to create mdbs "on-the-fly" on my custom deployer).

      After running some stress tests, I've noticed that for those listeners, they consume the message really fast, for instance, one endpoint redirecting to another never takes more than 200ms.

      The last endpoint on the chain tough, sends to a queue consumed by and MDB. This one though, decreases the response time with the message load. For instance, with 1 message, it takes 700ms to consume, but with 300 it takes over 40s to consume the last message.

      I always thought that MDB was a pool with concurrent consumers to the same destination. I've increased the pool size on standardjboss.xml but no success at all. Is there an way to increase the performance?

      Regards