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

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


"averri" wrote : Hi,
  | 
  | 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 achieve 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=4258688#4258688

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



More information about the jboss-user mailing list