Class JMSQueueControlHandler
- java.lang.Object
-
- org.jboss.as.controller.AbstractRuntimeOnlyHandler
-
- org.wildfly.extension.messaging.activemq.AbstractQueueControlHandler<org.apache.activemq.artemis.api.core.management.QueueControl>
-
- org.wildfly.extension.messaging.activemq.jms.JMSQueueControlHandler
-
- All Implemented Interfaces:
org.jboss.as.controller.OperationStepHandler
public class JMSQueueControlHandler extends AbstractQueueControlHandler<org.apache.activemq.artemis.api.core.management.QueueControl>
Handler for runtime operations that invoke on a ActiveMQQueueControl.- Author:
- Brian Stansberry (c) 2011 Red Hat Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.wildfly.extension.messaging.activemq.AbstractQueueControlHandler
AbstractQueueControlHandler.DelegatingQueueControl<T>
-
-
Field Summary
Fields Modifier and Type Field Description static JMSQueueControlHandlerINSTANCE-
Fields inherited from class org.wildfly.extension.messaging.activemq.AbstractQueueControlHandler
CHANGE_MESSAGE_PRIORITY, CHANGE_MESSAGES_PRIORITY, COUNT_MESSAGES, EXPIRE_MESSAGE, EXPIRE_MESSAGES, LIST_CONSUMERS, LIST_CONSUMERS_AS_JSON, LIST_DELIVERING_MESSAGES, LIST_DELIVERING_MESSAGES_AS_JSON, LIST_MESSAGE_COUNTER, LIST_MESSAGE_COUNTER_AS_HTML, LIST_MESSAGE_COUNTER_AS_JSON, LIST_MESSAGE_COUNTER_HISTORY, LIST_MESSAGE_COUNTER_HISTORY_AS_HTML, LIST_MESSAGE_COUNTER_HISTORY_AS_JSON, LIST_MESSAGES, LIST_MESSAGES_AS_JSON, LIST_SCHEDULED_MESSAGES, LIST_SCHEDULED_MESSAGES_AS_JSON, MOVE_MESSAGE, MOVE_MESSAGES, PAUSE, PRIORITY_VALIDATOR, REMOVE_MESSAGE, REMOVE_MESSAGES, RESET_MESSAGE_COUNTER, RESUME, SEND_MESSAGE_TO_DEAD_LETTER_ADDRESS, SEND_MESSAGES_TO_DEAD_LETTER_ADDRESS
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.jboss.as.controller.AttributeDefinitiongetMessageIDAttributeDefinition()protected AbstractQueueControlHandler.DelegatingQueueControl<org.apache.activemq.artemis.api.core.management.QueueControl>getQueueControl(org.apache.activemq.artemis.core.server.ActiveMQServer server, String queueName)protected org.jboss.as.controller.AttributeDefinition[]getReplyMessageParameterDefinitions()protected ObjecthandleAdditionalOperation(String operationName, org.jboss.dmr.ModelNode operation, org.jboss.as.controller.OperationContext context, org.apache.activemq.artemis.api.core.management.QueueControl queueControl)protected voidrevertAdditionalOperation(String operationName, org.jboss.dmr.ModelNode operation, org.jboss.as.controller.OperationContext context, org.apache.activemq.artemis.api.core.management.QueueControl queueControl, Object handback)-
Methods inherited from class org.wildfly.extension.messaging.activemq.AbstractQueueControlHandler
executeRuntimeStep, getReplyMapConsumerMessageParameterDefinition, registerOperations, throwUnimplementedOperationException
-
-
-
-
Field Detail
-
INSTANCE
public static final JMSQueueControlHandler INSTANCE
-
-
Method Detail
-
getMessageIDAttributeDefinition
protected org.jboss.as.controller.AttributeDefinition getMessageIDAttributeDefinition()
- Specified by:
getMessageIDAttributeDefinitionin classAbstractQueueControlHandler<org.apache.activemq.artemis.api.core.management.QueueControl>
-
getReplyMessageParameterDefinitions
protected org.jboss.as.controller.AttributeDefinition[] getReplyMessageParameterDefinitions()
- Specified by:
getReplyMessageParameterDefinitionsin classAbstractQueueControlHandler<org.apache.activemq.artemis.api.core.management.QueueControl>
-
getQueueControl
protected AbstractQueueControlHandler.DelegatingQueueControl<org.apache.activemq.artemis.api.core.management.QueueControl> getQueueControl(org.apache.activemq.artemis.core.server.ActiveMQServer server, String queueName)
- Specified by:
getQueueControlin classAbstractQueueControlHandler<org.apache.activemq.artemis.api.core.management.QueueControl>
-
handleAdditionalOperation
protected Object handleAdditionalOperation(String operationName, org.jboss.dmr.ModelNode operation, org.jboss.as.controller.OperationContext context, org.apache.activemq.artemis.api.core.management.QueueControl queueControl) throws org.jboss.as.controller.OperationFailedException
- Specified by:
handleAdditionalOperationin classAbstractQueueControlHandler<org.apache.activemq.artemis.api.core.management.QueueControl>- Throws:
org.jboss.as.controller.OperationFailedException
-
revertAdditionalOperation
protected void revertAdditionalOperation(String operationName, org.jboss.dmr.ModelNode operation, org.jboss.as.controller.OperationContext context, org.apache.activemq.artemis.api.core.management.QueueControl queueControl, Object handback)
- Specified by:
revertAdditionalOperationin classAbstractQueueControlHandler<org.apache.activemq.artemis.api.core.management.QueueControl>
-
-