Oracle

weblogic.management.runtime
Interface JMSConsumerRuntimeMBean


public interface JMSConsumerRuntimeMBean

This class is used for monitoring a WebLogic JMS consumer.

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" on http://edocs.bea.com.


Method Summary
 long getBytesPendingCount()
          The number of bytes pending (uncommitted and unacknowledged) by this consumer.
 long getBytesReceivedCount()
          The number of bytes received by this consumer since the last reset.
 String getDestinationName()
          Returns the name of the destination for this consumer.
 String getMemberDestinationName()
          Returns the name of the destination for this consumer.
 long getMessagesPendingCount()
          The number of messages pending (uncommitted and unacknowledged) by this consumer.
 long getMessagesReceivedCount()
          The number of messages received by this consumer since the last reset.
 String getSelector()
          The selector associated with this consumer, if any.
 boolean isActive()
          Indicates whether the consumer active.
 boolean isDurable()
          Indicates whether the consumer is durable.
 

Method Detail

getDestinationName

String getDestinationName()

Returns the name of the destination for this consumer. In case of a distributed destination, it will be the name of the distributed destination, instead of the member destination.

Returns:
The name of the destination

getMemberDestinationName

String getMemberDestinationName()

Returns the name of the destination for this consumer. In case of a distributed destination, it will be the name of the member destination.

Returns:
The name of the destination

isActive

boolean isActive()
                 throws RemoteException

Indicates whether the consumer active. A consumer is active if it has a message listener set up or a synchronous receive in progress.

Returns:
The active value
Throws:
RemoteException

getSelector

String getSelector()

The selector associated with this consumer, if any.

Returns:
The selector value

isDurable

boolean isDurable()

Indicates whether the consumer is durable.

Returns:
The durable value

getMessagesPendingCount

long getMessagesPendingCount()

The number of messages pending (uncommitted and unacknowledged) by this consumer.

Returns:
The messagesPendingCount value

getMessagesReceivedCount

long getMessagesReceivedCount()

The number of messages received by this consumer since the last reset.

Returns:
The messagesReceivedCount value

getBytesPendingCount

long getBytesPendingCount()

The number of bytes pending (uncommitted and unacknowledged) by this consumer.

Returns:
The bytesPendingCount value

getBytesReceivedCount

long getBytesReceivedCount()

The number of bytes received by this consumer since the last reset.

Returns:
The bytesReceivedCount value

Documentation is available at
http://edocs.bea.com/wls/docs103
Copyright 2008 Oracle