My Oracle Support Banner

WebLogic Server Cluster: Enable Load Balancing with a Multithreaded JMS Consumer and Distributed Queue (Doc ID 1296758.1)

Last updated on AUGUST 22, 2022

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:


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

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.