|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DestinationViewMBean
Method Summary | |
---|---|
CompositeData[] |
browse()
|
CompositeData[] |
browse(String selector)
|
TabularData |
browseAsTable()
|
TabularData |
browseAsTable(String selector)
|
List |
browseMessages()
Browses the current destination returning a list of messages |
List |
browseMessages(String selector)
Browses the current destination with the given selector returning a list of messages |
long |
getConsumerCount()
|
long |
getDequeueCount()
|
long |
getDispatchCount()
|
long |
getEnqueueCount()
|
long |
getMemoryLimit()
|
int |
getMemoryPercentageUsed()
|
String |
getName()
Returns the name of this destination |
long |
getQueueSize()
|
void |
resetStatistics()
Resets the managment counters. |
String |
sendTextMessage(Map headers,
String body)
Sends a TextMesage to the destination. |
String |
sendTextMessage(String body)
Sends a TextMesage to the destination. |
void |
setMemoryLimit(long limit)
|
Method Detail |
---|
String getName()
void resetStatistics()
long getEnqueueCount()
long getDispatchCount()
long getDequeueCount()
long getConsumerCount()
long getQueueSize()
CompositeData[] browse() throws OpenDataException
OpenDataException
TabularData browseAsTable() throws OpenDataException
OpenDataException
CompositeData[] browse(String selector) throws OpenDataException, javax.jms.InvalidSelectorException
javax.jms.InvalidSelectorException
OpenDataException
TabularData browseAsTable(String selector) throws OpenDataException, javax.jms.InvalidSelectorException
javax.jms.InvalidSelectorException
OpenDataException
String sendTextMessage(String body) throws Exception
body
- the text to send
Exception
String sendTextMessage(Map headers, String body) throws Exception
headers
- the message headers and properties to set. Can only container Strings maped to primitive types.body
- the text to send
Exception
int getMemoryPercentageUsed()
long getMemoryLimit()
void setMemoryLimit(long limit)
List browseMessages() throws javax.jms.InvalidSelectorException
javax.jms.InvalidSelectorException
List browseMessages(String selector) throws javax.jms.InvalidSelectorException
javax.jms.InvalidSelectorException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |