org.codehaus.activemq.service
Interface MessageContainerAdmin

All Known Implementing Classes:
DurableQueueMessageContainer, DurableTopicMessageContainer, TransientQueueBoundedMessageContainer, TransientTopicBoundedMessageContainer

public interface MessageContainerAdmin

Provides a admin view to a destination.

Version:
$Revision: 1.1 $

Method Summary
 void empty()
          Deletes all the messages that a container holds.
 String getDestinationName()
           
 

Method Detail

getDestinationName

public String getDestinationName()
Returns:
the destinationName of the Container

empty

public void empty()
           throws JMSException
Deletes all the messages that a container holds. This is usally used when the container is being destroyed.

Throws:
JMSException


Copyright © 2004-2005 Protique, Ltd.. All Rights Reserved.