public interface DestinationControl
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAddress()
Returns the HornetQ address corresponding to this destination.
|
int |
getDeliveringCount()
Returns the number of messages that this queue is currently delivering to its consumers.
|
long |
getMessageCount()
Returns the number of messages currently in this destination.
|
long |
getMessagesAdded()
Returns the number of messages added to this queue since it was created.
|
java.lang.String |
getName()
Returns the name of this destination.
|
boolean |
isTemporary()
Returns whether this destination is temporary.
|
int |
removeMessages(java.lang.String filter)
Removed all the messages which matches the specified JMS filter from this destination.
|
java.lang.String getName()
java.lang.String getAddress()
boolean isTemporary()
long getMessageCount() throws java.lang.Exception
java.lang.Exception
int getDeliveringCount()
long getMessagesAdded()
int removeMessages(java.lang.String filter) throws java.lang.Exception
null
or an empty filter will remove all messages from this destination.java.lang.Exception
Copyright © 2009 Red Hat Inc. All Rights Reserved.