I have two machines running JBoss AS 4.0.3. Machine1 has a JMS queue deployed. There's one MDB each deployed on both the boxes listening to the queue on Machine1. The max size of each MDB is 1. So I have two similar MDBs (one each on two boxes) listening to the same queue.
When multiple messages are posted into the queue, the MDBs start processing them in a serial order alternatively. Ideally I would like both the MDBs to pick-up messages and start processing simultaneously.
The queue configuration is:
< mbean code="org.jboss.mq.server.jmx.Queue" name="jboss.mq.destination:service=Queue,name=RequestQueue"> < attribute name="ReceiversImpl">org.jboss.mq.server.ReceiversImplLinkedList < /attribute><depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager < /depends> < /mbean>
Can anybody point what's wrong...?