Interface JMSServerManager
-
- All Superinterfaces:
org.apache.activemq.artemis.core.server.ActiveMQComponent
- All Known Implementing Classes:
JMSServerManagerImpl
@Deprecated public interface JMSServerManager extends org.apache.activemq.artemis.core.server.ActiveMQComponentDeprecated.The JMS Management interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description voidaddAddressSettings(java.lang.String address, org.apache.activemq.artemis.core.settings.impl.AddressSettings addressSettings)Deprecated.booleanaddConnectionFactoryToBindingRegistry(java.lang.String name, java.lang.String binding)Deprecated.booleanaddQueueToBindingRegistry(java.lang.String queueName, java.lang.String binding)Deprecated.voidaddSecurity(java.lang.String addressMatch, java.util.Set<org.apache.activemq.artemis.core.security.Role> roles)Deprecated.booleanaddTopicToBindingRegistry(java.lang.String topicName, java.lang.String binding)Deprecated.booleancloseConnectionsForAddress(java.lang.String ipAddress)Deprecated.booleancloseConnectionsForUser(java.lang.String address)Deprecated.booleancloseConsumerConnectionsForAddress(java.lang.String address)Deprecated.voidcreateConnectionFactory(boolean storeConfig, ConnectionFactoryConfiguration cfConfig, java.lang.String... bindings)Deprecated.voidcreateConnectionFactory(java.lang.String name, boolean ha, JMSFactoryType cfType, java.lang.String discoveryGroupName, java.lang.String... bindings)Deprecated.voidcreateConnectionFactory(java.lang.String name, boolean ha, JMSFactoryType cfType, java.lang.String discoveryGroupName, java.lang.String clientID, long clientFailureCheckPeriod, long connectionTTL, long callTimeout, long callFailoverTimeout, boolean cacheLargeMessagesClient, int minLargeMessageSize, boolean compressLargeMessages, int consumerWindowSize, int consumerMaxRate, int confirmationWindowSize, int producerWindowSize, int producerMaxRate, boolean blockOnAcknowledge, boolean blockOnDurableSend, boolean blockOnNonDurableSend, boolean autoGroup, boolean preAcknowledge, java.lang.String loadBalancingPolicyClassName, int transactionBatchSize, int dupsOKBatchSize, boolean useGlobalPools, int scheduledThreadPoolMaxSize, int threadPoolMaxSize, long retryInterval, double retryIntervalMultiplier, long maxRetryInterval, int reconnectAttempts, boolean failoverOnInitialConnection, java.lang.String groupId, java.lang.String... bindings)Deprecated.voidcreateConnectionFactory(java.lang.String name, boolean ha, JMSFactoryType cfType, java.util.List<java.lang.String> connectorNames, java.lang.String... bindings)Deprecated.voidcreateConnectionFactory(java.lang.String name, boolean ha, JMSFactoryType cfType, java.util.List<java.lang.String> connectorNames, java.lang.String clientID, long clientFailureCheckPeriod, long connectionTTL, long callTimeout, long callFailoverTimeout, boolean cacheLargeMessagesClient, int minLargeMessageSize, boolean compressLargeMessage, int consumerWindowSize, int consumerMaxRate, int confirmationWindowSize, int producerWindowSize, int producerMaxRate, boolean blockOnAcknowledge, boolean blockOnDurableSend, boolean blockOnNonDurableSend, boolean autoGroup, boolean preAcknowledge, java.lang.String loadBalancingPolicyClassName, int transactionBatchSize, int dupsOKBatchSize, boolean useGlobalPools, int scheduledThreadPoolMaxSize, int threadPoolMaxSize, long retryInterval, double retryIntervalMultiplier, long maxRetryInterval, int reconnectAttempts, boolean failoverOnInitialConnection, java.lang.String groupId, java.lang.String... bindings)Deprecated.booleancreateQueue(boolean storeConfig, java.lang.String queueName, java.lang.String selectorString, boolean durable, java.lang.String... bindings)Deprecated.Creates a JMS Queue.booleancreateQueue(boolean storeConfig, java.lang.String queueName, java.lang.String jmsQueueName, java.lang.String selectorString, boolean durable, java.lang.String... bindings)Deprecated.Creates a JMS Queue.booleancreateTopic(boolean storeConfig, java.lang.String address, boolean autoCreated, java.lang.String... bindings)Deprecated.booleancreateTopic(boolean storeConfig, java.lang.String address, java.lang.String... bindings)Deprecated.Creates a JMS TopicbooleancreateTopic(boolean storeConfig, java.lang.String address, java.lang.String topicName, boolean autoCreated, java.lang.String... bindings)Deprecated.booleancreateTopic(java.lang.String address, boolean storeConfig, java.lang.String topicName, java.lang.String... bindings)Deprecated.Creates a JMS TopicbooleandestroyConnectionFactory(java.lang.String name)Deprecated.destroys a connection factory.booleandestroyQueue(java.lang.String name)Deprecated.destroys a queue and removes it from the BindingRegistrybooleandestroyQueue(java.lang.String name, boolean removeConsumers)Deprecated.destroys a queue and removes it from the BindingRegistry.booleandestroyTopic(java.lang.String name)Deprecated.destroys a topic and removes it from theBindingRegistrybooleandestroyTopic(java.lang.String name, boolean removeConsumers)Deprecated.destroys a topic and removes it from the BindingRegistryorg.apache.activemq.artemis.core.server.ActiveMQServergetActiveMQServer()Deprecated.org.apache.activemq.artemis.core.settings.impl.AddressSettingsgetAddressSettings(java.lang.String address)Deprecated.java.lang.String[]getBindingsOnConnectionFactory(java.lang.String factoryName)Deprecated.java.lang.String[]getBindingsOnQueue(java.lang.String queue)Deprecated.java.lang.String[]getBindingsOnTopic(java.lang.String topic)Deprecated.BindingRegistrygetRegistry()Deprecated.java.util.Set<org.apache.activemq.artemis.core.security.Role>getSecurity(java.lang.String addressMatch)Deprecated.java.lang.StringgetVersion()Deprecated.booleanisStarted()Deprecated.Has the Server been started.java.lang.String[]listConnectionIDs()Deprecated.java.lang.StringlistPreparedTransactionDetailsAsHTML()Deprecated.java.lang.StringlistPreparedTransactionDetailsAsJSON()Deprecated.java.lang.String[]listRemoteAddresses()Deprecated.java.lang.String[]listRemoteAddresses(java.lang.String ipAddress)Deprecated.java.lang.String[]listSessions(java.lang.String connectionID)Deprecated.java.lang.StringlistSessionsAsJSON(java.lang.String connectionID)Deprecated.ActiveMQConnectionFactoryrecreateCF(java.lang.String name, ConnectionFactoryConfiguration cf)Deprecated.Call this method to have a CF rebound to the Binding Registry and stored on the JournalbooleanremoveConnectionFactoryFromBindingRegistry(java.lang.String name)Deprecated.booleanremoveConnectionFactoryFromBindingRegistry(java.lang.String name, java.lang.String binding)Deprecated.booleanremoveQueueFromBindingRegistry(java.lang.String name)Deprecated.Remove the queue from the BindingRegistry.booleanremoveQueueFromBindingRegistry(java.lang.String name, java.lang.String binding)Deprecated.Remove the queue from the BindingRegistry.booleanremoveTopicFromBindingRegistry(java.lang.String name)Deprecated.Remove the topic from the BindingRegistry.booleanremoveTopicFromBindingRegistry(java.lang.String name, java.lang.String binding)Deprecated.Remove the topic from the Binding Registry or BindingRegistry.voidsetRegistry(BindingRegistry registry)Deprecated.Set this property if you want JMS resources bound to a registry
-
-
-
Method Detail
-
getVersion
java.lang.String getVersion()
Deprecated.
-
isStarted
boolean isStarted()
Deprecated.Has the Server been started.- Specified by:
isStartedin interfaceorg.apache.activemq.artemis.core.server.ActiveMQComponent- Returns:
- true if the server us running
-
createQueue
boolean createQueue(boolean storeConfig, java.lang.String queueName, java.lang.String selectorString, boolean durable, java.lang.String... bindings) throws java.lang.ExceptionDeprecated.Creates a JMS Queue.- Parameters:
queueName- The name of the queue to createselectorString-durable-- Returns:
- true if the queue is created or if it existed and was added to the Binding Registry
- Throws:
java.lang.Exception- if problems were encountered creating the queue.
-
createQueue
boolean createQueue(boolean storeConfig, java.lang.String queueName, java.lang.String jmsQueueName, java.lang.String selectorString, boolean durable, java.lang.String... bindings) throws java.lang.ExceptionDeprecated.Creates a JMS Queue.- Parameters:
queueName- The name of the core queue to createjmsQueueName- the name of this JMS queueselectorString-durable-- Returns:
- true if the queue is created or if it existed and was added to the Binding Registry
- Throws:
java.lang.Exception- if problems were encountered creating the queue.
-
addTopicToBindingRegistry
boolean addTopicToBindingRegistry(java.lang.String topicName, java.lang.String binding) throws java.lang.ExceptionDeprecated.- Throws:
java.lang.Exception
-
addQueueToBindingRegistry
boolean addQueueToBindingRegistry(java.lang.String queueName, java.lang.String binding) throws java.lang.ExceptionDeprecated.- Throws:
java.lang.Exception
-
addConnectionFactoryToBindingRegistry
boolean addConnectionFactoryToBindingRegistry(java.lang.String name, java.lang.String binding) throws java.lang.ExceptionDeprecated.- Throws:
java.lang.Exception
-
createTopic
boolean createTopic(boolean storeConfig, java.lang.String address, java.lang.String... bindings) throws java.lang.ExceptionDeprecated.Creates a JMS Topic- Parameters:
address- the core addres of thetopicbindings- the names of the binding for the Binding Registry or BindingRegistry- Returns:
- true if the topic was created or if it existed and was added to the Binding Registry
- Throws:
java.lang.Exception- if a problem occurred creating the topic
-
createTopic
boolean createTopic(java.lang.String address, boolean storeConfig, java.lang.String topicName, java.lang.String... bindings) throws java.lang.ExceptionDeprecated.Creates a JMS Topic- Parameters:
address- the core addres of thetopictopicName- the name of the topicbindings- the names of the binding for the Binding Registry or BindingRegistry- Returns:
- true if the topic was created or if it existed and was added to the Binding Registry
- Throws:
java.lang.Exception- if a problem occurred creating the topic
-
createTopic
boolean createTopic(boolean storeConfig, java.lang.String address, boolean autoCreated, java.lang.String... bindings) throws java.lang.ExceptionDeprecated.- Parameters:
storeConfig-address-autoCreated-bindings-- Returns:
- Throws:
java.lang.Exception
-
createTopic
boolean createTopic(boolean storeConfig, java.lang.String address, java.lang.String topicName, boolean autoCreated, java.lang.String... bindings) throws java.lang.ExceptionDeprecated.- Parameters:
storeConfig-address-topicName-autoCreated-bindings-- Returns:
- Throws:
java.lang.Exception
-
removeTopicFromBindingRegistry
boolean removeTopicFromBindingRegistry(java.lang.String name, java.lang.String binding) throws java.lang.ExceptionDeprecated.Remove the topic from the Binding Registry or BindingRegistry. Calling this method does not destroy the destination.- Parameters:
name- the name of the destination to remove from the BindingRegistry- Returns:
- true if removed
- Throws:
java.lang.Exception- if a problem occurred removing the destination
-
removeTopicFromBindingRegistry
boolean removeTopicFromBindingRegistry(java.lang.String name) throws java.lang.ExceptionDeprecated.Remove the topic from the BindingRegistry. Calling this method does not destroy the destination.- Parameters:
name- the name of the destination to remove from the BindingRegistry- Returns:
- true if removed
- Throws:
java.lang.Exception- if a problem occurred removing the destination
-
removeQueueFromBindingRegistry
boolean removeQueueFromBindingRegistry(java.lang.String name, java.lang.String binding) throws java.lang.ExceptionDeprecated.Remove the queue from the BindingRegistry. Calling this method does not destroy the destination.- Parameters:
name- the name of the destination to remove from the BindingRegistry- Returns:
- true if removed
- Throws:
java.lang.Exception- if a problem occurred removing the destination
-
removeQueueFromBindingRegistry
boolean removeQueueFromBindingRegistry(java.lang.String name) throws java.lang.ExceptionDeprecated.Remove the queue from the BindingRegistry. Calling this method does not destroy the destination.- Parameters:
name- the name of the destination to remove from the BindingRegistry- Returns:
- true if removed
- Throws:
java.lang.Exception- if a problem occurred removing the destination
-
removeConnectionFactoryFromBindingRegistry
boolean removeConnectionFactoryFromBindingRegistry(java.lang.String name, java.lang.String binding) throws java.lang.ExceptionDeprecated.- Throws:
java.lang.Exception
-
removeConnectionFactoryFromBindingRegistry
boolean removeConnectionFactoryFromBindingRegistry(java.lang.String name) throws java.lang.ExceptionDeprecated.- Throws:
java.lang.Exception
-
destroyQueue
boolean destroyQueue(java.lang.String name) throws java.lang.ExceptionDeprecated.destroys a queue and removes it from the BindingRegistry- Parameters:
name- the name of the queue to destroy- Returns:
- true if destroyed
- Throws:
java.lang.Exception- if a problem occurred destroying the queue
-
destroyQueue
boolean destroyQueue(java.lang.String name, boolean removeConsumers) throws java.lang.ExceptionDeprecated.destroys a queue and removes it from the BindingRegistry. disconnects any consumers connected to the queue.- Parameters:
name- the name of the queue to destroy- Returns:
- true if destroyed
- Throws:
java.lang.Exception- if a problem occurred destroying the queue
-
getBindingsOnQueue
java.lang.String[] getBindingsOnQueue(java.lang.String queue)
Deprecated.
-
getBindingsOnTopic
java.lang.String[] getBindingsOnTopic(java.lang.String topic)
Deprecated.
-
getBindingsOnConnectionFactory
java.lang.String[] getBindingsOnConnectionFactory(java.lang.String factoryName)
Deprecated.
-
destroyTopic
boolean destroyTopic(java.lang.String name, boolean removeConsumers) throws java.lang.ExceptionDeprecated.destroys a topic and removes it from the BindingRegistry- Parameters:
name- the name of the topic to destroy- Returns:
- true if the topic was destroyed
- Throws:
java.lang.Exception- if a problem occurred destroying the topic
-
destroyTopic
boolean destroyTopic(java.lang.String name) throws java.lang.ExceptionDeprecated.destroys a topic and removes it from theBindingRegistry- Parameters:
name- the name of the topic to destroy- Returns:
- true if the topic was destroyed
- Throws:
java.lang.Exception- if a problem occurred destroying the topic
-
recreateCF
ActiveMQConnectionFactory recreateCF(java.lang.String name, ConnectionFactoryConfiguration cf) throws java.lang.Exception
Deprecated.Call this method to have a CF rebound to the Binding Registry and stored on the Journal- Throws:
java.lang.Exception
-
createConnectionFactory
void createConnectionFactory(java.lang.String name, boolean ha, JMSFactoryType cfType, java.lang.String discoveryGroupName, java.lang.String... bindings) throws java.lang.ExceptionDeprecated.- Throws:
java.lang.Exception
-
createConnectionFactory
void createConnectionFactory(java.lang.String name, boolean ha, JMSFactoryType cfType, java.util.List<java.lang.String> connectorNames, java.lang.String... bindings) throws java.lang.ExceptionDeprecated.- Throws:
java.lang.Exception
-
createConnectionFactory
void createConnectionFactory(java.lang.String name, boolean ha, JMSFactoryType cfType, java.util.List<java.lang.String> connectorNames, java.lang.String clientID, long clientFailureCheckPeriod, long connectionTTL, long callTimeout, long callFailoverTimeout, boolean cacheLargeMessagesClient, int minLargeMessageSize, boolean compressLargeMessage, int consumerWindowSize, int consumerMaxRate, int confirmationWindowSize, int producerWindowSize, int producerMaxRate, boolean blockOnAcknowledge, boolean blockOnDurableSend, boolean blockOnNonDurableSend, boolean autoGroup, boolean preAcknowledge, java.lang.String loadBalancingPolicyClassName, int transactionBatchSize, int dupsOKBatchSize, boolean useGlobalPools, int scheduledThreadPoolMaxSize, int threadPoolMaxSize, long retryInterval, double retryIntervalMultiplier, long maxRetryInterval, int reconnectAttempts, boolean failoverOnInitialConnection, java.lang.String groupId, java.lang.String... bindings) throws java.lang.ExceptionDeprecated.- Throws:
java.lang.Exception
-
createConnectionFactory
void createConnectionFactory(java.lang.String name, boolean ha, JMSFactoryType cfType, java.lang.String discoveryGroupName, java.lang.String clientID, long clientFailureCheckPeriod, long connectionTTL, long callTimeout, long callFailoverTimeout, boolean cacheLargeMessagesClient, int minLargeMessageSize, boolean compressLargeMessages, int consumerWindowSize, int consumerMaxRate, int confirmationWindowSize, int producerWindowSize, int producerMaxRate, boolean blockOnAcknowledge, boolean blockOnDurableSend, boolean blockOnNonDurableSend, boolean autoGroup, boolean preAcknowledge, java.lang.String loadBalancingPolicyClassName, int transactionBatchSize, int dupsOKBatchSize, boolean useGlobalPools, int scheduledThreadPoolMaxSize, int threadPoolMaxSize, long retryInterval, double retryIntervalMultiplier, long maxRetryInterval, int reconnectAttempts, boolean failoverOnInitialConnection, java.lang.String groupId, java.lang.String... bindings) throws java.lang.ExceptionDeprecated.- Throws:
java.lang.Exception
-
createConnectionFactory
void createConnectionFactory(boolean storeConfig, ConnectionFactoryConfiguration cfConfig, java.lang.String... bindings) throws java.lang.ExceptionDeprecated.- Throws:
java.lang.Exception
-
destroyConnectionFactory
boolean destroyConnectionFactory(java.lang.String name) throws java.lang.ExceptionDeprecated.destroys a connection factory.- Parameters:
name- the name of the connection factory to destroy- Returns:
- true if the connection factory was destroyed
- Throws:
java.lang.Exception- if a problem occurred destroying the connection factory
-
listRemoteAddresses
java.lang.String[] listRemoteAddresses() throws java.lang.ExceptionDeprecated.- Throws:
java.lang.Exception
-
listRemoteAddresses
java.lang.String[] listRemoteAddresses(java.lang.String ipAddress) throws java.lang.ExceptionDeprecated.- Throws:
java.lang.Exception
-
closeConnectionsForAddress
boolean closeConnectionsForAddress(java.lang.String ipAddress) throws java.lang.ExceptionDeprecated.- Throws:
java.lang.Exception
-
closeConsumerConnectionsForAddress
boolean closeConsumerConnectionsForAddress(java.lang.String address) throws java.lang.ExceptionDeprecated.- Throws:
java.lang.Exception
-
closeConnectionsForUser
boolean closeConnectionsForUser(java.lang.String address) throws java.lang.ExceptionDeprecated.- Throws:
java.lang.Exception
-
listConnectionIDs
java.lang.String[] listConnectionIDs() throws java.lang.ExceptionDeprecated.- Throws:
java.lang.Exception
-
listSessions
java.lang.String[] listSessions(java.lang.String connectionID) throws java.lang.ExceptionDeprecated.- Throws:
java.lang.Exception
-
listSessionsAsJSON
java.lang.String listSessionsAsJSON(java.lang.String connectionID) throws java.lang.ExceptionDeprecated.- Throws:
java.lang.Exception
-
listPreparedTransactionDetailsAsJSON
java.lang.String listPreparedTransactionDetailsAsJSON() throws java.lang.ExceptionDeprecated.- Throws:
java.lang.Exception
-
listPreparedTransactionDetailsAsHTML
@Deprecated java.lang.String listPreparedTransactionDetailsAsHTML() throws java.lang.ExceptionDeprecated.- Throws:
java.lang.Exception
-
getActiveMQServer
org.apache.activemq.artemis.core.server.ActiveMQServer getActiveMQServer()
Deprecated.
-
addAddressSettings
void addAddressSettings(java.lang.String address, org.apache.activemq.artemis.core.settings.impl.AddressSettings addressSettings)Deprecated.
-
getAddressSettings
org.apache.activemq.artemis.core.settings.impl.AddressSettings getAddressSettings(java.lang.String address)
Deprecated.
-
addSecurity
void addSecurity(java.lang.String addressMatch, java.util.Set<org.apache.activemq.artemis.core.security.Role> roles)Deprecated.
-
getSecurity
java.util.Set<org.apache.activemq.artemis.core.security.Role> getSecurity(java.lang.String addressMatch)
Deprecated.
-
getRegistry
BindingRegistry getRegistry()
Deprecated.
-
setRegistry
void setRegistry(BindingRegistry registry)
Deprecated.Set this property if you want JMS resources bound to a registry- Parameters:
registry-
-
-