LoadBalancingParamsBean


Overview  |   Related MBeans  |   Attributes  |   Operations

Overview

The load-balancing parameters allow client to choose how they wish to distribute the work to the configured servers.

       
Security rolesThe following roles have read, write, and invoke permission for all non-encrypted attributes and operations in this MBean:
  • Deployer
Fully Qualified Interface NameIf you use the getMBeanInfo operation in MBeanTypeServiceMBean, supply the following value as this MBean's fully qualified interface name:
weblogic.j2ee.descriptor.wl.LoadBalancingParamsBean
Factory Methods No factory methods. Instances of this MBean are created automatically.
Access Points You can access this MBean from the following MBean attributes:


    Attributes

    This section describes the following attributes:


    LoadBalancingEnabled

    Specifies whether non-anonymous producers created through a connection factory are load balanced within a distributed destination on a per-call basis.

           
    Privileges Read/Write
    Typeboolean
    Default Valuetrue

    ProducerLoadBalancingPolicy

    The Producer Load Balancing Policy restricts where a JMS Message Producer can load balance its messages among members of a distributed destination (DD).

    The valid values are:

    Notes:

    This attribute is dynamic and can be changed at any time. However, changing the value does not affect existing connections. It only affects new connections made with this connection factory.

    For more information, see:

           
    Privileges Read/Write
    Typejava.lang.String
    Default ValuePer-Member
    Legal Values
    • Per-Member
    • Per-JVM

    ServerAffinityEnabled

    Specifies whether a server instance that is load balancing consumers or producers across multiple members destinations of a distributed destination, will first attempt to load balance across any other physical destinations that are also running on the same server instance.

           
    Privileges Read/Write
    Typeboolean
    Default Valuetrue


    Operations

    This section describes the following operations:


      isSet

      Return true if the given property has been explicitly set in this bean.

         
      Operation Name"isSet"
      ParametersObject [] {  propertyName }

      where:

      • propertyName is an object of type java.lang.String that specifies:

        property to check

      SignatureString [] { "java.lang.String" }
      Returns boolean
      Exceptions
      • java.lang.IllegalArgumentException
        IllegalArgumentException if propertyName is not a recognized property

      unSet

      Restore the given property to its default value.

         
      Operation Name"unSet"
      ParametersObject [] {  propertyName }

      where:

      • propertyName is an object of type java.lang.String that specifies:

        property to restore

      SignatureString [] { "java.lang.String" }
      Returns void
      Exceptions
      • java.lang.IllegalArgumentException
        UnsupportedOperationException if called on a runtime implementation.