@Service(name="change-master-broker") @PerLookup @ExecuteOn(value={DAS,INSTANCE}) @TargetType(value={DAS,STANDALONE_INSTANCE,CLUSTER,CONFIG,DEPLOYMENT_GROUP}) public class ChangeMasterBrokerCommand extends JMSDestination implements AdminCommand
CLUSTER_CONFIG_MBEAN_NAME, DEFAULT_MAX_ACTIVE_CONSUMERS, DESTINATION_MANAGER_CONFIG_MBEAN_NAME, DESTINATION_TYPE_QUEUE, DESTINATION_TYPE_TOPIC, JMS_DEST_TYPE_QUEUE, JMS_DEST_TYPE_TOPIC, JMXCONNECTORENV, JMXSERVICEURLLIST, logger, MAX_ACTIVE_CONSUMERS_ATTRIBUTE, MAX_ACTIVE_CONSUMERS_PROPERTY, MBEAN_DOMAIN_NAME
Constructor and Description |
---|
ChangeMasterBrokerCommand() |
Modifier and Type | Method and Description |
---|---|
void |
execute(AdminCommandContext context)
Executes the command with the command parameters passed as Properties
where the keys are the paramter names and the values the parameter values
|
_getMQJMXConnectorInfo, _getMQJMXConnectorInfoForCluster, convertProp2Attrs, getConfiguredRA, getDefaultAddressList, getFirstJMXServiceURL, getMQAdapter, getMQJMXConnectorInfo, getMQJMXConnectorInfos, getTypeForTarget, handleException, logAndHandleException, validateJMSDestName, validateJMSDestType
public void execute(AdminCommandContext context)
execute
in interface AdminCommand
context
- informationCopyright © 2018. All rights reserved.