public class JMSTopicControlImpl extends StandardMBean implements TopicControl
| Constructor and Description |
|---|
JMSTopicControlImpl(ActiveMQDestination topic,
JMSServerManager jmsServerManager,
AddressControl addressControl,
org.apache.activemq.artemis.core.server.management.ManagementService managementService) |
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 JMSTopicControlImpl(ActiveMQDestination topic, JMSServerManager jmsServerManager, AddressControl addressControl, org.apache.activemq.artemis.core.server.management.ManagementService managementService) throws Exception
Exceptionpublic static String createFilterFromJMSSelector(String selectorStr) throws ActiveMQException
ActiveMQExceptionpublic void addBinding(String binding) throws Exception
addBinding in interface TopicControlExceptionpublic String[] getRegistryBindings()
getRegistryBindings in interface TopicControlpublic String getName()
getName in interface DestinationControlpublic boolean isTemporary()
isTemporary in interface DestinationControlpublic String getAddress()
getAddress in interface DestinationControlpublic long getMessageCount()
getMessageCount in interface DestinationControlpublic int getDeliveringCount()
getDeliveringCount in interface DestinationControlpublic long getMessagesAdded()
getMessagesAdded in interface DestinationControlpublic int getDurableMessageCount()
getDurableMessageCount in interface TopicControlpublic int getNonDurableMessageCount()
getNonDurableMessageCount in interface TopicControlpublic int getSubscriptionCount()
getSubscriptionCount in interface TopicControlpublic int getDurableSubscriptionCount()
getDurableSubscriptionCount in interface TopicControlpublic int getNonDurableSubscriptionCount()
getNonDurableSubscriptionCount in interface TopicControlpublic Object[] listAllSubscriptions()
listAllSubscriptions in interface TopicControlpublic String listAllSubscriptionsAsJSON() throws Exception
listAllSubscriptionsAsJSON in interface TopicControlExceptionpublic Object[] listDurableSubscriptions()
listDurableSubscriptions in interface TopicControlpublic String listDurableSubscriptionsAsJSON() throws Exception
listDurableSubscriptionsAsJSON in interface TopicControlExceptionpublic Object[] listNonDurableSubscriptions()
listNonDurableSubscriptions in interface TopicControlpublic String listNonDurableSubscriptionsAsJSON() throws Exception
listNonDurableSubscriptionsAsJSON in interface TopicControlExceptionpublic Map<String,Object>[] listMessagesForSubscription(String queueName) throws Exception
listMessagesForSubscription in interface TopicControlExceptionpublic String listMessagesForSubscriptionAsJSON(String queueName) throws Exception
listMessagesForSubscriptionAsJSON in interface TopicControlExceptionpublic int countMessagesForSubscription(String clientID, String subscriptionName, String filterStr) throws Exception
countMessagesForSubscription in interface TopicControlExceptionpublic int removeMessages(String filterStr) throws Exception
removeMessages in interface DestinationControlExceptionpublic void dropDurableSubscription(String clientID, String subscriptionName) throws Exception
dropDurableSubscription in interface TopicControlExceptionpublic void dropAllSubscriptions()
throws Exception
dropAllSubscriptions in interface TopicControlExceptionpublic MBeanInfo getMBeanInfo()
getMBeanInfo in interface DynamicMBeangetMBeanInfo in class StandardMBeanCopyright © 2017. All Rights Reserved.