Hi all,
I am currently using the WSMQ JCA adaptor with JBOSS 4.2.2 with XA and EJB 3.
The trouble is I am having a real hard time finding out how to increase the MDB pool beyond 10. Everytime I begin to consume messages, websphere MQ only shows 10 connections.
I would really like to increase the number of MDBs which can listen to a queue.
I have tried adjusting the ra.xml within the wmq.jmsra.rar file, and also tried various jboss settings with no effect.
Does anyone know have to increase the number of MDB connections available with this resource adaptor? I have also tried various annotations.
The MDB conf -
@ResourceAdapter("wmq.jmsra.rar")
@Depends("stc.instation:service=StartupService")
@MessageDriven(name="TestPriority", activationConfig = {
@ActivationConfigProperty(propertyName="destinationType", propertyValue="javax.jms.Queue"),
@ActivationConfigProperty(propertyName="destination", propertyValue="Q.TEST"),
@ActivationConfigProperty(propertyName="useJNDI", propertyValue="false"),
@ActivationConfigProperty(propertyName="hostName", propertyValue="mqhost"),
@ActivationConfigProperty(propertyName="queueManager", propertyValue="TESTQM"),
@ActivationConfigProperty(propertyName="port", propertyValue="1420")
})
I just found the answer actually by accident!
@ActivationConfigProperty(propertyName = "maxPoolDepth", propertyValue = "20")
Is there a good guideline for number of active MDBs per core?