Skip navigation links

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

Part Number E55141-01
P4 Change 1723563 on 2015/10/09


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.


Method Summary
abstract  DistributedDestinationMemberBean createDistributedQueueMember(String name)
          Deprecated. Creates a distributed queue member and adds it to this distributed queue.
abstract  void destroyDistributedQueueMember(DistributedDestinationMemberBean distributedDestinationMember)
          Deprecated. Removes a distributed queue member from this distributed queue.
abstract  DistributedDestinationMemberBean[] getDistributedQueueMembers()
          Deprecated. The list of all queue members that make up the aggregate distributed queue.
abstract  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.
abstract  boolean getResetDeliveryCountOnForward()
          Deprecated. Determines whether or not the delivery count is reset during message forwarding between distributed queue members.
abstract  DistributedDestinationMemberBean lookupDistributedQueueMember(String name)
          Deprecated. Finds a distributed queue member bean with the given name.
abstract  void setForwardDelay(int forwardDelay)
          Deprecated. Sets the value of the ForwardDelay attribute.
abstract  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

 

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

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

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

setResetDeliveryCountOnForward

void setResetDeliveryCountOnForward(boolean reset)
                                    throws IllegalArgumentException
Deprecated. 
Sets the value of the ResetDeliveryCountOnForward attribute.
Parameters:
reset -
Throws:
IllegalArgumentException
See Also:
DistributedQueueBean.getResetDeliveryCountOnForward()

Skip navigation links

Copyright 1996, 2015, 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.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09