Oracle Fusion Middleware
Oracle WebLogic Server MBean Javadoc
11g Release 1 (10.3.6)

Part Number E13945-06

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://www.oracle.com/technology/products/weblogic/index.html.


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 getClientID()
          The client ID for this connection.
 String getClientIDPolicy()
          The ClientIDPolicy on this connection or durable subscriber.
 String getDestinationName()
          The name of the destination for this consumer.
 String getMemberDestinationName()
          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.
 String getSubscriptionSharingPolicy()
          The Subscription Sharing Policy on this subscriber.
 boolean isActive()
          Indicates whether the consumer active.
 boolean isDurable()
          Indicates whether the consumer is durable.
 

Method Detail

getDestinationName

String getDestinationName()

The name of the destination for this consumer. In case of a distributed destination, it is the name of the distributed destination, instead of the member destination.

Returns:
The name of the destination

getMemberDestinationName

String getMemberDestinationName()

The name of the destination for this consumer. In case of a distributed destination, it is 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

getSubscriptionSharingPolicy

String getSubscriptionSharingPolicy()

The Subscription Sharing Policy on this subscriber.

Returns:
The SubscriptionSharingPolicy weblogic.management.configuration.JMSConstants.SUBSCRIPTION_EXCLUSIVE : This subscriber exclusively uses one subscription. weblogic.management.configuration.JMSConstants.SUBSCRIPTION_SHARABLE : This subscriber may share a subscription with others.

getClientID

String getClientID()

The client ID for this connection.

Returns:
The clientID value

getClientIDPolicy

String getClientIDPolicy()

The ClientIDPolicy on this connection or durable subscriber.

Valid values are:


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
11g Release 1 (10.3.6)

Part Number E13945-06