Class ActiveMQServerControlImpl
- java.lang.Object
-
- javax.management.StandardMBean
-
- org.apache.activemq.artemis.core.management.impl.AbstractControl
-
- org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl
-
- All Implemented Interfaces:
DynamicMBean,MBeanRegistration,NotificationBroadcaster,NotificationEmitter,ActiveMQServerControl,NotificationListener
public class ActiveMQServerControlImpl extends AbstractControl implements ActiveMQServerControl, NotificationEmitter, NotificationListener
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classActiveMQServerControlImpl.QueueTextFormatter
-
Field Summary
-
Fields inherited from class org.apache.activemq.artemis.core.management.impl.AbstractControl
storageManager
-
Fields inherited from interface org.apache.activemq.artemis.api.core.management.ActiveMQServerControl
ADDRESS_MEMORY_USAGE_DESCRIPTION, ADDRESS_MEMORY_USAGE_PERCENTAGE_DESCRIPTION, CONNECTION_COUNT_DESCRIPTION, DISK_STORE_USAGE_DESCRIPTION, TOTAL_CONNECTION_COUNT_DESCRIPTION
-
-
Constructor Summary
Constructors Constructor Description ActiveMQServerControlImpl(PostOffice postOffice, Configuration configuration, ResourceManager resourceManager, RemotingService remotingService, ActiveMQServer messagingServer, MessageCounterManager messageCounterManager, StorageManager storageManager, NotificationBroadcasterSupport broadcaster)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddAddressSettings(String address, String DLA, String expiryAddress, long expiryDelay, boolean lastValueQueue, int deliveryAttempts, long maxSizeBytes, int pageSizeBytes, int pageMaxCacheSize, long redeliveryDelay, double redeliveryMultiplier, long maxRedeliveryDelay, long redistributionDelay, boolean sendToDLAOnNoRoute, String addressFullMessagePolicy, long slowConsumerThreshold, long slowConsumerCheckPeriod, String slowConsumerPolicy, boolean autoCreateJmsQueues, boolean autoDeleteJmsQueues, boolean autoCreateJmsTopics, boolean autoDeleteJmsTopics)voidaddAddressSettings(String address, String DLA, String expiryAddress, long expiryDelay, boolean defaultLastValueQueue, int maxDeliveryAttempts, long maxSizeBytes, int pageSizeBytes, int pageMaxCacheSize, long redeliveryDelay, double redeliveryMultiplier, long maxRedeliveryDelay, long redistributionDelay, boolean sendToDLAOnNoRoute, String addressFullMessagePolicy, long slowConsumerThreshold, long slowConsumerCheckPeriod, String slowConsumerPolicy, boolean autoCreateJmsQueues, boolean autoDeleteJmsQueues, boolean autoCreateJmsTopics, boolean autoDeleteJmsTopics, boolean autoCreateQueues, boolean autoDeleteQueues, boolean autoCreateAddresses, boolean autoDeleteAddresses)voidaddAddressSettings(String address, String DLA, String expiryAddress, long expiryDelay, boolean defaultLastValueQueue, int maxDeliveryAttempts, long maxSizeBytes, int pageSizeBytes, int pageMaxCacheSize, long redeliveryDelay, double redeliveryMultiplier, long maxRedeliveryDelay, long redistributionDelay, boolean sendToDLAOnNoRoute, String addressFullMessagePolicy, long slowConsumerThreshold, long slowConsumerCheckPeriod, String slowConsumerPolicy, boolean autoCreateJmsQueues, boolean autoDeleteJmsQueues, boolean autoCreateJmsTopics, boolean autoDeleteJmsTopics, boolean autoCreateQueues, boolean autoDeleteQueues, boolean autoCreateAddresses, boolean autoDeleteAddresses, String configDeleteQueues, String configDeleteAddresses, long maxSizeBytesRejectThreshold, String defaultLastValueKey, boolean defaultNonDestructive, boolean defaultExclusiveQueue, boolean defaultGroupRebalance, int defaultGroupBuckets, String defaultGroupFirstKey, int defaultMaxConsumers, boolean defaultPurgeOnNoConsumers, int defaultConsumersBeforeDispatch, long defaultDelayBeforeDispatch, String defaultQueueRoutingType, String defaultAddressRoutingType, int defaultConsumerWindowSize, long defaultRingSize, boolean autoDeleteCreatedQueues, long autoDeleteQueuesDelay, long autoDeleteQueuesMessageCount, long autoDeleteAddressesDelay, double redeliveryCollisionAvoidanceFactor, long retroactiveMessageCount)voidaddAddressSettings(String address, String DLA, String expiryAddress, long expiryDelay, boolean defaultLastValueQueue, int maxDeliveryAttempts, long maxSizeBytes, int pageSizeBytes, int pageMaxCacheSize, long redeliveryDelay, double redeliveryMultiplier, long maxRedeliveryDelay, long redistributionDelay, boolean sendToDLAOnNoRoute, String addressFullMessagePolicy, long slowConsumerThreshold, long slowConsumerCheckPeriod, String slowConsumerPolicy, boolean autoCreateJmsQueues, boolean autoDeleteJmsQueues, boolean autoCreateJmsTopics, boolean autoDeleteJmsTopics, boolean autoCreateQueues, boolean autoDeleteQueues, boolean autoCreateAddresses, boolean autoDeleteAddresses, String configDeleteQueues, String configDeleteAddresses, long maxSizeBytesRejectThreshold, String defaultLastValueKey, boolean defaultNonDestructive, boolean defaultExclusiveQueue, boolean defaultGroupRebalance, int defaultGroupBuckets, String defaultGroupFirstKey, int defaultMaxConsumers, boolean defaultPurgeOnNoConsumers, int defaultConsumersBeforeDispatch, long defaultDelayBeforeDispatch, String defaultQueueRoutingType, String defaultAddressRoutingType, int defaultConsumerWindowSize, long defaultRingSize, boolean autoDeleteCreatedQueues, long autoDeleteQueuesDelay, long autoDeleteQueuesMessageCount, long autoDeleteAddressesDelay, double redeliveryCollisionAvoidanceFactor, long retroactiveMessageCount, boolean autoCreateDeadLetterResources, String deadLetterQueuePrefix, String deadLetterQueueSuffix, boolean autoCreateExpiryResources, String expiryQueuePrefix, String expiryQueueSuffix)voidaddAddressSettings(String address, String DLA, String expiryAddress, long expiryDelay, boolean defaultLastValueQueue, int maxDeliveryAttempts, long maxSizeBytes, int pageSizeBytes, int pageMaxCacheSize, long redeliveryDelay, double redeliveryMultiplier, long maxRedeliveryDelay, long redistributionDelay, boolean sendToDLAOnNoRoute, String addressFullMessagePolicy, long slowConsumerThreshold, long slowConsumerCheckPeriod, String slowConsumerPolicy, boolean autoCreateJmsQueues, boolean autoDeleteJmsQueues, boolean autoCreateJmsTopics, boolean autoDeleteJmsTopics, boolean autoCreateQueues, boolean autoDeleteQueues, boolean autoCreateAddresses, boolean autoDeleteAddresses, String configDeleteQueues, String configDeleteAddresses, long maxSizeBytesRejectThreshold, String defaultLastValueKey, boolean defaultNonDestructive, boolean defaultExclusiveQueue, boolean defaultGroupRebalance, int defaultGroupBuckets, String defaultGroupFirstKey, int defaultMaxConsumers, boolean defaultPurgeOnNoConsumers, int defaultConsumersBeforeDispatch, long defaultDelayBeforeDispatch, String defaultQueueRoutingType, String defaultAddressRoutingType, int defaultConsumerWindowSize, long defaultRingSize, boolean autoDeleteCreatedQueues, long autoDeleteQueuesDelay, long autoDeleteQueuesMessageCount, long autoDeleteAddressesDelay, double redeliveryCollisionAvoidanceFactor, long retroactiveMessageCount, boolean autoCreateDeadLetterResources, String deadLetterQueuePrefix, String deadLetterQueueSuffix, boolean autoCreateExpiryResources, String expiryQueuePrefix, String expiryQueueSuffix, long minExpiryDelay, long maxExpiryDelay, boolean enableMetrics)voidaddConnector(String name, String url)voidaddNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback)voidaddSecuritySettings(String addressMatch, String sendRoles, String consumeRoles, String createDurableQueueRoles, String deleteDurableQueueRoles, String createNonDurableQueueRoles, String deleteNonDurableQueueRoles, String manageRoles)voidaddSecuritySettings(String addressMatch, String sendRoles, String consumeRoles, String createDurableQueueRoles, String deleteDurableQueueRoles, String createNonDurableQueueRoles, String deleteNonDurableQueueRoles, String manageRoles, String browseRoles)voidaddSecuritySettings(String addressMatch, String sendRoles, String consumeRoles, String createDurableQueueRoles, String deleteDurableQueueRoles, String createNonDurableQueueRoles, String deleteNonDurableQueueRoles, String manageRoles, String browseRoles, String createAddressRoles, String deleteAddressRoles)voidaddUser(String username, String password, String roles, boolean plaintext)voidbuildSessionJSON(JsonArrayBuilder array, ServerSession sess)voidclearAuthenticationCache()voidclearAuthorizationCache()booleancloseConnectionsForAddress(String ipAddress)booleancloseConnectionsForUser(String userName)booleancloseConnectionWithID(String ID)booleancloseConsumerConnectionsForAddress(String address)booleancloseConsumerWithID(String sessionID, String ID)booleancloseSessionWithID(String connectionID, String ID)booleancommitPreparedTransaction(String transactionAsBase64)StringcreateAddress(String name, String routingTypes)voidcreateBridge(String bridgeConfigurationAsJson)voidcreateBridge(String name, String queueName, String forwardingAddress, String filterString, String transformerClassName, long retryInterval, double retryIntervalMultiplier, int initialConnectAttempts, int reconnectAttempts, boolean useDuplicateDetection, int confirmationWindowSize, int producerWindowSize, long clientFailureCheckPeriod, String staticConnectorsOrDiscoveryGroup, boolean useDiscoveryGroup, boolean ha, String user, String password)voidcreateBridge(String name, String queueName, String forwardingAddress, String filterString, String transformerClassName, long retryInterval, double retryIntervalMultiplier, int initialConnectAttempts, int reconnectAttempts, boolean useDuplicateDetection, int confirmationWindowSize, long clientFailureCheckPeriod, String staticConnectorsOrDiscoveryGroup, boolean useDiscoveryGroup, boolean ha, String user, String password)voidcreateBridge(String name, String queueName, String forwardingAddress, String filterString, String transformerClassName, String transformerPropertiesAsJSON, long retryInterval, double retryIntervalMultiplier, int initialConnectAttempts, int reconnectAttempts, boolean useDuplicateDetection, int confirmationWindowSize, int producerWindowSize, long clientFailureCheckPeriod, String staticConnectorsOrDiscoveryGroup, boolean useDiscoveryGroup, boolean ha, String user, String password)voidcreateBridge(String name, String queueName, String forwardingAddress, String filterString, String transformerClassName, Map<String,String> transformerProperties, long retryInterval, double retryIntervalMultiplier, int initialConnectAttempts, int reconnectAttempts, boolean useDuplicateDetection, int confirmationWindowSize, int producerWindowSize, long clientFailureCheckPeriod, String staticConnectorsOrDiscoveryGroup, boolean useDiscoveryGroup, boolean ha, String user, String password)voidcreateConnectorService(String name, String factoryClass, Map<String,Object> parameters)voidcreateDivert(String name, String routingName, String address, String forwardingAddress, boolean exclusive, String filterString, String transformerClassName)voidcreateDivert(String name, String routingName, String address, String forwardingAddress, boolean exclusive, String filterString, String transformerClassName, String routingType)voidcreateDivert(String name, String routingName, String address, String forwardingAddress, boolean exclusive, String filterString, String transformerClassName, String transformerPropertiesAsJSON, String routingType)voidcreateDivert(String name, String routingName, String address, String forwardingAddress, boolean exclusive, String filterString, String transformerClassName, Map<String,String> transformerProperties, String routingType)StringcreateQueue(String queueConfigurationAsJson)StringcreateQueue(String queueConfigurationAsJson, boolean ignoreIfExists)voidcreateQueue(String address, String name)voidcreateQueue(String address, String name, boolean durable)voidcreateQueue(String address, String name, boolean durable, String routingType)voidcreateQueue(String address, String name, String routingType)voidcreateQueue(String address, String name, String filterStr, boolean durable)voidcreateQueue(String address, String name, String filterStr, boolean durable, String routingType)StringcreateQueue(String address, String routingType, String name, String filterStr, boolean durable, int maxConsumers, boolean purgeOnNoConsumers, boolean autoCreateAddress)StringcreateQueue(String address, String routingType, String name, String filterStr, boolean durable, int maxConsumers, boolean purgeOnNoConsumers, boolean exclusive, boolean groupRebalance, int groupBuckets, boolean lastValue, String lastValueKey, boolean nonDestructive, int consumersBeforeDispatch, long delayBeforeDispatch, boolean autoCreateAddress)StringcreateQueue(String address, String routingType, String name, String filterStr, boolean durable, int maxConsumers, boolean purgeOnNoConsumers, boolean exclusive, boolean groupRebalance, int groupBuckets, boolean lastValue, String lastValueKey, boolean nonDestructive, int consumersBeforeDispatch, long delayBeforeDispatch, boolean autoDelete, long autoDeleteDelay, long autoDeleteMessageCount, boolean autoCreateAddress)StringcreateQueue(String address, String routingType, String name, String filterStr, boolean durable, int maxConsumers, boolean purgeOnNoConsumers, boolean exclusive, boolean groupRebalance, int groupBuckets, String groupFirstKey, boolean lastValue, String lastValueKey, boolean nonDestructive, int consumersBeforeDispatch, long delayBeforeDispatch, boolean autoDelete, long autoDeleteDelay, long autoDeleteMessageCount, boolean autoCreateAddress)StringcreateQueue(String address, String routingType, String name, String filterStr, boolean durable, int maxConsumers, boolean purgeOnNoConsumers, boolean exclusive, boolean groupRebalance, int groupBuckets, String groupFirstKey, boolean lastValue, String lastValueKey, boolean nonDestructive, int consumersBeforeDispatch, long delayBeforeDispatch, boolean autoDelete, long autoDeleteDelay, long autoDeleteMessageCount, boolean autoCreateAddress, long ringSize)voiddeleteAddress(String name)voiddeleteAddress(String name, boolean force)voiddeployQueue(String address, String name, String filterString)Deprecated.voiddeployQueue(String address, String name, String filterStr, boolean durable)Deprecated.voiddestroyBridge(String name)voiddestroyConnectorService(String name)voiddestroyDivert(String name)voiddestroyQueue(String name)voiddestroyQueue(String name, boolean removeConsumers)voiddestroyQueue(String name, boolean removeConsumers, boolean forceAutoDeleteAddress)voiddisableMessageCounters()voidenableMessageCounters()protected MBeanAttributeInfo[]fillMBeanAttributeInfo()protected MBeanOperationInfo[]fillMBeanOperationInfo()voidforceFailover()booleanfreezeReplication()Object[]getAcceptors()StringgetAcceptorsAsJSON()longgetActivationSequence()intgetAddressCount()StringgetAddressInfo(String address)longgetAddressMemoryUsage()intgetAddressMemoryUsagePercentage()String[]getAddressNames()StringgetAddressSettingsAsJSON(String address)longgetAuthenticationCacheSize()longgetAuthorizationCacheSize()StringgetBindingsDirectory()String[]getBridgeNames()String[]getClusterConnectionNames()intgetConnectionCount()longgetConnectionTTLOverride()Object[]getConnectors()StringgetConnectorsAsJSON()String[]getConnectorServices()intgetDiskScanPeriod()doublegetDiskStoreUsage()String[]getDivertNames()longgetGlobalMaxSize()StringgetHAPolicy()intgetIDCacheSize()String[]getIncomingInterceptorClassNames()String[]getInterceptorClassNames()intgetJournalBufferSize()intgetJournalBufferTimeout()intgetJournalCompactMinFiles()intgetJournalCompactPercentage()StringgetJournalDirectory()intgetJournalFileSize()intgetJournalMaxIO()intgetJournalMinFiles()intgetJournalPoolFiles()StringgetJournalType()StringgetLargeMessagesDirectory()StringgetManagementAddress()StringgetManagementNotificationAddress()intgetMaxDiskUsage()intgetMessageCounterMaxDayCount()longgetMessageCounterSamplePeriod()longgetMessageExpiryScanPeriod()longgetMessageExpiryThreadPriority()Deprecated.StringgetName()StringgetNodeID()MBeanNotificationInfo[]getNotificationInfo()String[]getOutgoingInterceptorClassNames()StringgetPagingDirectory()intgetQueueCount()String[]getQueueNames()String[]getQueueNames(String routingType)Object[]getRoles(String addressMatch)StringgetRolesAsJSON(String addressMatch)intgetScheduledThreadPoolMaxSize()longgetSecurityInvalidationInterval()StringgetStatus()intgetThreadPoolMaxSize()longgetTotalConnectionCount()longgetTotalConsumerCount()longgetTotalMessageCount()longgetTotalMessagesAcknowledged()longgetTotalMessagesAdded()longgetTransactionTimeout()longgetTransactionTimeoutScanPeriod()StringgetUptime()longgetUptimeMillis()StringgetVersion()booleanisActive()booleanisAsyncConnectionExecutionEnabled()booleanisBackup()booleanisClustered()booleanisCreateBindingsDir()booleanisCreateJournalDir()booleanisEmbeddedWebServerStarted()booleanisFailoverOnServerShutdown()booleanisJournalSyncNonTransactional()booleanisJournalSyncTransactional()booleanisMessageCounterEnabled()booleanisPersistDeliveryCountBeforeDelivery()booleanisPersistenceEnabled()booleanisPersistIDCache()booleanisReplicaSync()booleanisSecurityEnabled()booleanisSharedStore()booleanisStarted()booleanisWildcardRoutingEnabled()StringlistAddresses(String separator)StringlistAddresses(String options, int page, int pageSize)StringlistAllConsumersAsJSON()StringlistAllSessionsAsJSON()StringlistBindingsForAddress(String address)StringlistBrokerConnections()String[]listConnectionIDs()StringlistConnections(String options, int page, int pageSize)StringlistConnectionsAsJSON()StringlistConsumers(String options, int page, int pageSize)StringlistConsumersAsJSON(String connectionID)String[]listHeuristicCommittedTransactions()String[]listHeuristicRolledBackTransactions()StringlistNetworkTopology()StringlistPreparedTransactionDetailsAsHTML()Deprecated.StringlistPreparedTransactionDetailsAsHTML(TransactionDetailFactory factory)Deprecated.StringlistPreparedTransactionDetailsAsJSON()StringlistPreparedTransactionDetailsAsJSON(TransactionDetailFactory factory)String[]listPreparedTransactions()StringlistProducers(String options, int page, int pageSize)StringlistProducersInfoAsJSON()StringlistQueues(String options, int page, int pageSize)String[]listRemoteAddresses()String[]listRemoteAddresses(String ipAddress)String[]listSessions(String connectionID)StringlistSessions(String options, int page, int pageSize)StringlistSessionsAsJSON(String connectionID)StringlistUser(String username)voidonNotification(Notification notification)voidrebuildPageCounters()voidreloadConfigurationFile()voidremoveAddressSettings(String addressMatch)voidremoveConnector(String name)voidremoveNotificationListener(NotificationListener listener)voidremoveNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback)voidremoveSecuritySettings(String addressMatch)voidremoveUser(String username)voidreplay(String address, String target, String filter)voidreplay(String startScan, String endScan, String address, String target, String filter)voidresetAllMessageCounterHistories()voidresetAllMessageCounters()voidresetUser(String username, String password, String roles)voidresetUser(String username, String password, String roles, boolean plaintext)voidrestartEmbeddedWebServer()voidrestartEmbeddedWebServer(long timeout)booleanrollbackPreparedTransaction(String transactionAsBase64)voidscaleDown(String connector)voidsendQueueInfoToQueue(String queueName, String address)voidsetFailoverOnServerShutdown(boolean failoverOnServerShutdown)voidsetMessageCounterMaxDayCount(int count)voidsetMessageCounterSamplePeriod(long newPeriod)voidstartBrokerConnection(String name)voidstartEmbeddedWebServer()voidstopBrokerConnection(String name)voidstopEmbeddedWebServer()StringupdateAddress(String name, String routingTypes)voidupdateDivert(String name, String forwardingAddress, String filterString, String transformerClassName, Map<String,String> transformerProperties, String routingType)voidupdateDuplicateIdCache(String address, Object[] ids)StringupdateQueue(String queueConfigurationAsJson)StringupdateQueue(String name, String routingType, Integer maxConsumers, Boolean purgeOnNoConsumers)Deprecated.StringupdateQueue(String name, String routingType, Integer maxConsumers, Boolean purgeOnNoConsumers, Boolean exclusive)Deprecated.StringupdateQueue(String name, String routingType, Integer maxConsumers, Boolean purgeOnNoConsumers, Boolean exclusive, String user)StringupdateQueue(String name, String routingType, String filter, Integer maxConsumers, Boolean purgeOnNoConsumers, Boolean exclusive, Boolean groupRebalance, Integer groupBuckets, Boolean nonDestructive, Integer consumersBeforeDispatch, Long delayBeforeDispatch, String user)StringupdateQueue(String name, String routingType, String filter, Integer maxConsumers, Boolean purgeOnNoConsumers, Boolean exclusive, Boolean groupRebalance, Integer groupBuckets, String groupFirstKey, Boolean nonDestructive, Integer consumersBeforeDispatch, Long delayBeforeDispatch, String user)StringupdateQueue(String name, String routingType, String filter, Integer maxConsumers, Boolean purgeOnNoConsumers, Boolean exclusive, Boolean groupRebalance, Integer groupBuckets, String groupFirstKey, Boolean nonDestructive, Integer consumersBeforeDispatch, Long delayBeforeDispatch, String user, Long ringSize)-
Methods inherited from class org.apache.activemq.artemis.core.management.impl.AbstractControl
blockOnIO, clearIO, getMBeanInfo, sendMessage, tcclCall, tcclInvoke
-
Methods inherited from class javax.management.StandardMBean
cacheMBeanInfo, getAttribute, getAttributes, getCachedMBeanInfo, getClassName, getConstructors, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getImpact, getImplementation, getImplementationClass, getMBeanInterface, getParameterName, getParameterName, invoke, postDeregister, postRegister, preDeregister, preRegister, setAttribute, setAttributes, setImplementation
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.activemq.artemis.api.core.management.ActiveMQServerControl
listDivertNames
-
-
-
-
Constructor Detail
-
ActiveMQServerControlImpl
public ActiveMQServerControlImpl(PostOffice postOffice, Configuration configuration, ResourceManager resourceManager, RemotingService remotingService, ActiveMQServer messagingServer, MessageCounterManager messageCounterManager, StorageManager storageManager, NotificationBroadcasterSupport broadcaster) throws Exception
- Throws:
Exception
-
-
Method Detail
-
isStarted
public boolean isStarted()
- Specified by:
isStartedin interfaceActiveMQServerControl
-
getName
public String getName()
- Specified by:
getNamein interfaceActiveMQServerControl
-
getVersion
public String getVersion()
- Specified by:
getVersionin interfaceActiveMQServerControl
-
isActive
public boolean isActive()
- Specified by:
isActivein interfaceActiveMQServerControl
-
isBackup
public boolean isBackup()
- Specified by:
isBackupin interfaceActiveMQServerControl
-
isSharedStore
public boolean isSharedStore()
- Specified by:
isSharedStorein interfaceActiveMQServerControl
-
getBindingsDirectory
public String getBindingsDirectory()
- Specified by:
getBindingsDirectoryin interfaceActiveMQServerControl
-
getInterceptorClassNames
public String[] getInterceptorClassNames()
-
getIncomingInterceptorClassNames
public String[] getIncomingInterceptorClassNames()
- Specified by:
getIncomingInterceptorClassNamesin interfaceActiveMQServerControl
-
getOutgoingInterceptorClassNames
public String[] getOutgoingInterceptorClassNames()
- Specified by:
getOutgoingInterceptorClassNamesin interfaceActiveMQServerControl
-
getJournalPoolFiles
public int getJournalPoolFiles()
- Specified by:
getJournalPoolFilesin interfaceActiveMQServerControl
-
getJournalBufferSize
public int getJournalBufferSize()
- Specified by:
getJournalBufferSizein interfaceActiveMQServerControl
-
getJournalBufferTimeout
public int getJournalBufferTimeout()
- Specified by:
getJournalBufferTimeoutin interfaceActiveMQServerControl
-
setFailoverOnServerShutdown
public void setFailoverOnServerShutdown(boolean failoverOnServerShutdown)
- Specified by:
setFailoverOnServerShutdownin interfaceActiveMQServerControl
-
isFailoverOnServerShutdown
public boolean isFailoverOnServerShutdown()
- Specified by:
isFailoverOnServerShutdownin interfaceActiveMQServerControl
-
getJournalMaxIO
public int getJournalMaxIO()
- Specified by:
getJournalMaxIOin interfaceActiveMQServerControl
-
getJournalDirectory
public String getJournalDirectory()
- Specified by:
getJournalDirectoryin interfaceActiveMQServerControl
-
getJournalFileSize
public int getJournalFileSize()
- Specified by:
getJournalFileSizein interfaceActiveMQServerControl
-
getJournalMinFiles
public int getJournalMinFiles()
- Specified by:
getJournalMinFilesin interfaceActiveMQServerControl
-
getJournalCompactMinFiles
public int getJournalCompactMinFiles()
- Specified by:
getJournalCompactMinFilesin interfaceActiveMQServerControl
-
getJournalCompactPercentage
public int getJournalCompactPercentage()
- Specified by:
getJournalCompactPercentagein interfaceActiveMQServerControl
-
isPersistenceEnabled
public boolean isPersistenceEnabled()
- Specified by:
isPersistenceEnabledin interfaceActiveMQServerControl
-
getJournalType
public String getJournalType()
- Specified by:
getJournalTypein interfaceActiveMQServerControl
-
getPagingDirectory
public String getPagingDirectory()
- Specified by:
getPagingDirectoryin interfaceActiveMQServerControl
-
getScheduledThreadPoolMaxSize
public int getScheduledThreadPoolMaxSize()
- Specified by:
getScheduledThreadPoolMaxSizein interfaceActiveMQServerControl
-
getThreadPoolMaxSize
public int getThreadPoolMaxSize()
- Specified by:
getThreadPoolMaxSizein interfaceActiveMQServerControl
-
getSecurityInvalidationInterval
public long getSecurityInvalidationInterval()
- Specified by:
getSecurityInvalidationIntervalin interfaceActiveMQServerControl
-
isClustered
public boolean isClustered()
- Specified by:
isClusteredin interfaceActiveMQServerControl
-
isCreateBindingsDir
public boolean isCreateBindingsDir()
- Specified by:
isCreateBindingsDirin interfaceActiveMQServerControl
-
isCreateJournalDir
public boolean isCreateJournalDir()
- Specified by:
isCreateJournalDirin interfaceActiveMQServerControl
-
isJournalSyncNonTransactional
public boolean isJournalSyncNonTransactional()
- Specified by:
isJournalSyncNonTransactionalin interfaceActiveMQServerControl
-
isJournalSyncTransactional
public boolean isJournalSyncTransactional()
- Specified by:
isJournalSyncTransactionalin interfaceActiveMQServerControl
-
isSecurityEnabled
public boolean isSecurityEnabled()
- Specified by:
isSecurityEnabledin interfaceActiveMQServerControl
-
isAsyncConnectionExecutionEnabled
public boolean isAsyncConnectionExecutionEnabled()
- Specified by:
isAsyncConnectionExecutionEnabledin interfaceActiveMQServerControl
-
getDiskScanPeriod
public int getDiskScanPeriod()
- Specified by:
getDiskScanPeriodin interfaceActiveMQServerControl
-
getMaxDiskUsage
public int getMaxDiskUsage()
- Specified by:
getMaxDiskUsagein interfaceActiveMQServerControl
-
getGlobalMaxSize
public long getGlobalMaxSize()
- Specified by:
getGlobalMaxSizein interfaceActiveMQServerControl
-
getAddressMemoryUsage
public long getAddressMemoryUsage()
- Specified by:
getAddressMemoryUsagein interfaceActiveMQServerControl
-
getDiskStoreUsage
public double getDiskStoreUsage()
- Specified by:
getDiskStoreUsagein interfaceActiveMQServerControl
-
getAddressMemoryUsagePercentage
public int getAddressMemoryUsagePercentage()
- Specified by:
getAddressMemoryUsagePercentagein interfaceActiveMQServerControl
-
getHAPolicy
public String getHAPolicy()
- Specified by:
getHAPolicyin interfaceActiveMQServerControl
-
getAuthenticationCacheSize
public long getAuthenticationCacheSize()
- Specified by:
getAuthenticationCacheSizein interfaceActiveMQServerControl
-
getAuthorizationCacheSize
public long getAuthorizationCacheSize()
- Specified by:
getAuthorizationCacheSizein interfaceActiveMQServerControl
-
freezeReplication
public boolean freezeReplication() throws Exception- Specified by:
freezeReplicationin interfaceActiveMQServerControl- Throws:
Exception
-
createAddress
public String createAddress(String name, String routingTypes) throws Exception
- Specified by:
createAddressin interfaceActiveMQServerControl- Throws:
Exception
-
updateAddress
public String updateAddress(String name, String routingTypes) throws Exception
- Specified by:
updateAddressin interfaceActiveMQServerControl- Throws:
Exception
-
deleteAddress
public void deleteAddress(String name) throws Exception
- Specified by:
deleteAddressin interfaceActiveMQServerControl- Throws:
Exception
-
deleteAddress
public void deleteAddress(String name, boolean force) throws Exception
- Specified by:
deleteAddressin interfaceActiveMQServerControl- Throws:
Exception
-
deployQueue
@Deprecated public void deployQueue(String address, String name, String filterString) throws Exception
Deprecated.- Specified by:
deployQueuein interfaceActiveMQServerControl- Throws:
Exception
-
deployQueue
@Deprecated public void deployQueue(String address, String name, String filterStr, boolean durable) throws Exception
Deprecated.- Specified by:
deployQueuein interfaceActiveMQServerControl- Throws:
Exception
-
createQueue
public void createQueue(String address, String name) throws Exception
- Specified by:
createQueuein interfaceActiveMQServerControl- Throws:
Exception
-
createQueue
public void createQueue(String address, String name, String routingType) throws Exception
- Specified by:
createQueuein interfaceActiveMQServerControl- Throws:
Exception
-
createQueue
public void createQueue(String address, String name, boolean durable) throws Exception
- Specified by:
createQueuein interfaceActiveMQServerControl- Throws:
Exception
-
createQueue
public void createQueue(String address, String name, boolean durable, String routingType) throws Exception
- Specified by:
createQueuein interfaceActiveMQServerControl- Throws:
Exception
-
createQueue
public void createQueue(String address, String name, String filterStr, boolean durable) throws Exception
- Specified by:
createQueuein interfaceActiveMQServerControl- Throws:
Exception
-
createQueue
public void createQueue(String address, String name, String filterStr, boolean durable, String routingType) throws Exception
- Specified by:
createQueuein interfaceActiveMQServerControl- Throws:
Exception
-
createQueue
public String createQueue(String address, String routingType, String name, String filterStr, boolean durable, int maxConsumers, boolean purgeOnNoConsumers, boolean autoCreateAddress) throws Exception
- Specified by:
createQueuein interfaceActiveMQServerControl- Throws:
Exception
-
createQueue
public String createQueue(String address, String routingType, String name, String filterStr, boolean durable, int maxConsumers, boolean purgeOnNoConsumers, boolean exclusive, boolean groupRebalance, int groupBuckets, boolean lastValue, String lastValueKey, boolean nonDestructive, int consumersBeforeDispatch, long delayBeforeDispatch, boolean autoCreateAddress) throws Exception
- Specified by:
createQueuein interfaceActiveMQServerControl- Throws:
Exception
-
createQueue
public String createQueue(String address, String routingType, String name, String filterStr, boolean durable, int maxConsumers, boolean purgeOnNoConsumers, boolean exclusive, boolean groupRebalance, int groupBuckets, boolean lastValue, String lastValueKey, boolean nonDestructive, int consumersBeforeDispatch, long delayBeforeDispatch, boolean autoDelete, long autoDeleteDelay, long autoDeleteMessageCount, boolean autoCreateAddress) throws Exception
- Specified by:
createQueuein interfaceActiveMQServerControl- Throws:
Exception
-
createQueue
public String createQueue(String address, String routingType, String name, String filterStr, boolean durable, int maxConsumers, boolean purgeOnNoConsumers, boolean exclusive, boolean groupRebalance, int groupBuckets, String groupFirstKey, boolean lastValue, String lastValueKey, boolean nonDestructive, int consumersBeforeDispatch, long delayBeforeDispatch, boolean autoDelete, long autoDeleteDelay, long autoDeleteMessageCount, boolean autoCreateAddress) throws Exception
- Specified by:
createQueuein interfaceActiveMQServerControl- Throws:
Exception
-
createQueue
public String createQueue(String address, String routingType, String name, String filterStr, boolean durable, int maxConsumers, boolean purgeOnNoConsumers, boolean exclusive, boolean groupRebalance, int groupBuckets, String groupFirstKey, boolean lastValue, String lastValueKey, boolean nonDestructive, int consumersBeforeDispatch, long delayBeforeDispatch, boolean autoDelete, long autoDeleteDelay, long autoDeleteMessageCount, boolean autoCreateAddress, long ringSize) throws Exception
- Specified by:
createQueuein interfaceActiveMQServerControl- Throws:
Exception
-
createQueue
public String createQueue(String queueConfigurationAsJson) throws Exception
- Specified by:
createQueuein interfaceActiveMQServerControl- Throws:
Exception
-
createQueue
public String createQueue(String queueConfigurationAsJson, boolean ignoreIfExists) throws Exception
- Specified by:
createQueuein interfaceActiveMQServerControl- Throws:
Exception
-
updateQueue
public String updateQueue(String queueConfigurationAsJson) throws Exception
- Specified by:
updateQueuein interfaceActiveMQServerControl- Throws:
Exception
-
updateQueue
@Deprecated public String updateQueue(String name, String routingType, Integer maxConsumers, Boolean purgeOnNoConsumers) throws Exception
Deprecated.- Specified by:
updateQueuein interfaceActiveMQServerControl- Throws:
Exception
-
updateQueue
@Deprecated public String updateQueue(String name, String routingType, Integer maxConsumers, Boolean purgeOnNoConsumers, Boolean exclusive) throws Exception
Deprecated.- Specified by:
updateQueuein interfaceActiveMQServerControl- Throws:
Exception
-
updateQueue
public String updateQueue(String name, String routingType, Integer maxConsumers, Boolean purgeOnNoConsumers, Boolean exclusive, String user) throws Exception
- Specified by:
updateQueuein interfaceActiveMQServerControl- Throws:
Exception
-
updateQueue
public String updateQueue(String name, String routingType, String filter, Integer maxConsumers, Boolean purgeOnNoConsumers, Boolean exclusive, Boolean groupRebalance, Integer groupBuckets, Boolean nonDestructive, Integer consumersBeforeDispatch, Long delayBeforeDispatch, String user) throws Exception
- Specified by:
updateQueuein interfaceActiveMQServerControl- Throws:
Exception
-
updateQueue
public String updateQueue(String name, String routingType, String filter, Integer maxConsumers, Boolean purgeOnNoConsumers, Boolean exclusive, Boolean groupRebalance, Integer groupBuckets, String groupFirstKey, Boolean nonDestructive, Integer consumersBeforeDispatch, Long delayBeforeDispatch, String user) throws Exception
- Specified by:
updateQueuein interfaceActiveMQServerControl- Throws:
Exception
-
updateQueue
public String updateQueue(String name, String routingType, String filter, Integer maxConsumers, Boolean purgeOnNoConsumers, Boolean exclusive, Boolean groupRebalance, Integer groupBuckets, String groupFirstKey, Boolean nonDestructive, Integer consumersBeforeDispatch, Long delayBeforeDispatch, String user, Long ringSize) throws Exception
- Specified by:
updateQueuein interfaceActiveMQServerControl- Throws:
Exception
-
getQueueCount
public int getQueueCount()
- Specified by:
getQueueCountin interfaceActiveMQServerControl
-
getQueueNames
public String[] getQueueNames()
- Specified by:
getQueueNamesin interfaceActiveMQServerControl
-
getQueueNames
public String[] getQueueNames(String routingType)
- Specified by:
getQueueNamesin interfaceActiveMQServerControl
-
getClusterConnectionNames
public String[] getClusterConnectionNames()
- Specified by:
getClusterConnectionNamesin interfaceActiveMQServerControl
-
getUptime
public String getUptime()
- Specified by:
getUptimein interfaceActiveMQServerControl
-
getUptimeMillis
public long getUptimeMillis()
- Specified by:
getUptimeMillisin interfaceActiveMQServerControl
-
isReplicaSync
public boolean isReplicaSync()
- Specified by:
isReplicaSyncin interfaceActiveMQServerControl
-
getAddressCount
public int getAddressCount()
- Specified by:
getAddressCountin interfaceActiveMQServerControl
-
getAddressNames
public String[] getAddressNames()
- Specified by:
getAddressNamesin interfaceActiveMQServerControl
-
destroyQueue
public void destroyQueue(String name, boolean removeConsumers, boolean forceAutoDeleteAddress) throws Exception
- Specified by:
destroyQueuein interfaceActiveMQServerControl- Throws:
Exception
-
destroyQueue
public void destroyQueue(String name, boolean removeConsumers) throws Exception
- Specified by:
destroyQueuein interfaceActiveMQServerControl- Throws:
Exception
-
destroyQueue
public void destroyQueue(String name) throws Exception
- Specified by:
destroyQueuein interfaceActiveMQServerControl- Throws:
Exception
-
getAddressInfo
public String getAddressInfo(String address) throws ActiveMQAddressDoesNotExistException
- Specified by:
getAddressInfoin interfaceActiveMQServerControl- Throws:
ActiveMQAddressDoesNotExistException
-
listBindingsForAddress
public String listBindingsForAddress(String address) throws Exception
- Specified by:
listBindingsForAddressin interfaceActiveMQServerControl- Throws:
Exception
-
listAddresses
public String listAddresses(String separator) throws Exception
- Specified by:
listAddressesin interfaceActiveMQServerControl- Throws:
Exception
-
getConnectionCount
public int getConnectionCount()
- Specified by:
getConnectionCountin interfaceActiveMQServerControl
-
getTotalConnectionCount
public long getTotalConnectionCount()
- Specified by:
getTotalConnectionCountin interfaceActiveMQServerControl
-
getTotalMessageCount
public long getTotalMessageCount()
- Specified by:
getTotalMessageCountin interfaceActiveMQServerControl
-
getTotalMessagesAdded
public long getTotalMessagesAdded()
- Specified by:
getTotalMessagesAddedin interfaceActiveMQServerControl
-
getTotalMessagesAcknowledged
public long getTotalMessagesAcknowledged()
- Specified by:
getTotalMessagesAcknowledgedin interfaceActiveMQServerControl
-
getTotalConsumerCount
public long getTotalConsumerCount()
- Specified by:
getTotalConsumerCountin interfaceActiveMQServerControl
-
enableMessageCounters
public void enableMessageCounters()
- Specified by:
enableMessageCountersin interfaceActiveMQServerControl
-
disableMessageCounters
public void disableMessageCounters()
- Specified by:
disableMessageCountersin interfaceActiveMQServerControl
-
resetAllMessageCounters
public void resetAllMessageCounters()
- Specified by:
resetAllMessageCountersin interfaceActiveMQServerControl
-
resetAllMessageCounterHistories
public void resetAllMessageCounterHistories()
- Specified by:
resetAllMessageCounterHistoriesin interfaceActiveMQServerControl
-
isMessageCounterEnabled
public boolean isMessageCounterEnabled()
- Specified by:
isMessageCounterEnabledin interfaceActiveMQServerControl
-
getMessageCounterSamplePeriod
public long getMessageCounterSamplePeriod()
- Specified by:
getMessageCounterSamplePeriodin interfaceActiveMQServerControl
-
setMessageCounterSamplePeriod
public void setMessageCounterSamplePeriod(long newPeriod)
- Specified by:
setMessageCounterSamplePeriodin interfaceActiveMQServerControl
-
getMessageCounterMaxDayCount
public int getMessageCounterMaxDayCount()
- Specified by:
getMessageCounterMaxDayCountin interfaceActiveMQServerControl
-
setMessageCounterMaxDayCount
public void setMessageCounterMaxDayCount(int count)
- Specified by:
setMessageCounterMaxDayCountin interfaceActiveMQServerControl
-
listPreparedTransactions
public String[] listPreparedTransactions()
- Specified by:
listPreparedTransactionsin interfaceActiveMQServerControl
-
listPreparedTransactionDetailsAsJSON
public String listPreparedTransactionDetailsAsJSON() throws Exception
- Specified by:
listPreparedTransactionDetailsAsJSONin interfaceActiveMQServerControl- Throws:
Exception
-
listPreparedTransactionDetailsAsJSON
public String listPreparedTransactionDetailsAsJSON(TransactionDetailFactory factory) throws Exception
- Throws:
Exception
-
listPreparedTransactionDetailsAsHTML
@Deprecated public String listPreparedTransactionDetailsAsHTML() throws Exception
Deprecated.- Specified by:
listPreparedTransactionDetailsAsHTMLin interfaceActiveMQServerControl- Throws:
Exception
-
listPreparedTransactionDetailsAsHTML
@Deprecated public String listPreparedTransactionDetailsAsHTML(TransactionDetailFactory factory) throws Exception
Deprecated.- Throws:
Exception
-
listHeuristicCommittedTransactions
public String[] listHeuristicCommittedTransactions()
- Specified by:
listHeuristicCommittedTransactionsin interfaceActiveMQServerControl
-
listHeuristicRolledBackTransactions
public String[] listHeuristicRolledBackTransactions()
- Specified by:
listHeuristicRolledBackTransactionsin interfaceActiveMQServerControl
-
commitPreparedTransaction
public boolean commitPreparedTransaction(String transactionAsBase64) throws Exception
- Specified by:
commitPreparedTransactionin interfaceActiveMQServerControl- Throws:
Exception
-
rollbackPreparedTransaction
public boolean rollbackPreparedTransaction(String transactionAsBase64) throws Exception
- Specified by:
rollbackPreparedTransactionin interfaceActiveMQServerControl- Throws:
Exception
-
listRemoteAddresses
public String[] listRemoteAddresses()
- Specified by:
listRemoteAddressesin interfaceActiveMQServerControl
-
listRemoteAddresses
public String[] listRemoteAddresses(String ipAddress)
- Specified by:
listRemoteAddressesin interfaceActiveMQServerControl
-
closeConnectionsForAddress
public boolean closeConnectionsForAddress(String ipAddress)
- Specified by:
closeConnectionsForAddressin interfaceActiveMQServerControl
-
closeConsumerConnectionsForAddress
public boolean closeConsumerConnectionsForAddress(String address)
- Specified by:
closeConsumerConnectionsForAddressin interfaceActiveMQServerControl
-
closeConnectionsForUser
public boolean closeConnectionsForUser(String userName)
- Specified by:
closeConnectionsForUserin interfaceActiveMQServerControl
-
closeConnectionWithID
public boolean closeConnectionWithID(String ID)
- Specified by:
closeConnectionWithIDin interfaceActiveMQServerControl
-
closeSessionWithID
public boolean closeSessionWithID(String connectionID, String ID) throws Exception
- Specified by:
closeSessionWithIDin interfaceActiveMQServerControl- Throws:
Exception
-
closeConsumerWithID
public boolean closeConsumerWithID(String sessionID, String ID) throws Exception
- Specified by:
closeConsumerWithIDin interfaceActiveMQServerControl- Throws:
Exception
-
listConnectionIDs
public String[] listConnectionIDs()
- Specified by:
listConnectionIDsin interfaceActiveMQServerControl
-
listSessions
public String[] listSessions(String connectionID)
- Specified by:
listSessionsin interfaceActiveMQServerControl
-
listProducersInfoAsJSON
public String listProducersInfoAsJSON() throws Exception
- Specified by:
listProducersInfoAsJSONin interfaceActiveMQServerControl- Throws:
Exception
-
listConnections
public String listConnections(String options, int page, int pageSize) throws Exception
- Specified by:
listConnectionsin interfaceActiveMQServerControl- Throws:
Exception
-
listSessions
public String listSessions(String options, int page, int pageSize) throws Exception
- Specified by:
listSessionsin interfaceActiveMQServerControl- Throws:
Exception
-
listConsumers
public String listConsumers(String options, int page, int pageSize) throws Exception
- Specified by:
listConsumersin interfaceActiveMQServerControl- Throws:
Exception
-
listAddresses
public String listAddresses(String options, int page, int pageSize) throws Exception
- Specified by:
listAddressesin interfaceActiveMQServerControl- Throws:
Exception
-
listQueues
public String listQueues(String options, int page, int pageSize) throws Exception
- Specified by:
listQueuesin interfaceActiveMQServerControl- Throws:
Exception
-
listProducers
public String listProducers(String options, int page, int pageSize) throws Exception
- Specified by:
listProducersin interfaceActiveMQServerControl- Throws:
Exception
-
listConnectionsAsJSON
public String listConnectionsAsJSON() throws Exception
- Specified by:
listConnectionsAsJSONin interfaceActiveMQServerControl- Throws:
Exception
-
listSessionsAsJSON
public String listSessionsAsJSON(String connectionID) throws Exception
- Specified by:
listSessionsAsJSONin interfaceActiveMQServerControl- Throws:
Exception
-
listAllSessionsAsJSON
public String listAllSessionsAsJSON() throws Exception
- Specified by:
listAllSessionsAsJSONin interfaceActiveMQServerControl- Throws:
Exception
-
buildSessionJSON
public void buildSessionJSON(JsonArrayBuilder array, ServerSession sess)
-
listConsumersAsJSON
public String listConsumersAsJSON(String connectionID) throws Exception
- Specified by:
listConsumersAsJSONin interfaceActiveMQServerControl- Throws:
Exception
-
listAllConsumersAsJSON
public String listAllConsumersAsJSON() throws Exception
- Specified by:
listAllConsumersAsJSONin interfaceActiveMQServerControl- Throws:
Exception
-
getConnectors
public Object[] getConnectors() throws Exception
- Specified by:
getConnectorsin interfaceActiveMQServerControl- Throws:
Exception
-
getAcceptors
public Object[] getAcceptors() throws Exception
- Specified by:
getAcceptorsin interfaceActiveMQServerControl- Throws:
Exception
-
getConnectorsAsJSON
public String getConnectorsAsJSON() throws Exception
- Specified by:
getConnectorsAsJSONin interfaceActiveMQServerControl- Throws:
Exception
-
getAcceptorsAsJSON
public String getAcceptorsAsJSON() throws Exception
- Specified by:
getAcceptorsAsJSONin interfaceActiveMQServerControl- Throws:
Exception
-
addSecuritySettings
public void addSecuritySettings(String addressMatch, String sendRoles, String consumeRoles, String createDurableQueueRoles, String deleteDurableQueueRoles, String createNonDurableQueueRoles, String deleteNonDurableQueueRoles, String manageRoles) throws Exception
- Specified by:
addSecuritySettingsin interfaceActiveMQServerControl- Throws:
Exception
-
addSecuritySettings
public void addSecuritySettings(String addressMatch, String sendRoles, String consumeRoles, String createDurableQueueRoles, String deleteDurableQueueRoles, String createNonDurableQueueRoles, String deleteNonDurableQueueRoles, String manageRoles, String browseRoles) throws Exception
- Specified by:
addSecuritySettingsin interfaceActiveMQServerControl- Throws:
Exception
-
addSecuritySettings
public void addSecuritySettings(String addressMatch, String sendRoles, String consumeRoles, String createDurableQueueRoles, String deleteDurableQueueRoles, String createNonDurableQueueRoles, String deleteNonDurableQueueRoles, String manageRoles, String browseRoles, String createAddressRoles, String deleteAddressRoles) throws Exception
- Specified by:
addSecuritySettingsin interfaceActiveMQServerControl- Throws:
Exception
-
removeSecuritySettings
public void removeSecuritySettings(String addressMatch) throws Exception
- Specified by:
removeSecuritySettingsin interfaceActiveMQServerControl- Throws:
Exception
-
getRoles
public Object[] getRoles(String addressMatch) throws Exception
- Specified by:
getRolesin interfaceActiveMQServerControl- Throws:
Exception
-
getRolesAsJSON
public String getRolesAsJSON(String addressMatch) throws Exception
- Specified by:
getRolesAsJSONin interfaceActiveMQServerControl- Throws:
Exception
-
getAddressSettingsAsJSON
public String getAddressSettingsAsJSON(String address) throws Exception
- Specified by:
getAddressSettingsAsJSONin interfaceActiveMQServerControl- Throws:
Exception
-
addAddressSettings
public void addAddressSettings(String address, String DLA, String expiryAddress, long expiryDelay, boolean lastValueQueue, int deliveryAttempts, long maxSizeBytes, int pageSizeBytes, int pageMaxCacheSize, long redeliveryDelay, double redeliveryMultiplier, long maxRedeliveryDelay, long redistributionDelay, boolean sendToDLAOnNoRoute, String addressFullMessagePolicy, long slowConsumerThreshold, long slowConsumerCheckPeriod, String slowConsumerPolicy, boolean autoCreateJmsQueues, boolean autoDeleteJmsQueues, boolean autoCreateJmsTopics, boolean autoDeleteJmsTopics) throws Exception
- Specified by:
addAddressSettingsin interfaceActiveMQServerControl- Throws:
Exception
-
addAddressSettings
public void addAddressSettings(String address, String DLA, String expiryAddress, long expiryDelay, boolean defaultLastValueQueue, int maxDeliveryAttempts, long maxSizeBytes, int pageSizeBytes, int pageMaxCacheSize, long redeliveryDelay, double redeliveryMultiplier, long maxRedeliveryDelay, long redistributionDelay, boolean sendToDLAOnNoRoute, String addressFullMessagePolicy, long slowConsumerThreshold, long slowConsumerCheckPeriod, String slowConsumerPolicy, boolean autoCreateJmsQueues, boolean autoDeleteJmsQueues, boolean autoCreateJmsTopics, boolean autoDeleteJmsTopics, boolean autoCreateQueues, boolean autoDeleteQueues, boolean autoCreateAddresses, boolean autoDeleteAddresses) throws Exception
- Specified by:
addAddressSettingsin interfaceActiveMQServerControl- Throws:
Exception
-
addAddressSettings
public void addAddressSettings(String address, String DLA, String expiryAddress, long expiryDelay, boolean defaultLastValueQueue, int maxDeliveryAttempts, long maxSizeBytes, int pageSizeBytes, int pageMaxCacheSize, long redeliveryDelay, double redeliveryMultiplier, long maxRedeliveryDelay, long redistributionDelay, boolean sendToDLAOnNoRoute, String addressFullMessagePolicy, long slowConsumerThreshold, long slowConsumerCheckPeriod, String slowConsumerPolicy, boolean autoCreateJmsQueues, boolean autoDeleteJmsQueues, boolean autoCreateJmsTopics, boolean autoDeleteJmsTopics, boolean autoCreateQueues, boolean autoDeleteQueues, boolean autoCreateAddresses, boolean autoDeleteAddresses, String configDeleteQueues, String configDeleteAddresses, long maxSizeBytesRejectThreshold, String defaultLastValueKey, boolean defaultNonDestructive, boolean defaultExclusiveQueue, boolean defaultGroupRebalance, int defaultGroupBuckets, String defaultGroupFirstKey, int defaultMaxConsumers, boolean defaultPurgeOnNoConsumers, int defaultConsumersBeforeDispatch, long defaultDelayBeforeDispatch, String defaultQueueRoutingType, String defaultAddressRoutingType, int defaultConsumerWindowSize, long defaultRingSize, boolean autoDeleteCreatedQueues, long autoDeleteQueuesDelay, long autoDeleteQueuesMessageCount, long autoDeleteAddressesDelay, double redeliveryCollisionAvoidanceFactor, long retroactiveMessageCount) throws Exception
- Specified by:
addAddressSettingsin interfaceActiveMQServerControl- Throws:
Exception
-
addAddressSettings
public void addAddressSettings(String address, String DLA, String expiryAddress, long expiryDelay, boolean defaultLastValueQueue, int maxDeliveryAttempts, long maxSizeBytes, int pageSizeBytes, int pageMaxCacheSize, long redeliveryDelay, double redeliveryMultiplier, long maxRedeliveryDelay, long redistributionDelay, boolean sendToDLAOnNoRoute, String addressFullMessagePolicy, long slowConsumerThreshold, long slowConsumerCheckPeriod, String slowConsumerPolicy, boolean autoCreateJmsQueues, boolean autoDeleteJmsQueues, boolean autoCreateJmsTopics, boolean autoDeleteJmsTopics, boolean autoCreateQueues, boolean autoDeleteQueues, boolean autoCreateAddresses, boolean autoDeleteAddresses, String configDeleteQueues, String configDeleteAddresses, long maxSizeBytesRejectThreshold, String defaultLastValueKey, boolean defaultNonDestructive, boolean defaultExclusiveQueue, boolean defaultGroupRebalance, int defaultGroupBuckets, String defaultGroupFirstKey, int defaultMaxConsumers, boolean defaultPurgeOnNoConsumers, int defaultConsumersBeforeDispatch, long defaultDelayBeforeDispatch, String defaultQueueRoutingType, String defaultAddressRoutingType, int defaultConsumerWindowSize, long defaultRingSize, boolean autoDeleteCreatedQueues, long autoDeleteQueuesDelay, long autoDeleteQueuesMessageCount, long autoDeleteAddressesDelay, double redeliveryCollisionAvoidanceFactor, long retroactiveMessageCount, boolean autoCreateDeadLetterResources, String deadLetterQueuePrefix, String deadLetterQueueSuffix, boolean autoCreateExpiryResources, String expiryQueuePrefix, String expiryQueueSuffix) throws Exception
- Specified by:
addAddressSettingsin interfaceActiveMQServerControl- Throws:
Exception
-
addAddressSettings
public void addAddressSettings(String address, String DLA, String expiryAddress, long expiryDelay, boolean defaultLastValueQueue, int maxDeliveryAttempts, long maxSizeBytes, int pageSizeBytes, int pageMaxCacheSize, long redeliveryDelay, double redeliveryMultiplier, long maxRedeliveryDelay, long redistributionDelay, boolean sendToDLAOnNoRoute, String addressFullMessagePolicy, long slowConsumerThreshold, long slowConsumerCheckPeriod, String slowConsumerPolicy, boolean autoCreateJmsQueues, boolean autoDeleteJmsQueues, boolean autoCreateJmsTopics, boolean autoDeleteJmsTopics, boolean autoCreateQueues, boolean autoDeleteQueues, boolean autoCreateAddresses, boolean autoDeleteAddresses, String configDeleteQueues, String configDeleteAddresses, long maxSizeBytesRejectThreshold, String defaultLastValueKey, boolean defaultNonDestructive, boolean defaultExclusiveQueue, boolean defaultGroupRebalance, int defaultGroupBuckets, String defaultGroupFirstKey, int defaultMaxConsumers, boolean defaultPurgeOnNoConsumers, int defaultConsumersBeforeDispatch, long defaultDelayBeforeDispatch, String defaultQueueRoutingType, String defaultAddressRoutingType, int defaultConsumerWindowSize, long defaultRingSize, boolean autoDeleteCreatedQueues, long autoDeleteQueuesDelay, long autoDeleteQueuesMessageCount, long autoDeleteAddressesDelay, double redeliveryCollisionAvoidanceFactor, long retroactiveMessageCount, boolean autoCreateDeadLetterResources, String deadLetterQueuePrefix, String deadLetterQueueSuffix, boolean autoCreateExpiryResources, String expiryQueuePrefix, String expiryQueueSuffix, long minExpiryDelay, long maxExpiryDelay, boolean enableMetrics) throws Exception
- Specified by:
addAddressSettingsin interfaceActiveMQServerControl- Throws:
Exception
-
removeAddressSettings
public void removeAddressSettings(String addressMatch) throws Exception
- Specified by:
removeAddressSettingsin interfaceActiveMQServerControl- Throws:
Exception
-
sendQueueInfoToQueue
public void sendQueueInfoToQueue(String queueName, String address) throws Exception
- Throws:
Exception
-
getDivertNames
public String[] getDivertNames()
- Specified by:
getDivertNamesin interfaceActiveMQServerControl
-
createDivert
public void createDivert(String name, String routingName, String address, String forwardingAddress, boolean exclusive, String filterString, String transformerClassName) throws Exception
- Specified by:
createDivertin interfaceActiveMQServerControl- Throws:
Exception
-
createDivert
public void createDivert(String name, String routingName, String address, String forwardingAddress, boolean exclusive, String filterString, String transformerClassName, String routingType) throws Exception
- Specified by:
createDivertin interfaceActiveMQServerControl- Throws:
Exception
-
createDivert
public void createDivert(String name, String routingName, String address, String forwardingAddress, boolean exclusive, String filterString, String transformerClassName, String transformerPropertiesAsJSON, String routingType) throws Exception
- Specified by:
createDivertin interfaceActiveMQServerControl- Throws:
Exception
-
createDivert
public void createDivert(String name, String routingName, String address, String forwardingAddress, boolean exclusive, String filterString, String transformerClassName, Map<String,String> transformerProperties, String routingType) throws Exception
- Specified by:
createDivertin interfaceActiveMQServerControl- Throws:
Exception
-
updateDivert
public void updateDivert(String name, String forwardingAddress, String filterString, String transformerClassName, Map<String,String> transformerProperties, String routingType) throws Exception
- Specified by:
updateDivertin interfaceActiveMQServerControl- Throws:
Exception
-
destroyDivert
public void destroyDivert(String name) throws Exception
- Specified by:
destroyDivertin interfaceActiveMQServerControl- Throws:
Exception
-
getBridgeNames
public String[] getBridgeNames()
- Specified by:
getBridgeNamesin interfaceActiveMQServerControl
-
createBridge
public void createBridge(String name, String queueName, String forwardingAddress, String filterString, String transformerClassName, long retryInterval, double retryIntervalMultiplier, int initialConnectAttempts, int reconnectAttempts, boolean useDuplicateDetection, int confirmationWindowSize, int producerWindowSize, long clientFailureCheckPeriod, String staticConnectorsOrDiscoveryGroup, boolean useDiscoveryGroup, boolean ha, String user, String password) throws Exception
- Specified by:
createBridgein interfaceActiveMQServerControl- Throws:
Exception
-
createBridge
public void createBridge(String name, String queueName, String forwardingAddress, String filterString, String transformerClassName, String transformerPropertiesAsJSON, long retryInterval, double retryIntervalMultiplier, int initialConnectAttempts, int reconnectAttempts, boolean useDuplicateDetection, int confirmationWindowSize, int producerWindowSize, long clientFailureCheckPeriod, String staticConnectorsOrDiscoveryGroup, boolean useDiscoveryGroup, boolean ha, String user, String password) throws Exception
- Specified by:
createBridgein interfaceActiveMQServerControl- Throws:
Exception
-
createBridge
public void createBridge(String name, String queueName, String forwardingAddress, String filterString, String transformerClassName, Map<String,String> transformerProperties, long retryInterval, double retryIntervalMultiplier, int initialConnectAttempts, int reconnectAttempts, boolean useDuplicateDetection, int confirmationWindowSize, int producerWindowSize, long clientFailureCheckPeriod, String staticConnectorsOrDiscoveryGroup, boolean useDiscoveryGroup, boolean ha, String user, String password) throws Exception
- Specified by:
createBridgein interfaceActiveMQServerControl- Throws:
Exception
-
createBridge
public void createBridge(String name, String queueName, String forwardingAddress, String filterString, String transformerClassName, long retryInterval, double retryIntervalMultiplier, int initialConnectAttempts, int reconnectAttempts, boolean useDuplicateDetection, int confirmationWindowSize, long clientFailureCheckPeriod, String staticConnectorsOrDiscoveryGroup, boolean useDiscoveryGroup, boolean ha, String user, String password) throws Exception
- Specified by:
createBridgein interfaceActiveMQServerControl- Throws:
Exception
-
createBridge
public void createBridge(String bridgeConfigurationAsJson) throws Exception
- Specified by:
createBridgein interfaceActiveMQServerControl- Throws:
Exception
-
addConnector
public void addConnector(String name, String url) throws Exception
- Specified by:
addConnectorin interfaceActiveMQServerControl- Throws:
Exception
-
removeConnector
public void removeConnector(String name) throws Exception
- Specified by:
removeConnectorin interfaceActiveMQServerControl- Throws:
Exception
-
listBrokerConnections
public String listBrokerConnections()
- Specified by:
listBrokerConnectionsin interfaceActiveMQServerControl
-
startBrokerConnection
public void startBrokerConnection(String name) throws Exception
- Specified by:
startBrokerConnectionin interfaceActiveMQServerControl- Throws:
Exception
-
stopBrokerConnection
public void stopBrokerConnection(String name) throws Exception
- Specified by:
stopBrokerConnectionin interfaceActiveMQServerControl- Throws:
Exception
-
destroyBridge
public void destroyBridge(String name) throws Exception
- Specified by:
destroyBridgein interfaceActiveMQServerControl- Throws:
Exception
-
createConnectorService
public void createConnectorService(String name, String factoryClass, Map<String,Object> parameters) throws Exception
- Specified by:
createConnectorServicein interfaceActiveMQServerControl- Throws:
Exception
-
destroyConnectorService
public void destroyConnectorService(String name) throws Exception
- Specified by:
destroyConnectorServicein interfaceActiveMQServerControl- Throws:
Exception
-
getConnectorServices
public String[] getConnectorServices()
- Specified by:
getConnectorServicesin interfaceActiveMQServerControl
-
forceFailover
public void forceFailover() throws Exception- Specified by:
forceFailoverin interfaceActiveMQServerControl- Throws:
Exception
-
updateDuplicateIdCache
public void updateDuplicateIdCache(String address, Object[] ids) throws Exception
- Throws:
Exception
-
scaleDown
public void scaleDown(String connector) throws Exception
- Specified by:
scaleDownin interfaceActiveMQServerControl- Throws:
Exception
-
listNetworkTopology
public String listNetworkTopology() throws Exception
- Specified by:
listNetworkTopologyin interfaceActiveMQServerControl- Throws:
Exception
-
removeNotificationListener
public void removeNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback) throws ListenerNotFoundException
- Specified by:
removeNotificationListenerin interfaceNotificationEmitter- Throws:
ListenerNotFoundException
-
removeNotificationListener
public void removeNotificationListener(NotificationListener listener) throws ListenerNotFoundException
- Specified by:
removeNotificationListenerin interfaceNotificationBroadcaster- Throws:
ListenerNotFoundException
-
addNotificationListener
public void addNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback) throws IllegalArgumentException
- Specified by:
addNotificationListenerin interfaceNotificationBroadcaster- Throws:
IllegalArgumentException
-
getNotificationInfo
public MBeanNotificationInfo[] getNotificationInfo()
- Specified by:
getNotificationInfoin interfaceNotificationBroadcaster
-
getConnectionTTLOverride
public long getConnectionTTLOverride()
- Specified by:
getConnectionTTLOverridein interfaceActiveMQServerControl
-
getIDCacheSize
public int getIDCacheSize()
- Specified by:
getIDCacheSizein interfaceActiveMQServerControl
-
getLargeMessagesDirectory
public String getLargeMessagesDirectory()
- Specified by:
getLargeMessagesDirectoryin interfaceActiveMQServerControl
-
getManagementAddress
public String getManagementAddress()
- Specified by:
getManagementAddressin interfaceActiveMQServerControl
-
getNodeID
public String getNodeID()
- Specified by:
getNodeIDin interfaceActiveMQServerControl
-
getActivationSequence
public long getActivationSequence()
- Specified by:
getActivationSequencein interfaceActiveMQServerControl
-
getManagementNotificationAddress
public String getManagementNotificationAddress()
- Specified by:
getManagementNotificationAddressin interfaceActiveMQServerControl
-
getMessageExpiryScanPeriod
public long getMessageExpiryScanPeriod()
- Specified by:
getMessageExpiryScanPeriodin interfaceActiveMQServerControl
-
getMessageExpiryThreadPriority
@Deprecated public long getMessageExpiryThreadPriority()
Deprecated.- Specified by:
getMessageExpiryThreadPriorityin interfaceActiveMQServerControl
-
getTransactionTimeout
public long getTransactionTimeout()
- Specified by:
getTransactionTimeoutin interfaceActiveMQServerControl
-
getTransactionTimeoutScanPeriod
public long getTransactionTimeoutScanPeriod()
- Specified by:
getTransactionTimeoutScanPeriodin interfaceActiveMQServerControl
-
isPersistDeliveryCountBeforeDelivery
public boolean isPersistDeliveryCountBeforeDelivery()
- Specified by:
isPersistDeliveryCountBeforeDeliveryin interfaceActiveMQServerControl
-
isPersistIDCache
public boolean isPersistIDCache()
- Specified by:
isPersistIDCachein interfaceActiveMQServerControl
-
isWildcardRoutingEnabled
public boolean isWildcardRoutingEnabled()
- Specified by:
isWildcardRoutingEnabledin interfaceActiveMQServerControl
-
fillMBeanOperationInfo
protected MBeanOperationInfo[] fillMBeanOperationInfo()
- Specified by:
fillMBeanOperationInfoin classAbstractControl
-
fillMBeanAttributeInfo
protected MBeanAttributeInfo[] fillMBeanAttributeInfo()
- Specified by:
fillMBeanAttributeInfoin classAbstractControl
-
onNotification
public void onNotification(Notification notification)
- Specified by:
onNotificationin interfaceNotificationListener
-
addUser
public void addUser(String username, String password, String roles, boolean plaintext) throws Exception
- Specified by:
addUserin interfaceActiveMQServerControl- Throws:
Exception
-
listUser
public String listUser(String username) throws Exception
- Specified by:
listUserin interfaceActiveMQServerControl- Throws:
Exception
-
removeUser
public void removeUser(String username) throws Exception
- Specified by:
removeUserin interfaceActiveMQServerControl- Throws:
Exception
-
getStatus
public String getStatus()
- Specified by:
getStatusin interfaceActiveMQServerControl
-
resetUser
public void resetUser(String username, String password, String roles, boolean plaintext) throws Exception
- Specified by:
resetUserin interfaceActiveMQServerControl- Throws:
Exception
-
resetUser
public void resetUser(String username, String password, String roles) throws Exception
- Specified by:
resetUserin interfaceActiveMQServerControl- Throws:
Exception
-
reloadConfigurationFile
public void reloadConfigurationFile() throws Exception- Specified by:
reloadConfigurationFilein interfaceActiveMQServerControl- Throws:
Exception
-
replay
public void replay(String address, String target, String filter) throws Exception
- Specified by:
replayin interfaceActiveMQServerControl- Throws:
Exception
-
replay
public void replay(String startScan, String endScan, String address, String target, String filter) throws Exception
- Specified by:
replayin interfaceActiveMQServerControl- Throws:
Exception
-
stopEmbeddedWebServer
public void stopEmbeddedWebServer() throws Exception- Specified by:
stopEmbeddedWebServerin interfaceActiveMQServerControl- Throws:
Exception
-
startEmbeddedWebServer
public void startEmbeddedWebServer() throws Exception- Specified by:
startEmbeddedWebServerin interfaceActiveMQServerControl- Throws:
Exception
-
restartEmbeddedWebServer
public void restartEmbeddedWebServer() throws Exception- Specified by:
restartEmbeddedWebServerin interfaceActiveMQServerControl- Throws:
Exception
-
restartEmbeddedWebServer
public void restartEmbeddedWebServer(long timeout) throws Exception- Specified by:
restartEmbeddedWebServerin interfaceActiveMQServerControl- Throws:
Exception
-
isEmbeddedWebServerStarted
public boolean isEmbeddedWebServerStarted()
- Specified by:
isEmbeddedWebServerStartedin interfaceActiveMQServerControl
-
rebuildPageCounters
public void rebuildPageCounters() throws Exception- Specified by:
rebuildPageCountersin interfaceActiveMQServerControl- Throws:
Exception
-
clearAuthenticationCache
public void clearAuthenticationCache()
- Specified by:
clearAuthenticationCachein interfaceActiveMQServerControl
-
clearAuthorizationCache
public void clearAuthorizationCache()
- Specified by:
clearAuthorizationCachein interfaceActiveMQServerControl
-
-