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.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidexecuteRuntimeStep(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode operation) intgetDurableSubscriptionCount(org.apache.activemq.artemis.api.core.management.AddressControl addressControl, ActiveMQBroker broker) intgetNonDurableSubscriptionCount(org.apache.activemq.artemis.api.core.management.AddressControl addressControl, ActiveMQBroker broker) 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) intgetSubscriptionCount(org.apache.activemq.artemis.api.core.management.AddressControl addressControl, ActiveMQBroker broker) Methods inherited from class org.jboss.as.controller.AbstractRuntimeOnlyHandler
execute, requiresRuntime, resourceMustExist
-
Field Details
-
INSTANCE
-
-
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:
executeRuntimeStepin classorg.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)
-