|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DestinationControl
A DestinationControl is used to manage a JMS Destination.
Method Summary | |
---|---|
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. |
String |
getName()
Returns the name of this destination. |
boolean |
isTemporary()
Returns whether this destination is temporary. |
int |
removeMessages(String filter)
Removed all the messages which matches the specified JMS filter from this destination. |
Method Detail |
---|
String getName()
String getAddress()
boolean isTemporary()
long getMessageCount() throws Exception
Exception
int getDeliveringCount()
long getMessagesAdded()
int removeMessages(String filter) throws Exception
null
or an empty filter will remove all messages from this destination.
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |