View This Load Balancing Params

get

/management/weblogic/{version}/edit/partitions/{name}/resourceGroups/{name}/JMSSystemResources/{name}/JMSResource/connectionFactories/{name}/loadBalancingParams

View this load balancing params.

Request

Path Parameters
Query Parameters
  • The 'excludeFields' query parameter is used to restrict which fields are returned in the response. It is a comma separated list of field names. If present, only fields whose name is not on the list will be returned. If not present, all fields are returned (unless the 'fields' query parameter is specified). Note: 'fields' must not be specified if 'excludeFields' is specified.
  • The 'fields' query parameter is used to restrict which fields are returned in the response. It is a comma separated list of field names. If present, only fields with matching names are returned. If not present, all fields are returned (unless the 'excludeFields' query parameter is specified). Note: 'excludeFields' must not be specified if 'fields' is specified.
Security
Back to Top

Response

Supported Media Types

200 Response

Returns this load balancing params.

Body ()
Root Schema : Load Balancing Params
Type: object
Show Source
  • Default Value: true

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

    • If enabled, the associated message producers are load balanced on every send() or publish()

    • If disabled, the associated message producers are load balanced on the first send() or publish()

  • Default Value: Per-Member
    Allowed Values: [ "Per-Member", "Per-JVM" ]

    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:

    • Per-Member - The default value. All running members are candidates.

    • Per-JVM - Only one member per JVM is a candidate.

    Notes:

    • Unit of Order and Unit of Work messages are not affected by this setting.

    • If every WebLogic Server JVM is running a single member of the DD, then Per-JVM and Per-Member yield equivalent behavior.

    • There can be at most one Per-JVM candidate member of a particular DD per WebLogic Server JVM.

    • The Per-JVM load balance candidates will either be (a) members of a DD hosted on a cluster targeted JMS Server or SAF Agent that are running on their preferred server (for example, members that have not failed over or migrated), OR (b) the lexicographically least member name on the same JVM where the DD member is not hosted on a cluster targeted JMS Server or SAF Agent. A member in (a) takes precedence over a member in (b). If two members satisfy (a), then the lexicographically least member name is chosen.

    • If the DD is a Replicated Distributed Topic or if Load Balance Enabled is set to false, then MessageProducers are 'pinned' to a single member and therefore only load balance on initial creation or after a failure. If a MessageProducer is already pinned to a particular DD member on a particular JVM, and the DD is not hosted on JMS Servers or SAF Agents that are targeted to a cluster, and a new member of the DD starts on the same JVM, then the MessageProducer's future messages stay pinned to its original member regardless of whether the member is still a Per-JVM load balance candidate.

    • You can override the Producer Load Balancing Policy on a custom Connection Factory by specifying the system properties weblogic.jms.ProducerLoadBalancingPolicy or weblogic.jms.ProducerLoadBalancingPolicy.MODULENAME on every WebLogic Server in a cluster (the latter property takes precedence over the former). If a Connection Factory is overridden by one of these system properties, then the host WebLogic Server will log an Info message BEA-040538 with the name of the Connection Factory, the system property, and the system property value once the first MessageProducer uses the connection factory.

    • For a similar setting that controls the load balancing of messages forwarded Exactly-Once via a Store-and-Forward Agent (SAF Agent), see the Exactly Once Load Balancing Policy attribute on a SAF Imported Destinations bean.

    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.

  • Default Value: true

    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.

Back to Top