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.
Modifier and Type | Method and Description |
---|---|
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.
|
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
getSubDeploymentName, isDefaultTargetingEnabled, setDefaultTargetingEnabled, setSubDeploymentName
String getLoadBalancingPolicy()
Determines how messages are distributed to the members of this destination.
Choose from the following distribution techniques:
void setLoadBalancingPolicy(String loadBalancingPolicy) throws IllegalArgumentException
Sets the value of the LoadBalancingPolicy attribute.
loadBalancingPolicy
- IllegalArgumentException
UniformDistributedDestinationBean.getLoadBalancingPolicy()
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.
void setUnitOfOrderRouting(String unitOfOrderRouting) throws IllegalArgumentException
Sets the value of the UnitOfOrderRouting attribute.
unitOfOrderRouting
- IllegalArgumentException
UniformDistributedDestinationBean.getUnitOfOrderRouting()