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
 CompositeData[] browse()
          Browse messages for this durable subscriber
 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
 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

String getSubscriptionName()
Returns:
name of the durable subscription name

browse

CompositeData[] browse()
                       throws OpenDataException
Browse messages for this durable subscriber

Returns:
messages
Throws:
OpenDataException

browseAsTable

TabularData browseAsTable()
                          throws OpenDataException
Browse messages for this durable subscriber

Returns:
messages
Throws:
OpenDataException

destroy

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

Throws:
Exception


Copyright © 2011 Apache Software Foundation. All Rights Reserved.