Thanks Brad!
Adding 'maxSession' did the trick for me.
@MessageDriven(
activationConfig={
...
@ActivationConfigProperty(propertyName="maxSession",propertyValue="50")
}
)
I tried using MaxPoolSize as you suggested but i got the following error:
No property found for: MaxPoolSize on JavaBean: org.jboss.resource.adapter.jms.inflow.JmsActivationSpec