BEA Systems, Inc.

WebLogic Server 6.1 API Reference

weblogic.management.configuration
Interface JMSConnectionConsumerMBean


public interface JMSConnectionConsumerMBean
extends ConfigurationMBean

The MBean defines a connection consumer.

Author:
Copyright © 2001 BEA Systems, Inc. All Rights Reserved.

Method Summary
 java.lang.String getDestination()
          Return the JNDI name of the destination for this connection consumer
 int getMessagesMaximum()
          Return the defined maximum number of messages that the connection consumer may load at one time into a ServerSession's session.
 java.lang.String getSelector()
          Return the defined JMS message selector of the connection consumer.
 void setDestination(java.lang.String destination)
          Set the JNDI name of the destination for this connection consumer
 void setMessagesMaximum(int messagesMaximum)
          Set the maximum number of messages that the connection consumer may load at one time into a ServerSession's session.
 void setSelector(java.lang.String selector)
          Set the JMS message selector of the connection consumer.
 
Methods inherited from interface weblogic.management.configuration.ConfigurationMBean
getNotes, setNotes, setPersistenceEnabled
 
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

getMessagesMaximum

public int getMessagesMaximum()
Return the defined maximum number of messages that the connection consumer may load at one time into a ServerSession's session.


setMessagesMaximum

public void setMessagesMaximum(int messagesMaximum)
                        throws javax.management.InvalidAttributeValueException
Set the maximum number of messages that the connection consumer may load at one time into a ServerSession's session.

A dynamic MBean attribute
Default Value: -1
Legal Value: ((value == -1 ) || ((value >= 1) && (value <= ((1 << 31) -1))))
Legal Minimum Value: -1

getSelector

public java.lang.String getSelector()
Return the defined JMS message selector of the connection consumer.


setSelector

public void setSelector(java.lang.String selector)
                 throws javax.management.InvalidAttributeValueException
Set the JMS message selector of the connection consumer.

Default Value: null

getDestination

public java.lang.String getDestination()
Return the JNDI name of the destination for this connection consumer


setDestination

public void setDestination(java.lang.String destination)
                    throws javax.management.InvalidAttributeValueException
Set the JNDI name of the destination for this connection consumer

Legal Value: value != void && value.trim().length() != 0
Legal NULL: false

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

WebLogic classes and methods that do not appear in this reference are not public and are not supported.