Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.2)

Part Number E27170-02

weblogic.j2ee.descriptor.wl
Interface UniformDistributedDestinationBean

All Superinterfaces:
DestinationBean, NamedEntityBean, SettableBean, TargetableBean
All Known Subinterfaces:
UniformDistributedQueueBean, UniformDistributedTopicBean

public interface UniformDistributedDestinationBean
extends DestinationBean

A uniform distributed destination is a distributed destination whose members are configured as part of its configuration; since members share the same configuration, they are uniform. There is one member on each JMS Server that conforms to the targeting criteria of the uniform distributed destination. For example, if a uniform distributed destination is targeted to a cluster, then one member will be created on each JMS server in the cluster. Members are created and destroyed as the targeting is changed.


Method Summary
 String getLoadBalancingPolicy()
          Determines how messages are distributed to the members of this destination.
 String getUnitOfOrderRouting()
          Determines how a distributed destination member is selected as the destination for a message that is part of a unit-of-order.
 void setLoadBalancingPolicy(String loadBalancingPolicy)
          Sets the value of the LoadBalancingPolicy attribute.
 void setUnitOfOrderRouting(String unitOfOrderRouting)
          Sets the value of the UnitOfOrderRouting attribute.
 
Methods inherited from interface weblogic.j2ee.descriptor.wl.DestinationBean
addDestinationKey, getAttachSender, getDeliveryFailureParams, getDeliveryParamsOverrides, getDestinationKeys, getIncompleteWorkExpirationTime, getJMSCreateDestinationIdentifier, getJNDIName, getLocalJNDIName, getMaximumMessageSize, getMessageLoggingParams, getMessagingPerformancePreference, getQuota, getSAFExportPolicy, getTemplate, getThresholds, getUnitOfWorkHandlingPolicy, isConsumptionPausedAtStartup, isDefaultUnitOfOrder, isInsertionPausedAtStartup, isProductionPausedAtStartup, removeDestinationKey, setAttachSender, setConsumptionPausedAtStartup, setDefaultUnitOfOrder, setDestinationKeys, setIncompleteWorkExpirationTime, setInsertionPausedAtStartup, setJMSCreateDestinationIdentifier, setJNDIName, setLocalJNDIName, setMaximumMessageSize, setMessagingPerformancePreference, setProductionPausedAtStartup, setQuota, setSAFExportPolicy, setTemplate, setUnitOfWorkHandlingPolicy
 
Methods inherited from interface weblogic.j2ee.descriptor.wl.TargetableBean
getSubDeploymentName, isDefaultTargetingEnabled, setDefaultTargetingEnabled, setSubDeploymentName
 
Methods inherited from interface weblogic.j2ee.descriptor.wl.NamedEntityBean
getId, getName, getNotes, setName, setNotes
 
Methods inherited from interface weblogic.descriptor.SettableBean
isSet, unSet
 

Method Detail

getLoadBalancingPolicy

String getLoadBalancingPolicy()

Determines how messages are distributed to the members of this destination.

Choose from the following distribution techniques:

Returns:
The loadBalancingPolicy value
Changes take effect after you redeploy the module or restart the server.
Default Value:
weblogic.j2ee.descriptor.wl.constants.JMSConstants.ROUND_ROBIN

setLoadBalancingPolicy

void setLoadBalancingPolicy(String loadBalancingPolicy)
                            throws IllegalArgumentException
Sets the value of the LoadBalancingPolicy attribute.

Parameters:
loadBalancingPolicy -
Throws:
IllegalArgumentException
See Also:
UniformDistributedDestinationBean.getLoadBalancingPolicy()
Changes take effect after you redeploy the module or restart the server.
Valid Values:
weblogic.j2ee.descriptor.wl.constants.JMSConstants.ROUND_ROBIN,weblogic.j2ee.descriptor.wl.constants.JMSConstants.RANDOM

getUnitOfOrderRouting

String getUnitOfOrderRouting()

Determines how a distributed destination member is selected as the destination for a message that is part of a unit-of-order. Hash, indicates that a message producer computes the member destination from the hashCode of the unit-of-order. PathService indicates that the configured Path Service determines the member destination.

Unit-of-Order Routing can be set programmatically with WLProducer, or administratively on the connection factory or destination.

Unit of Order Routing is not dynamically configurable.

Default Value:
weblogic.j2ee.descriptor.wl.constants.PathServiceConstants.HASH_POLICY

setUnitOfOrderRouting

void setUnitOfOrderRouting(String unitOfOrderRouting)
                           throws IllegalArgumentException
Sets the value of the UnitOfOrderRouting attribute.

Parameters:
unitOfOrderRouting -
Throws:
IllegalArgumentException
See Also:
UniformDistributedDestinationBean.getUnitOfOrderRouting()

Copyright 1996, 2013, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.2)

Part Number E27170-02