WebLogic Server Cluster: Enable Load Balancing with a Multithreaded JMS Consumer and Distributed Queue
(Doc ID 1296758.1)
Last updated on AUGUST 12, 2021
Applies to:
Oracle WebLogic Server - Version 9.2 and laterInformation in this document applies to any platform.
Symptoms
Consider a Multithreaded Spring application as a JMS consumer and a distributed queue deployed on cluster (at least two WebLogic Server (WLS) instances).
When the URL provided is a cluster URL, for example:
t3://servername1:port1,servername2:port2
all threads are connected to the same Weblogic instance and switch to the other instance when there are no more message on current JMS server.
The threads are not load balanced on all members of the cluster; all threads are connected to the same WLS instance.
Changes
Below is a snippet of the standalone client program used to receive messages from the distributed queue:
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |