How to ensure equal or load-adequate delivery of Messages to Message Driven Beans | EAP 7.x
Issue
-
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.
Environment
- Red Hat JBoss Enterprise Application Platform
- (EAP) 7.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.