org.apache.activemq.broker.jmx
Interface DurableSubscriptionViewMBean

All Superinterfaces:
SubscriptionViewMBean
All Known Implementing Classes:
DurableSubscriptionView, InactiveDurableSubscriptionView

public interface DurableSubscriptionViewMBean
extends SubscriptionViewMBean

Version:
$Revision: 1.5 $

Method Summary
 javax.management.openmbean.CompositeData[] browse()
          Browse messages for this durable subscriber
 javax.management.openmbean.TabularData browseAsTable()
          Browse messages for this durable subscriber
 void destroy()
          Destroys the durable subscription so that messages will no longer be stored for this subscription
 java.lang.String getSubscriptionName()
           
 
Methods inherited from interface org.apache.activemq.broker.jmx.SubscriptionViewMBean
getClientId, getConnectionId, getDequeueCounter, getDestinationName, getDispachedCounter, getDispatchedQueueSize, getEnqueueCounter, getMaximumPendingMessageLimit, getPendingQueueSize, getPrefetchSize, getPriority, getSelector, getSessionId, getSubcriptionId, getSubcriptionName, isActive, isDestinationQueue, isDestinationTemporary, isDestinationTopic, isDurable, isExclusive, isNoLocal, isRetroactive, setSelector
 

Method Detail

getSubscriptionName

java.lang.String getSubscriptionName()
Returns:
name of the durable subscription name

browse

javax.management.openmbean.CompositeData[] browse()
                                                  throws javax.management.openmbean.OpenDataException
Browse messages for this durable subscriber

Returns:
messages
Throws:
javax.management.openmbean.OpenDataException

browseAsTable

javax.management.openmbean.TabularData browseAsTable()
                                                     throws javax.management.openmbean.OpenDataException
Browse messages for this durable subscriber

Returns:
messages
Throws:
javax.management.openmbean.OpenDataException

destroy

void destroy()
             throws java.lang.Exception
Destroys the durable subscription so that messages will no longer be stored for this subscription

Throws:
java.lang.Exception


Copyright © 2009 Apache Software Foundation. All Rights Reserved.