4 Replies Latest reply on Oct 5, 2009 4:33 PM by jaikiran pai

    How to improve performance of Message Driven Beans

    Alexandre Verri Newbie


      I have a MDB with a very bad performance: the actual throughput is only 10 messages per second.

      I need to improve it to 100 messages per second. How can I configure JBoss/MDB to archive this goal?

      I've tried to tune the 'maxSession' property, without success.

      My actual MDB configuration is:

      @MessageDriven(activationConfig = {
       @ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Queue"),
       @ActivationConfigProperty(propertyName = "destination", propertyValue = "queue/testQueue"),
       @ActivationConfigProperty(propertyName = "maxSession", propertyValue="10"),
       @ActivationConfigProperty(propertyName = "minSession", propertyValue="10"),
       @ActivationConfigProperty(propertyName = "maxMessages", propertyValue="1")