Oracle Fusion Middleware
Oracle WebLogic Server MBean Javadoc
12c Release 1 (12.1.1)

Part Number E24395-02

weblogic.management.configuration
Interface JMSConnectionConsumerMBean

All Superinterfaces:
ConfigurationMBean

Deprecated. 9.0.0.0 This functionality will be removed in a future release. New applications should use message-driven beans for this purpose.

public interface JMSConnectionConsumerMBean
extends ConfigurationMBean

This class defines a JMS connection consumer, which is a JMS destination (queue or topic) that retrieves server sessions and processes messages.

Deprecation of MBeanHome and Type-Safe Interfaces

This is a type-safe interface for a WebLogic Server MBean, which you can import into your client classes and access through weblogic.management.MBeanHome. As of 9.0, the MBeanHome interface and all type-safe interfaces for WebLogic Server MBeans are deprecated. Instead, client classes that interact with WebLogic Server MBeans should use standard JMX design patterns in which clients use the javax.management.MBeanServerConnection interface to discover MBeans, attributes, and attribute types at runtime. For more information, see "Developing Manageable Applications with JMX."

Access limited to the following security roles:
Deployer

Field Summary
 
Fields inherited from interface weblogic.management.configuration.ConfigurationMBean
DEFAULT_EMPTY_BYTE_ARRAY
 
Method Summary
 String getDestination()
          Deprecated. The JNDI name of the destination for this connection consumer.
 int getMessagesMaximum()
          Deprecated. The defined maximum number of messages that the connection consumer can load at one time into a ServerSession's session.
 String getSelector()
          Deprecated. The defined JMS message selector of the connection consumer.
 void setDestination(String destination)
          Deprecated. Sets the value of the Destination attribute.
 void setMessagesMaximum(int messagesMaximum)
          Deprecated. Sets the value of the MessagesMaximum attribute.
 void setSelector(String selector)
          Deprecated. Sets the value of the Selector attribute.
 
Methods inherited from interface weblogic.management.configuration.ConfigurationMBean
freezeCurrentValue, getName, getNotes, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled, unSet
 

Method Detail

getMessagesMaximum

int getMessagesMaximum()
Deprecated. 

The defined maximum number of messages that the connection consumer can load at one time into a ServerSession's session.

Returns:
The messagesMaximum value

setMessagesMaximum

void setMessagesMaximum(int messagesMaximum)
                        throws InvalidAttributeValueException
Deprecated. 

Sets the value of the MessagesMaximum attribute.

Parameters:
messagesMaximum - The new messagesMaximum value
Throws:
InvalidAttributeValueException
See Also:
JMSConnectionConsumerMBean.getMessagesMaximum()
Changes take effect after you redeploy the module or restart the server.
Default Value:
10
Maximum Value:
java.lang.Integer.MAX_VALUE
Minimum Value:
1

getSelector

String getSelector()
Deprecated. 

The defined JMS message selector of the connection consumer.

Returns:
The selector value

setSelector

void setSelector(String selector)
                 throws InvalidAttributeValueException
Deprecated. 

Sets the value of the Selector attribute.

Parameters:
selector - The new selector value
Throws:
InvalidAttributeValueException
See Also:
JMSConnectionConsumerMBean.getSelector()
Default Value:
null

getDestination

String getDestination()
Deprecated. 

The JNDI name of the destination for this connection consumer.

Returns:
The destination value

setDestination

void setDestination(String destination)
                    throws InvalidAttributeValueException
Deprecated. 

Sets the value of the Destination attribute.

Parameters:
destination - The new destination value
Throws:
InvalidAttributeValueException
See Also:
JMSConnectionConsumerMBean.getDestination()

Copyright 1996, 2011, 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
Oracle WebLogic Server MBean Javadoc
12c Release 1 (12.1.1)

Part Number E24395-02