Skip navigation links

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

Part Number E55141-01
P4 Change 1723563 on 2015/10/09


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
abstract  long getBytesPendingCount()
          The number of bytes pending (uncommitted and unacknowledged) by this consumer.
abstract  long getBytesReceivedCount()
          The number of bytes received by this consumer since the last reset.
abstract  String getClientID()
          The client ID for this connection.
abstract  String getClientIDPolicy()
          The ClientIDPolicy on this connection or durable subscriber.
abstract  String getDestinationName()
          The name of the destination for this consumer.
abstract  String getMemberDestinationName()
          The name of the destination for this consumer.
abstract  long getMessagesPendingCount()
          The number of messages pending (uncommitted and unacknowledged) by this consumer.
abstract  long getMessagesReceivedCount()
          The number of messages received by this consumer since the last reset.
abstract  String getSelector()
          The selector associated with this consumer, if any.
abstract  String getSubscriptionSharingPolicy()
          The Subscription Sharing Policy on this subscriber.
abstract  boolean isActive()
          Indicates whether the consumer active.
abstract  boolean isDurable()
          Indicates whether the consumer is durable.

 

Methods inherited from interface weblogic.management.runtime.RuntimeMBean
addPropertyChangeListener, removePropertyChangeListener

 

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

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:

Skip navigation links

Copyright 1996, 2015, 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.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09