|
||||||||||
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 |
getMessageCount()
Returns the number of messages currently in this destination. |
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()
int getMessageCount() throws Exception
Exception
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 |