BEA Systems, Inc.


weblogic.management.configuration
Interface JMSDistributedQueueMBean


public interface JMSDistributedQueueMBean
extends JMSDistributedDestinationMBean

This class represents a JMS distributed queue.


Fields inherited from class weblogic.management.configuration.DeploymentMBean
CACHING_STUB_SVUID, DEFAULT_ORDER, MAX_ORDER, MIN_ORDER
 
Fields inherited from class weblogic.management.configuration.JMSConstants
ACKNOWLEDGE_ALL, ACKNOWLEDGE_MODE_AUTO, ACKNOWLEDGE_MODE_CLIENT, ACKNOWLEDGE_MODE_DUPS_OK, ACKNOWLEDGE_MODE_NONE, ACKNOWLEDGE_ONE, ACKNOWLEDGE_PREVIOUS, DESTINATION_TYPE_QUEUE, DESTINATION_TYPE_TOPIC, ENABLED_DEFAULT, ENABLED_FALSE, ENABLED_TRUE, ERRORDESTINATION, KEEP_NEW, KEEP_OLD, KEY_DIRECTION_ASCENDING, KEY_DIRECTION_DESCENDING, KEY_TYPE_BOOLEAN, KEY_TYPE_BYTE, KEY_TYPE_DOUBLE, KEY_TYPE_FLOAT, KEY_TYPE_INT, KEY_TYPE_LONG, KEY_TYPE_SHORT, KEY_TYPE_STRING, LOGGING, NO_DELIVERY, NON_PERSISTENT, NOTHING, PERSISTENT, PRIORITY_DEFAULT, PRIORITY_MAXIMUM, PRIORITY_MINIMUM, RANDOM, ROUND_ROBIN, STORE_ENABLED_DEFAULT, STORE_ENABLED_FALSE, STORE_ENABLED_TRUE, STORE_TYPE_FILE, STORE_TYPE_JDBC, SYNCWRITE_CACHEFLUSH, SYNCWRITE_DIRECTWRITE, SYNCWRITE_DISABLED, TRANSACTION_MODE_51, TRANSACTION_MODE_NONE, TRANSACTION_MODE_XA
 
Fields inherited from class weblogic.management.configuration.ConfigurationMBean
CACHING_STUB_SVUID
 
Method Summary
 boolean addMember(JMSDistributedQueueMemberMBean Member)
          Add a member to this distributed queue.
 int getForwardDelay()
          Return the message forwarding delay for this distributed queue.
 JMSDistributedQueueMemberMBean[] getMembers()
          Get all the members for this distributed queue.
 boolean removeMember(JMSDistributedQueueMemberMBean member)
          Remove a member from this distributed queue
 void setForwardDelay(int forwardDelay)
          Set the message forwarding delay for this distributed queue.
 void setMembers(JMSDistributedQueueMemberMBean[] members)
          Set all the members for this distributed queue.
 
Methods inherited from interface weblogic.management.configuration.JMSDistributedDestinationMBean
getLoadBalancingPolicy, getTemplate, setLoadBalancingPolicy
 
Methods inherited from interface weblogic.management.configuration.JMSVirtualDestinationMBean
getJNDIName, setJNDIName
 
Methods inherited from interface weblogic.management.configuration.DeploymentMBean
addTarget, getDeploymentOrder, getTargets, removeTarget, setDeploymentOrder, setTargets
 
Methods inherited from interface weblogic.management.configuration.ConfigurationMBean
addLinkMbeanAttribute, getNotes, isPersistenceEnabled, setNotes
 
Methods inherited from interface weblogic.management.WebLogicMBean
getMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setName, setParent
 
Methods inherited from interface javax.management.DynamicMBean
getAttribute, getAttributes, invoke, setAttribute, setAttributes
 
Methods inherited from interface javax.management.MBeanRegistration
postDeregister, postRegister, preDeregister, preRegister
 
Methods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListener
 

Method Detail

getMembers

public JMSDistributedQueueMemberMBean[] getMembers()
Get all the members for this distributed queue.

A non-configurable MBean attribute.

setMembers

public void setMembers(JMSDistributedQueueMemberMBean[] members)
                throws javax.management.InvalidAttributeValueException
Set all the members for this distributed queue.

Parameters:
members - the JMSDistributedQueueMembers for the distributed queue

addMember

public boolean addMember(JMSDistributedQueueMemberMBean Member)
                  throws javax.management.InvalidAttributeValueException,
                         DistributedManagementException
Add a member to this distributed queue.

A dynamic MBean attribute
Legal Value: weblogic.management.configuration.JMSLegalHelper.jmsCheckDistributedDestinationMember(self,value)
Parameters:
member - the JMSDistributedQueueMember to add to this distributed queue

removeMember

public boolean removeMember(JMSDistributedQueueMemberMBean member)
                     throws javax.management.InvalidAttributeValueException,
                            DistributedManagementException
Remove a member from this distributed queue

A dynamic MBean attribute
Parameters:
member - the JMSDistributedQueueMember to remove from the distributed queue
Throws:
java.lang.IllegalArgumentException - if the specified member is not a member of this distributed queue

getForwardDelay

public int getForwardDelay()
Return the message forwarding delay for this distributed queue.

Defines the amount of time, in seconds, that a distributed queue member with messages, but which has no consumers, will wait before forwarding its messages to other queue members that do have consumers.

A value of -1 indicates that no messages are forwarded to other queue members.


setForwardDelay

public void setForwardDelay(int forwardDelay)
                     throws javax.management.InvalidAttributeValueException
Set the message forwarding delay for this distributed queue.

Defines the amount of time, in seconds, that a distributed queue member with messages, but which has no consumers, will wait before forwarding its messages to other queue members that do have consumers.

A value of -1 indicates that no messages are forwarded to other queue members.

Default Value: -1
Secure Value:  -1

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs70

Copyright © 2004 BEA Systems, Inc. All Rights Reserved.
WebLogic Server 7.0 API Reference