Class JMSTopicReadAttributeHandler

  • All Implemented Interfaces:
    org.jboss.as.controller.OperationStepHandler

    public class JMSTopicReadAttributeHandler
    extends org.jboss.as.controller.AbstractRuntimeOnlyHandler
    Implements the read-attribute operation for runtime attributes exposed by a ActiveMQ Topic.
    Author:
    Brian Stansberry (c) 2011 Red Hat Inc.
    • Method Detail

      • executeRuntimeStep

        public void executeRuntimeStep​(org.jboss.as.controller.OperationContext context,
                                       org.jboss.dmr.ModelNode operation)
                                throws org.jboss.as.controller.OperationFailedException
        Specified by:
        executeRuntimeStep in class org.jboss.as.controller.AbstractRuntimeOnlyHandler
        Throws:
        org.jboss.as.controller.OperationFailedException
      • getSubscriptionCount

        public int getSubscriptionCount​(org.apache.activemq.artemis.api.core.management.AddressControl addressControl,
                                        org.apache.activemq.artemis.core.server.management.ManagementService managementService)
      • getDurableSubscriptionCount

        public int getDurableSubscriptionCount​(org.apache.activemq.artemis.api.core.management.AddressControl addressControl,
                                               org.apache.activemq.artemis.core.server.management.ManagementService managementService)
      • getNonDurableSubscriptionCount

        public int getNonDurableSubscriptionCount​(org.apache.activemq.artemis.api.core.management.AddressControl addressControl,
                                                  org.apache.activemq.artemis.core.server.management.ManagementService managementService)
      • getQueues

        public static List<org.apache.activemq.artemis.api.core.management.QueueControl> getQueues​(JMSTopicReadAttributeHandler.DurabilityType durability,
                                                                                                   org.apache.activemq.artemis.api.core.management.AddressControl addressControl,
                                                                                                   org.apache.activemq.artemis.core.server.management.ManagementService managementService)