[jboss-user] [EJB 3.0 Users] - How to improve performance of Message Driven Beans

averri do-not-reply at jboss.com
Mon Oct 5 10:56:13 EDT 2009


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")
  | })

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258686#4258686

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258686

More information about the jboss-user mailing list