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

Part Number E27170-01

weblogic.j2ee.descriptor.wl
Interface DistributedQueueBean

All Superinterfaces:
DistributedDestinationBean, NamedEntityBean, SettableBean

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

public interface DistributedQueueBean
extends DistributedDestinationBean

A distributed queue is one that can be load-balanced across a cluster.

Access limited to the following security roles:
Deployer

Method Summary
 DistributedDestinationMemberBean createDistributedQueueMember(String name)
          Deprecated. Creates a distributed queue member and adds it to this distributed queue.
 void destroyDistributedQueueMember(DistributedDestinationMemberBean distributedDestinationMember)
          Deprecated. Removes a distributed queue member from this distributed queue.
 DistributedDestinationMemberBean[] getDistributedQueueMembers()
          Deprecated. The list of all queue members that make up the aggregate distributed queue.
 int getForwardDelay()
          Deprecated. The number of seconds after which a distributed queue member with no consumers will wait before forwarding its messages to other distributed queue members that do have consumers.
 boolean getResetDeliveryCountOnForward()
          Deprecated. Determines whether or not the delivery count is reset during message forwarding between distributed queue members.
 DistributedDestinationMemberBean lookupDistributedQueueMember(String name)
          Deprecated. Finds a distributed queue member bean with the given name.
 void setForwardDelay(int forwardDelay)
          Deprecated. Sets the value of the ForwardDelay attribute.
 void setResetDeliveryCountOnForward(boolean reset)
          Deprecated. Sets the value of the ResetDeliveryCountOnForward attribute.
 
Methods inherited from interface weblogic.j2ee.descriptor.wl.DistributedDestinationBean
getJNDIName, getLoadBalancingPolicy, getSAFExportPolicy, getUnitOfOrderRouting, setJNDIName, setLoadBalancingPolicy, setSAFExportPolicy, setUnitOfOrderRouting
 
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

getDistributedQueueMembers

DistributedDestinationMemberBean[] getDistributedQueueMembers()
Deprecated. 

The list of all queue members that make up the aggregate distributed queue.

The name of the specific queue and any configuration information about that queue (such as its relative weight) can be configured in the distributed queue member.

Returns:
An array of distributed queue members belonging to this distributed queue
Changes take effect after you redeploy the module or restart the server.

createDistributedQueueMember

DistributedDestinationMemberBean createDistributedQueueMember(String name)
Deprecated. 

Creates a distributed queue member and adds it to this distributed queue.

The name of the specific queue and any configuration information about that queue (such as its relative weight) can be configured in the distributed queue member.

Parameters:
name - The name of the distributed queue member bean to add to this distributed queue
Returns:
The distributed queue member added to this distributed queue

destroyDistributedQueueMember

void destroyDistributedQueueMember(DistributedDestinationMemberBean distributedDestinationMember)
Deprecated. 

Removes a distributed queue member from this distributed queue.

The name of the specific queue and any configuration information about that queue (such as its relative weight) can be configured in the distributed queue member.

Parameters:
distributedDestinationMember - The particular distributed queue member to remove from this distributed queue

lookupDistributedQueueMember

DistributedDestinationMemberBean lookupDistributedQueueMember(String name)
Deprecated. 

Finds a distributed queue member bean with the given name.

Parameters:
name - The name of the distributed queue member to find
Returns:
A distributed queue member bean with the given name, or null if one could not be found

getForwardDelay

int getForwardDelay()
Deprecated. 

The number of seconds after which a distributed queue member with no consumers will wait before forwarding its messages to other distributed queue members that do have consumers.

The default value of -1 disables this feature so that no messages are forwarded to other distributed queue members.

Returns:
The forwardDelay value in seconds
Default Value:
-1

setForwardDelay

void setForwardDelay(int forwardDelay)
                     throws IllegalArgumentException
Deprecated. 
Sets the value of the ForwardDelay attribute.

Parameters:
forwardDelay - The new forward delay value for this distributed queue in seconds
Throws:
IllegalArgumentException
See Also:
DistributedQueueBean.getForwardDelay()

getResetDeliveryCountOnForward

boolean getResetDeliveryCountOnForward()
Deprecated. 

Determines whether or not the delivery count is reset during message forwarding between distributed queue members.

The default value of true resets the delivery counts on messages when they are forwarded to another distributed queue member.

Returns:
The reset value
Default Value:
true

setResetDeliveryCountOnForward

void setResetDeliveryCountOnForward(boolean reset)
                                    throws IllegalArgumentException
Deprecated. 
Sets the value of the ResetDeliveryCountOnForward attribute.

Parameters:
reset -
Throws:
IllegalArgumentException
See Also:
DistributedQueueBean.getResetDeliveryCountOnForward()
Changes take effect after you redeploy the module or restart the server.
Default Value:
true

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-01