org.jboss.messaging.core.management
Interface QueueControl
- All Known Implementing Classes:
- QueueControlImpl, ReplicationAwareQueueControlWrapper
public interface QueueControl
- Version:
- $Revision$
- Author:
- Jeff Mesnil
getName
java.lang.String getName()
getAddress
java.lang.String getAddress()
getPersistenceID
long getPersistenceID()
isTemporary
boolean isTemporary()
isDurable
boolean isDurable()
getFilter
java.lang.String getFilter()
getMessageCount
int getMessageCount()
getScheduledCount
long getScheduledCount()
getConsumerCount
int getConsumerCount()
getDeliveringCount
int getDeliveringCount()
getMessagesAdded
int getMessagesAdded()
getExpiryAddress
java.lang.String getExpiryAddress()
setExpiryAddress
void setExpiryAddress(java.lang.String expiryAddres)
throws java.lang.Exception
- Throws:
java.lang.Exception
getDeadLetterAddress
java.lang.String getDeadLetterAddress()
setDeadLetterAddress
void setDeadLetterAddress(java.lang.String deadLetterAddress)
throws java.lang.Exception
- Throws:
java.lang.Exception
isBackup
boolean isBackup()
listScheduledMessages
java.util.Map<java.lang.String,java.lang.Object>[] listScheduledMessages()
throws java.lang.Exception
- Throws:
java.lang.Exception
listScheduledMessagesAsJSON
java.lang.String listScheduledMessagesAsJSON()
throws java.lang.Exception
- Throws:
java.lang.Exception
listMessages
java.util.Map<java.lang.String,java.lang.Object>[] listMessages(java.lang.String filter)
throws java.lang.Exception
- Throws:
java.lang.Exception
listMessagesAsJSON
java.lang.String listMessagesAsJSON(java.lang.String filter)
throws java.lang.Exception
- Throws:
java.lang.Exception
countMessages
int countMessages(java.lang.String filter)
throws java.lang.Exception
- Throws:
java.lang.Exception
removeMessage
boolean removeMessage(long messageID)
throws java.lang.Exception
- Throws:
java.lang.Exception
removeMessages
int removeMessages(java.lang.String filter)
throws java.lang.Exception
- Throws:
java.lang.Exception
expireMessages
int expireMessages(java.lang.String filter)
throws java.lang.Exception
- Throws:
java.lang.Exception
expireMessage
boolean expireMessage(long messageID)
throws java.lang.Exception
- Throws:
java.lang.Exception
moveMessage
boolean moveMessage(long messageID,
java.lang.String otherQueueName)
throws java.lang.Exception
- Throws:
java.lang.Exception
moveMessages
int moveMessages(java.lang.String filter,
java.lang.String otherQueueName)
throws java.lang.Exception
- Throws:
java.lang.Exception
sendMessageToDeadLetterAddress
boolean sendMessageToDeadLetterAddress(long messageID)
throws java.lang.Exception
- Throws:
java.lang.Exception
sendMessagesToDeadLetterAddress
int sendMessagesToDeadLetterAddress(java.lang.String filterStr)
throws java.lang.Exception
- Throws:
java.lang.Exception
changeMessagePriority
boolean changeMessagePriority(long messageID,
int newPriority)
throws java.lang.Exception
- Throws:
java.lang.Exception
changeMessagesPriority
int changeMessagesPriority(java.lang.String filter,
int newPriority)
throws java.lang.Exception
- Throws:
java.lang.Exception
listMessageCounter
java.lang.String listMessageCounter()
throws java.lang.Exception
- Throws:
java.lang.Exception
resetMessageCounter
void resetMessageCounter()
throws java.lang.Exception
- Throws:
java.lang.Exception
listMessageCounterAsHTML
java.lang.String listMessageCounterAsHTML()
throws java.lang.Exception
- Throws:
java.lang.Exception
listMessageCounterHistory
java.lang.String listMessageCounterHistory()
throws java.lang.Exception
- Throws:
java.lang.Exception
listMessageCounterHistoryAsHTML
java.lang.String listMessageCounterHistoryAsHTML()
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2006 JBoss Inc. All Rights Reserved.