JMS Distributed Queue --> Configuration --> General
Tasks Related Topics Attributes
Overview
This tab defines general configuration attributes for a set of JMS distributed queues.
Tasks
Creating a Distributed Queue and Creating Members Automatically
Creating a Distributed Queue and Adding Existing Physical Queues as Members Manually
Related Topics
Developing a WebLogic JMS Applicationin Programming WebLogic JMS
Attributes
Attribute Label
Description
Value Constraints
Name The name of this distributed queue configuration. WebLogic Server uses an MBean to implement and persist the configuration.MBean: weblogic.management.
configuration.
JMSDistributedQueueMBeanAttribute: Name
JNDI Name The JNDI name used to look up the distributed queue within the JNDI namespace. Applications can use the JNDI name to look up the distributed queue. If not specified, then the distributed queue is not bound into the JNDI namespace. MBean: weblogic.management.
configuration.
JMSDistributedQueueMBeanAttribute: JNDIName
Load Balancing Policy Determines whether non-anonymous producers created through a connection factory are load balanced within this distributed queue on a per-call basis. Valid values are:
- Round-Robin - The system maintains an ordering of physical queue members within the set by distributing the messaging load across the queue members one at a time in the order that they are defined in the configuration file. Each WebLogic Server maintains an identical ordering, but may be at a different point within the ordering. If weights are assigned to any of the queue members in the set, then those members appear multiple times in the ordering.
MBean: weblogic.management.
- Random - The weight assigned to the queue members is used to compute a weighted distribution for the members of the set. The messaging load is distributed across the queue members by pseudo-randomly accessing the distribution. In the short run, the load will not be directly proportional to the weight. In the long run, the distribution will approach the limit of the distribution. A pure random distribution can be achieved by setting all the weights to the same value, which is typically set to 1.
configuration.
JMSDistributedQueueMBeanAttribute: LoadBalancingPolicyDefault: Round-RobinValid values:
- Round-Robin
Dynamic: yes
- Random
Forward Delay (seconds) The amount of time, in seconds, that a distributed queue member with messages, but which has no consumers, will wait before forwarding its messages to other queue members that do have consumers. A value of -1 indicates that no messages are forwarded to other queue members. MBean: weblogic.management.
configuration.
JMSDistributedQueueMBeanAttribute: ForwardDelayDefault: -1