WebLogic Server Cluster: Enable Load Balancing with a Multithreaded JMS Consumer and Distributed Queue
Last updated on FEBRUARY 11, 2017
Applies to:Oracle Weblogic Server - Version 9.2 and later
Information in this document applies to any platform.
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:
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.
Below is a snippet of the standalone client program used to receive messages from the distributed queue:
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms