Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.2)

Part Number E27170-02

weblogic.management.runtime
Interface JMSConsumerRuntimeMBean

All Superinterfaces:
DynamicMBean, MBeanRegistration, NotificationBroadcaster, RuntimeMBean, WebLogicMBean

public interface JMSConsumerRuntimeMBean
extends RuntimeMBean

This class is used for monitoring a WebLogic JMS consumer.


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.
 
Methods inherited from interface weblogic.management.WebLogicMBean
getMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, 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

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, 2013, 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
Java API Reference for Oracle WebLogic Server
12c (12.1.2)

Part Number E27170-02