public interface QueueViewMBean extends DestinationViewMBean
| Modifier and Type | Method and Description |
|---|---|
int |
copyMatchingMessagesTo(String selector,
String destinationName)
Copies the messages matching the given selector
|
int |
copyMatchingMessagesTo(String selector,
String destinationName,
int maximumMessages)
Copies the messages matching the given selector up to the maximum number
of matched messages
|
boolean |
copyMessageTo(String messageId,
String destinationName)
Copies a given message to another destination.
|
int |
cursorSize() |
boolean |
doesCursorHaveMessagesBuffered() |
boolean |
doesCursorHaveSpace() |
long |
getCursorMemoryUsage() |
int |
getCursorPercentUsage() |
CompositeData |
getMessage(String messageId)
Retrieve a message from the destination's queue.
|
boolean |
isCacheEnabled() |
boolean |
isCursorFull() |
int |
moveMatchingMessagesTo(String selector,
String destinationName)
Moves the messages matching the given selector
|
int |
moveMatchingMessagesTo(String selector,
String destinationName,
int maximumMessages)
Moves the messages matching the given selector up to the maximum number
of matched messages
|
boolean |
moveMessageTo(String messageId,
String destinationName)
Moves the message to another destination.
|
void |
purge()
Removes all of the messages in the queue.
|
int |
removeMatchingMessages(String selector)
Removes the messages matching the given selector
|
int |
removeMatchingMessages(String selector,
int maximumMessages)
Removes the messages matching the given selector up to the maximum number
of matched messages
|
boolean |
removeMessage(String messageId)
Removes a message from the queue.
|
boolean |
retryMessage(String messageId)
Moves a message back to its original destination
|
browse, browse, browseAsTable, browseAsTable, browseMessages, browseMessages, getAverageEnqueueTime, getBlockedProducerWarningInterval, getConsumerCount, getDequeueCount, getDispatchCount, getEnqueueCount, getExpiredCount, getInFlightCount, getMaxAuditDepth, getMaxEnqueueTime, getMaxPageSize, getMaxProducersToAudit, getMemoryLimit, getMemoryPercentUsage, getMemoryUsagePortion, getMinEnqueueTime, getName, getProducerCount, getQueueSize, getSlowConsumerStrategy, getSubscriptions, isAlwaysRetroactive, isPrioritizedMessages, isProducerFlowControl, isUseCache, resetStatistics, sendTextMessage, sendTextMessage, sendTextMessage, sendTextMessage, setAlwaysRetroactive, setBlockedProducerWarningInterval, setMaxAuditDepth, setMaxPageSize, setMaxProducersToAudit, setMemoryLimit, setMemoryUsagePortion, setProducerFlowControl, setUseCacheCompositeData getMessage(String messageId) throws OpenDataException
messageId - the message id of the message to retrieveOpenDataExceptionboolean removeMessage(String messageId) throws Exception
messageId - Exceptionint removeMatchingMessages(String selector) throws Exception
Exceptionint removeMatchingMessages(String selector, int maximumMessages) throws Exception
Exceptionboolean copyMessageTo(String messageId, String destinationName) throws Exception
messageId - destinationName - Exceptionint copyMatchingMessagesTo(String selector, String destinationName) throws Exception
Exceptionint copyMatchingMessagesTo(String selector, String destinationName, int maximumMessages) throws Exception
Exceptionboolean moveMessageTo(String messageId, String destinationName) throws Exception
messageId - destinationName - Exceptionboolean retryMessage(String messageId) throws Exception
Exceptionint moveMatchingMessagesTo(String selector, String destinationName) throws Exception
Exceptionint moveMatchingMessagesTo(String selector, String destinationName, int maximumMessages) throws Exception
Exceptionboolean doesCursorHaveSpace()
boolean isCursorFull()
boolean doesCursorHaveMessagesBuffered()
long getCursorMemoryUsage()
int getCursorPercentUsage()
int cursorSize()
boolean isCacheEnabled()
Copyright © 2005–2017. All rights reserved.