|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface QueueViewMBean
| Method Summary | |
|---|---|
int |
copyMatchingMessagesTo(java.lang.String selector,
java.lang.String destinationName)
Copies the messages matching the given selector |
int |
copyMatchingMessagesTo(java.lang.String selector,
java.lang.String destinationName,
int maximumMessages)
Copies the messages matching the given selector up to the maximum number of matched messages |
boolean |
copyMessageTo(java.lang.String messageId,
java.lang.String destinationName)
Copies a given message to another destination. |
javax.management.openmbean.CompositeData |
getMessage(java.lang.String messageId)
Retrieve a message from the destination's queue. |
int |
moveMatchingMessagesTo(java.lang.String selector,
java.lang.String destinationName)
Moves the messages matching the given selector |
int |
moveMatchingMessagesTo(java.lang.String selector,
java.lang.String destinationName,
int maximumMessages)
Moves the messages matching the given selector up to the maximum number of matched messages |
boolean |
moveMessageTo(java.lang.String messageId,
java.lang.String destinationName)
Moves the message to another destination. |
void |
purge()
Removes all of the messages in the queue. |
int |
removeMatchingMessages(java.lang.String selector)
Removes the messages matching the given selector |
int |
removeMatchingMessages(java.lang.String selector,
int maximumMessages)
Removes the messages matching the given selector up to the maximum number of matched messages |
boolean |
removeMessage(java.lang.String messageId)
Removes a message from the queue. |
| Methods inherited from interface org.apache.activemq.broker.jmx.DestinationViewMBean |
|---|
browse, browse, browseAsTable, browseAsTable, browseMessages, browseMessages, getConsumerCount, getDequeueCount, getDispatchCount, getEnqueueCount, getMemoryLimit, getMemoryPercentageUsed, getName, getQueueSize, resetStatistics, sendTextMessage, sendTextMessage, setMemoryLimit |
| Method Detail |
|---|
javax.management.openmbean.CompositeData getMessage(java.lang.String messageId)
throws javax.management.openmbean.OpenDataException
messageId - the message id of the message to retrieve
javax.management.openmbean.OpenDataException
boolean removeMessage(java.lang.String messageId)
throws java.lang.Exception
messageId -
java.lang.Exception
int removeMatchingMessages(java.lang.String selector)
throws java.lang.Exception
java.lang.Exception
int removeMatchingMessages(java.lang.String selector,
int maximumMessages)
throws java.lang.Exception
java.lang.Exceptionvoid purge()
boolean copyMessageTo(java.lang.String messageId,
java.lang.String destinationName)
throws java.lang.Exception
messageId - destinationName -
java.lang.Exception
int copyMatchingMessagesTo(java.lang.String selector,
java.lang.String destinationName)
throws java.lang.Exception
java.lang.Exception
int copyMatchingMessagesTo(java.lang.String selector,
java.lang.String destinationName,
int maximumMessages)
throws java.lang.Exception
java.lang.Exception
boolean moveMessageTo(java.lang.String messageId,
java.lang.String destinationName)
throws java.lang.Exception
messageId - destinationName -
java.lang.Exception
int moveMatchingMessagesTo(java.lang.String selector,
java.lang.String destinationName)
throws java.lang.Exception
java.lang.Exception
int moveMatchingMessagesTo(java.lang.String selector,
java.lang.String destinationName,
int maximumMessages)
throws java.lang.Exception
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||