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

Part Number E41849-02

weblogic.j2ee.descriptor.wl
Interface DistributedDestinationBean

All Superinterfaces:
NamedEntityBean, SettableBean
All Known Subinterfaces:
DistributedQueueBean, DistributedTopicBean

Deprecated. 10.3.4.0, since Weighted Distributed Destination has been deprecated and replaced by Uniform Distributed Destination

public interface DistributedDestinationBean
extends NamedEntityBean

This bean contains all the attributes of distributed destinations that are common between distributed queues and distributed topics.

Access limited to the following security roles:
Deployer

Method Summary
 String getJNDIName()
          Deprecated. The name used to bind a virtual destination to the JNDI tree.
 String getLoadBalancingPolicy()
          Deprecated. Determines the load balancing policy for producers sending messages to a distributed destination in order to balance the message load across the members of the distributed set.
 String getSAFExportPolicy()
          Deprecated.  The SAF Export Policy controls which applications can send JMS messages to this destination through Store-and-Forward.
 String getUnitOfOrderRouting()
          Deprecated. Gets the "unit-of-order-routing" element.
 void setJNDIName(String jndiName)
          Deprecated. Sets the "jndi-name" element
 void setLoadBalancingPolicy(String loadBalancingPolicy)
          Deprecated. Defines the load balancing policy for producers sending messages to a distributed destination in order to balance the message load across the members of the distributed set.
 void setSAFExportPolicy(String safExportPolicy)
          Deprecated. Sets the saf-export-policy for this destination.
 void setUnitOfOrderRouting(String unitOfOrderRouting)
          Deprecated. Sets the "unit-of-order-routing" element.
 
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

getJNDIName

String getJNDIName()
Deprecated. 

The name used to bind a virtual destination to the JNDI tree. Applications can use the JNDI name to look up the virtual destination.

If not specified, then the destination is not bound into the JNDI namespace.

Returns:
The jNDIName value

setJNDIName

void setJNDIName(String jndiName)
                 throws IllegalArgumentException
Deprecated. 
Sets the "jndi-name" element

Parameters:
jndiName -
Throws:
IllegalArgumentException

getLoadBalancingPolicy

String getLoadBalancingPolicy()
Deprecated. 

Determines the load balancing policy for producers sending messages to a distributed destination in order to balance the message load across the members of the distributed set.

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
Deprecated. 
Defines the load balancing policy for producers sending messages to a distributed destination in order to balance the message load across the members of the distributed set.

Sets the "load-balancing-policy" element

Parameters:
loadBalancingPolicy -
Throws:
IllegalArgumentException
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()
Deprecated. 

Gets the "unit-of-order-routing" element.

A WLMessageProducer with Unit of Order uses the "unit-of-order-routing" element rather than the "load-balancing-policy" criteria to select the Distributed Destination Member.

Unit of Order may have been set programmatically with WLProducer, or administratively on the ConnectionFactory or Destination.

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

setUnitOfOrderRouting

void setUnitOfOrderRouting(String unitOfOrderRouting)
                           throws IllegalArgumentException
Deprecated. 
Sets the "unit-of-order-routing" element.

A WLMessageProducer with Unit of Order will use the "unit-of-order-routing" element rather than the "load-balancing-policy" criteria to select the Distributed Destination Member.

Unit of Order may have been set programmatically with WLProducer, or administratively on the ConnectionFactory or Destination.

This attribute is not dynamically configurable.

Parameters:
unitOfOrderRouting -
Throws:
IllegalArgumentException
Valid Values:
weblogic.j2ee.descriptor.wl.constants.PathServiceConstants.HASH_POLICY,weblogic.j2ee.descriptor.wl.constants.PathServiceConstants.PATH_SERVICE

getSAFExportPolicy

String getSAFExportPolicy()
Deprecated. 

The SAF Export Policy controls which applications can send JMS messages to this destination through Store-and-Forward.

This attribute is dynamically configurable. A dynamic change of this attribute will affect only messages sent after the update has been made.

Returns:
weblogic.j2ee.descriptor.wl.constants.JMSConstants.EXPORT_TO_ALL, or weblogic.j2ee.descriptor.wl.constants.JMSConstants.EXPORT_TO_NONE

setSAFExportPolicy

void setSAFExportPolicy(String safExportPolicy)
Deprecated. 

Sets the saf-export-policy for this destination.

This attribute is dynamically configurable. A dynamic change of this attribute will affect only messages sent after the update has been made.

Default Value:
weblogic.j2ee.descriptor.wl.constants.JMSConstants.EXPORT_TO_ALL
Valid Values:
weblogic.j2ee.descriptor.wl.constants.JMSConstants.EXPORT_TO_ALL, weblogic.j2ee.descriptor.wl.constants.JMSConstants.EXPORT_TO_NONE

Copyright 1996, 2014, 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.3)

Part Number E41849-02