Message Driven Beans only take messages from the queue if there is a free thread in their thread-pool to start computing. However, the consumption of messages by the MDBs seems to be rather random.
For eg : If there are 2 MDBs configured to listen on to same queue, and if the 1st one processes message relatively faster compared to the 2nd MDB, expectation is that the 1st MDB should process more messages in terms of the load and free resource, but messages get divided equally into halves.
If MDBs are deployed on different server respectively, in that case the load on servers , resource utilization also plays an important role in message processing time.
- Red Hat JBoss Enterprise Application Platform
- (EAP) 7.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.