Class JMSTopicReadAttributeHandler

java.lang.Object
org.jboss.as.controller.AbstractRuntimeOnlyHandler
org.wildfly.extension.messaging.activemq.jms.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.
  • Field Details

  • Method Details

    • 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, ActiveMQBroker broker)
    • getDurableSubscriptionCount

      public int getDurableSubscriptionCount(org.apache.activemq.artemis.api.core.management.AddressControl addressControl, ActiveMQBroker broker)
    • getNonDurableSubscriptionCount

      public int getNonDurableSubscriptionCount(org.apache.activemq.artemis.api.core.management.AddressControl addressControl, ActiveMQBroker broker)
    • 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, ActiveMQBroker broker)