public class JMSQueueControlImpl extends StandardMBean implements JMSQueueControl
| Constructor and Description |
|---|
JMSQueueControlImpl(HornetQDestination managedQueue,
QueueControl coreQueueControl,
JMSServerManager jmsServerManager,
org.hornetq.core.messagecounter.MessageCounter counter) |
cacheMBeanInfo, getAttribute, getAttributes, getCachedMBeanInfo, getClassName, getConstructors, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getImpact, getImplementation, getImplementationClass, getMBeanInterface, getParameterName, getParameterName, invoke, postDeregister, postRegister, preDeregister, preRegister, setAttribute, setAttributes, setImplementationpublic JMSQueueControlImpl(HornetQDestination managedQueue, QueueControl coreQueueControl, JMSServerManager jmsServerManager, org.hornetq.core.messagecounter.MessageCounter counter) throws Exception
Exceptionpublic static String createFilterFromJMSSelector(String selectorStr) throws HornetQException
HornetQExceptionpublic String getName()
getName in interface DestinationControlpublic String getAddress()
getAddress in interface DestinationControlpublic boolean isTemporary()
isTemporary in interface DestinationControlpublic long getMessageCount()
getMessageCount in interface DestinationControlpublic long getMessagesAdded()
getMessagesAdded in interface DestinationControlpublic int getConsumerCount()
getConsumerCount in interface JMSQueueControlpublic int getDeliveringCount()
getDeliveringCount in interface DestinationControlpublic long getScheduledCount()
getScheduledCount in interface JMSQueueControlpublic boolean isDurable()
public String getDeadLetterAddress()
getDeadLetterAddress in interface JMSQueueControlpublic void setDeadLetterAddress(String deadLetterAddress) throws Exception
setDeadLetterAddress in interface JMSQueueControlExceptionpublic String getExpiryAddress()
getExpiryAddress in interface JMSQueueControlpublic void setExpiryAddress(String expiryAddress) throws Exception
setExpiryAddress in interface JMSQueueControlExceptionpublic void addJNDI(String jndi) throws Exception
addJNDI in interface JMSQueueControlExceptionpublic String[] getJNDIBindings()
getJNDIBindings in interface JMSQueueControlpublic boolean removeMessage(String messageID) throws Exception
removeMessage in interface JMSQueueControlExceptionpublic int removeMessages(String filterStr) throws Exception
removeMessages in interface DestinationControlremoveMessages in interface JMSQueueControlExceptionpublic Map<String,Object>[] listMessages(String filterStr) throws Exception
listMessages in interface JMSQueueControlExceptionpublic String listMessagesAsJSON(String filter) throws Exception
listMessagesAsJSON in interface JMSQueueControlExceptionpublic long countMessages(String filterStr) throws Exception
countMessages in interface JMSQueueControlExceptionpublic boolean expireMessage(String messageID) throws Exception
expireMessage in interface JMSQueueControlExceptionpublic int expireMessages(String filterStr) throws Exception
expireMessages in interface JMSQueueControlExceptionpublic boolean sendMessageToDeadLetterAddress(String messageID) throws Exception
sendMessageToDeadLetterAddress in interface JMSQueueControlExceptionpublic int sendMessagesToDeadLetterAddress(String filterStr) throws Exception
sendMessagesToDeadLetterAddress in interface JMSQueueControlExceptionpublic boolean changeMessagePriority(String messageID, int newPriority) throws Exception
changeMessagePriority in interface JMSQueueControlExceptionpublic int changeMessagesPriority(String filterStr, int newPriority) throws Exception
changeMessagesPriority in interface JMSQueueControlExceptionpublic boolean moveMessage(String messageID, String otherQueueName) throws Exception
moveMessage in interface JMSQueueControlExceptionpublic boolean moveMessage(String messageID, String otherQueueName, boolean rejectDuplicates) throws Exception
moveMessage in interface JMSQueueControlExceptionpublic int moveMessages(String filterStr, String otherQueueName, boolean rejectDuplicates) throws Exception
moveMessages in interface JMSQueueControlExceptionpublic int moveMessages(String filterStr, String otherQueueName) throws Exception
moveMessages in interface JMSQueueControlExceptionpublic String listConsumersAsJSON() throws Exception
listConsumersAsJSON in interface JMSQueueControlExceptionpublic String listMessageCounter()
listMessageCounter in interface JMSQueueControlpublic void resetMessageCounter()
throws Exception
resetMessageCounter in interface JMSQueueControlExceptionpublic String listMessageCounterAsHTML()
listMessageCounterAsHTML in interface JMSQueueControlpublic String listMessageCounterHistory() throws Exception
listMessageCounterHistory in interface JMSQueueControlExceptionpublic String listMessageCounterHistoryAsHTML()
listMessageCounterHistoryAsHTML in interface JMSQueueControlpublic boolean isPaused()
throws Exception
isPaused in interface JMSQueueControlExceptionpublic void pause()
throws Exception
pause in interface JMSQueueControlExceptionpublic void resume()
throws Exception
resume in interface JMSQueueControlExceptionpublic String getSelector()
getSelector in interface JMSQueueControlpublic MBeanInfo getMBeanInfo()
getMBeanInfo in interface DynamicMBeangetMBeanInfo in class StandardMBeanCopyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.