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 OCTOBER 18, 2018

Applies to:

Oracle Weblogic Server - Version 9.2 and later
Information 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

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