org.apache.activemq.artemis.jms.server

## Interface JMSServerManager

- All Superinterfaces:
    org.apache.activemq.artemis.core.server.ActiveMQComponent
  All Known Implementing Classes:
    JMSServerManagerImpl

  Deprecated.

      @Deprecated
      public interface JMSServerManager
      extends org.apache.activemq.artemis.core.server.ActiveMQComponent

  The JMS Management interface.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Deprecated Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addAddressSettings(String address, org.apache.activemq.artemis.core.settings.impl.AddressSettings addressSettings)` Deprecated.
    `boolean` | `addConnectionFactoryToBindingRegistry(String name, String binding)` Deprecated.
    `boolean` | `addQueueToBindingRegistry(String queueName, String binding)` Deprecated.
    `void` | `addSecurity(String addressMatch, Set<org.apache.activemq.artemis.core.security.Role> roles)` Deprecated.
    `boolean` | `addTopicToBindingRegistry(String topicName, String binding)` Deprecated.
    `boolean` | `closeConnectionsForAddress(String ipAddress)` Deprecated.
    `boolean` | `closeConnectionsForUser(String address)` Deprecated.
    `boolean` | `closeConsumerConnectionsForAddress(String address)` Deprecated.
    `void` | `createConnectionFactory(boolean storeConfig, ConnectionFactoryConfiguration cfConfig, String... bindings)` Deprecated.
    `void` | `createConnectionFactory(String name, boolean ha, JMSFactoryType cfType, List<String> connectorNames, String... bindings)` Deprecated.
    `void` | `createConnectionFactory(String name, boolean ha, JMSFactoryType cfType, List<String> connectorNames, 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, String loadBalancingPolicyClassName, int transactionBatchSize, int dupsOKBatchSize, boolean useGlobalPools, int scheduledThreadPoolMaxSize, int threadPoolMaxSize, long retryInterval, double retryIntervalMultiplier, long maxRetryInterval, int reconnectAttempts, boolean failoverOnInitialConnection, String groupId, String... bindings)` Deprecated.
    `void` | `createConnectionFactory(String name, boolean ha, JMSFactoryType cfType, String discoveryGroupName, String... bindings)` Deprecated.
    `void` | `createConnectionFactory(String name, boolean ha, JMSFactoryType cfType, String discoveryGroupName, 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, String loadBalancingPolicyClassName, int transactionBatchSize, int dupsOKBatchSize, boolean useGlobalPools, int scheduledThreadPoolMaxSize, int threadPoolMaxSize, long retryInterval, double retryIntervalMultiplier, long maxRetryInterval, int reconnectAttempts, boolean failoverOnInitialConnection, String groupId, String... bindings)` Deprecated.
    `boolean` | `createQueue(boolean storeConfig, String queueName, String selectorString, boolean durable, String... bindings)` Deprecated. Creates a JMS Queue.
    `boolean` | `createQueue(boolean storeConfig, String queueName, String jmsQueueName, String selectorString, boolean durable, String... bindings)` Deprecated. Creates a JMS Queue.
    `boolean` | `createTopic(boolean storeConfig, String address, boolean autoCreated, String... bindings)` Deprecated.
    `boolean` | `createTopic(boolean storeConfig, String address, String... bindings)` Deprecated. Creates a JMS Topic
    `boolean` | `createTopic(boolean storeConfig, String address, String topicName, boolean autoCreated, String... bindings)` Deprecated.
    `boolean` | `createTopic(String address, boolean storeConfig, String topicName, String... bindings)` Deprecated. Creates a JMS Topic
    `boolean` | `destroyConnectionFactory(String name)` Deprecated. destroys a connection factory.
    `boolean` | `destroyQueue(String name)` Deprecated. destroys a queue and removes it from the BindingRegistry
    `boolean` | `destroyQueue(String name, boolean removeConsumers)` Deprecated. destroys a queue and removes it from the BindingRegistry.
    `boolean` | `destroyTopic(String name)` Deprecated. destroys a topic and removes it from theBindingRegistry
    `boolean` | `destroyTopic(String name, boolean removeConsumers)` Deprecated. destroys a topic and removes it from the BindingRegistry
    `org.apache.activemq.artemis.core.server.ActiveMQServer` | `getActiveMQServer()` Deprecated.
    `org.apache.activemq.artemis.core.settings.impl.AddressSettings` | `getAddressSettings(String address)` Deprecated.
    `String[]` | `getBindingsOnConnectionFactory(String factoryName)` Deprecated.
    `String[]` | `getBindingsOnQueue(String queue)` Deprecated.
    `String[]` | `getBindingsOnTopic(String topic)` Deprecated.
    `BindingRegistry` | `getRegistry()` Deprecated.
    `Set<org.apache.activemq.artemis.core.security.Role>` | `getSecurity(String addressMatch)` Deprecated.
    `String` | `getVersion()` Deprecated.
    `boolean` | `isStarted()` Deprecated. Has the Server been started.
    `String[]` | `listConnectionIDs()` Deprecated.
    `String` | `listPreparedTransactionDetailsAsHTML()` Deprecated.
    `String` | `listPreparedTransactionDetailsAsJSON()` Deprecated.
    `String[]` | `listRemoteAddresses()` Deprecated.
    `String[]` | `listRemoteAddresses(String ipAddress)` Deprecated.
    `String[]` | `listSessions(String connectionID)` Deprecated.
    `String` | `listSessionsAsJSON(String connectionID)` Deprecated.
    `ActiveMQConnectionFactory` | `recreateCF(String name, ConnectionFactoryConfiguration cf)` Deprecated. Call this method to have a CF rebound to the Binding Registry and stored on the Journal
    `boolean` | `removeConnectionFactoryFromBindingRegistry(String name)` Deprecated.
    `boolean` | `removeConnectionFactoryFromBindingRegistry(String name, String binding)` Deprecated.
    `boolean` | `removeQueueFromBindingRegistry(String name)` Deprecated. Remove the queue from the BindingRegistry.
    `boolean` | `removeQueueFromBindingRegistry(String name, String binding)` Deprecated. Remove the queue from the BindingRegistry.
    `boolean` | `removeTopicFromBindingRegistry(String name)` Deprecated. Remove the topic from the BindingRegistry.
    `boolean` | `removeTopicFromBindingRegistry(String name, String binding)` Deprecated. Remove the topic from the Binding Registry or BindingRegistry.
    `void` | `setRegistry(BindingRegistry registry)` Deprecated. Set this property if you want JMS resources bound to a registry

    - ### Methods inherited from interface org.apache.activemq.artemis.core.server.ActiveMQComponent

      `start, stop`

- - ### Method Detail

    - #### getVersion

          String getVersion()

      Deprecated.

    - #### isStarted

          boolean isStarted()

      Deprecated.
      Has the Server been started.
      Specified by:
        `isStarted` in interface `org.apache.activemq.artemis.core.server.ActiveMQComponent`
      Returns:
        true if the server us running

    - #### createQueue

          boolean createQueue(boolean storeConfig,
                              String queueName,
                              String selectorString,
                              boolean durable,
                              String... bindings)
                       throws Exception

      Deprecated.
      Creates a JMS Queue.
      Parameters:
        `queueName` - The name of the queue to create
        `selectorString` -
        `durable` -
      Returns:
        true if the queue is created or if it existed and was added to the Binding Registry
      Throws:
        `Exception` - if problems were encountered creating the queue.

    - #### createQueue

          boolean createQueue(boolean storeConfig,
                              String queueName,
                              String jmsQueueName,
                              String selectorString,
                              boolean durable,
                              String... bindings)
                       throws Exception

      Deprecated.
      Creates a JMS Queue.
      Parameters:
        `queueName` - The name of the core queue to create
        `jmsQueueName` - the name of this JMS queue
        `selectorString` -
        `durable` -
      Returns:
        true if the queue is created or if it existed and was added to the Binding Registry
      Throws:
        `Exception` - if problems were encountered creating the queue.

    - #### addTopicToBindingRegistry

          boolean addTopicToBindingRegistry(String topicName,
                                            String binding)
                                     throws Exception

      Deprecated.
      Throws:
        `Exception`

    - #### addQueueToBindingRegistry

          boolean addQueueToBindingRegistry(String queueName,
                                            String binding)
                                     throws Exception

      Deprecated.
      Throws:
        `Exception`

    - #### addConnectionFactoryToBindingRegistry

          boolean addConnectionFactoryToBindingRegistry(String name,
                                                        String binding)
                                                 throws Exception

      Deprecated.
      Throws:
        `Exception`

    - #### createTopic

          boolean createTopic(boolean storeConfig,
                              String address,
                              String... bindings)
                       throws Exception

      Deprecated.
      Creates a JMS Topic
      Parameters:
        `address` - the core addres of thetopic
        `bindings` - 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:
        `Exception` - if a problem occurred creating the topic

    - #### createTopic

          boolean createTopic(String address,
                              boolean storeConfig,
                              String topicName,
                              String... bindings)
                       throws Exception

      Deprecated.
      Creates a JMS Topic
      Parameters:
        `address` - the core addres of thetopic
        `topicName` - the name of the topic
        `bindings` - 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:
        `Exception` - if a problem occurred creating the topic

    - #### createTopic

          boolean createTopic(boolean storeConfig,
                              String address,
                              boolean autoCreated,
                              String... bindings)
                       throws Exception

      Deprecated.
      Parameters:
        `storeConfig` -
        `address` -
        `autoCreated` -
        `bindings` -
      Returns:
      Throws:
        `Exception`

    - #### createTopic

          boolean createTopic(boolean storeConfig,
                              String address,
                              String topicName,
                              boolean autoCreated,
                              String... bindings)
                       throws Exception

      Deprecated.
      Parameters:
        `storeConfig` -
        `address` -
        `topicName` -
        `autoCreated` -
        `bindings` -
      Returns:
      Throws:
        `Exception`

    - #### removeTopicFromBindingRegistry

          boolean removeTopicFromBindingRegistry(String name,
                                                 String binding)
                                          throws Exception

      Deprecated.
      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:
        `Exception` - if a problem occurred removing the destination

    - #### removeTopicFromBindingRegistry

          boolean removeTopicFromBindingRegistry(String name)
                                          throws Exception

      Deprecated.
      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:
        `Exception` - if a problem occurred removing the destination

    - #### removeQueueFromBindingRegistry

          boolean removeQueueFromBindingRegistry(String name,
                                                 String binding)
                                          throws Exception

      Deprecated.
      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:
        `Exception` - if a problem occurred removing the destination

    - #### removeQueueFromBindingRegistry

          boolean removeQueueFromBindingRegistry(String name)
                                          throws Exception

      Deprecated.
      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:
        `Exception` - if a problem occurred removing the destination

    - #### removeConnectionFactoryFromBindingRegistry

          boolean removeConnectionFactoryFromBindingRegistry(String name,
                                                             String binding)
                                                      throws Exception

      Deprecated.
      Throws:
        `Exception`

    - #### removeConnectionFactoryFromBindingRegistry

          boolean removeConnectionFactoryFromBindingRegistry(String name)
                                                      throws Exception

      Deprecated.
      Throws:
        `Exception`

    - #### destroyQueue

          boolean destroyQueue(String name)
                        throws Exception

      Deprecated.
      destroys a queue and removes it from the BindingRegistry
      Parameters:
        `name` - the name of the queue to destroy
      Returns:
        true if destroyed
      Throws:
        `Exception` - if a problem occurred destroying the queue

    - #### destroyQueue

          boolean destroyQueue(String name,
                               boolean removeConsumers)
                        throws Exception

      Deprecated.
      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:
        `Exception` - if a problem occurred destroying the queue

    - #### getBindingsOnQueue

          String[] getBindingsOnQueue(String queue)

      Deprecated.

    - #### getBindingsOnTopic

          String[] getBindingsOnTopic(String topic)

      Deprecated.

    - #### getBindingsOnConnectionFactory

          String[] getBindingsOnConnectionFactory(String factoryName)

      Deprecated.

    - #### destroyTopic

          boolean destroyTopic(String name,
                               boolean removeConsumers)
                        throws Exception

      Deprecated.
      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:
        `Exception` - if a problem occurred destroying the topic

    - #### destroyTopic

          boolean destroyTopic(String name)
                        throws Exception

      Deprecated.
      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:
        `Exception` - if a problem occurred destroying the topic

    - #### recreateCF

          ActiveMQConnectionFactory recreateCF(String name,
                                               ConnectionFactoryConfiguration cf)
                                        throws Exception

      Deprecated.
      Call this method to have a CF rebound to the Binding Registry and stored on the Journal
      Throws:
        `Exception`

    - #### createConnectionFactory

          void createConnectionFactory(String name,
                                       boolean ha,
                                       JMSFactoryType cfType,
                                       String discoveryGroupName,
                                       String... bindings)
                                throws Exception

      Deprecated.
      Throws:
        `Exception`

    - #### createConnectionFactory

          void createConnectionFactory(String name,
                                       boolean ha,
                                       JMSFactoryType cfType,
                                       List<String> connectorNames,
                                       String... bindings)
                                throws Exception

      Deprecated.
      Throws:
        `Exception`

    - #### createConnectionFactory

          void createConnectionFactory(String name,
                                       boolean ha,
                                       JMSFactoryType cfType,
                                       List<String> connectorNames,
                                       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,
                                       String loadBalancingPolicyClassName,
                                       int transactionBatchSize,
                                       int dupsOKBatchSize,
                                       boolean useGlobalPools,
                                       int scheduledThreadPoolMaxSize,
                                       int threadPoolMaxSize,
                                       long retryInterval,
                                       double retryIntervalMultiplier,
                                       long maxRetryInterval,
                                       int reconnectAttempts,
                                       boolean failoverOnInitialConnection,
                                       String groupId,
                                       String... bindings)
                                throws Exception

      Deprecated.
      Throws:
        `Exception`

    - #### createConnectionFactory

          void createConnectionFactory(String name,
                                       boolean ha,
                                       JMSFactoryType cfType,
                                       String discoveryGroupName,
                                       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,
                                       String loadBalancingPolicyClassName,
                                       int transactionBatchSize,
                                       int dupsOKBatchSize,
                                       boolean useGlobalPools,
                                       int scheduledThreadPoolMaxSize,
                                       int threadPoolMaxSize,
                                       long retryInterval,
                                       double retryIntervalMultiplier,
                                       long maxRetryInterval,
                                       int reconnectAttempts,
                                       boolean failoverOnInitialConnection,
                                       String groupId,
                                       String... bindings)
                                throws Exception

      Deprecated.
      Throws:
        `Exception`

    - #### createConnectionFactory

          void createConnectionFactory(boolean storeConfig,
                                       ConnectionFactoryConfiguration cfConfig,
                                       String... bindings)
                                throws Exception

      Deprecated.
      Throws:
        `Exception`

    - #### destroyConnectionFactory

          boolean destroyConnectionFactory(String name)
                                    throws Exception

      Deprecated.
      destroys a connection factory.
      Parameters:
        `name` - the name of the connection factory to destroy
      Returns:
        true if the connection factory was destroyed
      Throws:
        `Exception` - if a problem occurred destroying the connection factory

    - #### listRemoteAddresses

          String[] listRemoteAddresses()
                                throws Exception

      Deprecated.
      Throws:
        `Exception`

    - #### listRemoteAddresses

          String[] listRemoteAddresses(String ipAddress)
                                throws Exception

      Deprecated.
      Throws:
        `Exception`

    - #### closeConnectionsForAddress

          boolean closeConnectionsForAddress(String ipAddress)
                                      throws Exception

      Deprecated.
      Throws:
        `Exception`

    - #### closeConsumerConnectionsForAddress

          boolean closeConsumerConnectionsForAddress(String address)
                                              throws Exception

      Deprecated.
      Throws:
        `Exception`

    - #### closeConnectionsForUser

          boolean closeConnectionsForUser(String address)
                                   throws Exception

      Deprecated.
      Throws:
        `Exception`

    - #### listConnectionIDs

          String[] listConnectionIDs()
                              throws Exception

      Deprecated.
      Throws:
        `Exception`

    - #### listSessions

          String[] listSessions(String connectionID)
                         throws Exception

      Deprecated.
      Throws:
        `Exception`

    - #### listSessionsAsJSON

          String listSessionsAsJSON(String connectionID)
                             throws Exception

      Deprecated.
      Throws:
        `Exception`

    - #### listPreparedTransactionDetailsAsJSON

          String listPreparedTransactionDetailsAsJSON()
                                               throws Exception

      Deprecated.
      Throws:
        `Exception`

    - #### listPreparedTransactionDetailsAsHTML

          String listPreparedTransactionDetailsAsHTML()
                                               throws Exception

      Deprecated.
      Throws:
        `Exception`

    - #### getActiveMQServer

          org.apache.activemq.artemis.core.server.ActiveMQServer getActiveMQServer()

      Deprecated.

    - #### addAddressSettings

          void addAddressSettings(String address,
                                  org.apache.activemq.artemis.core.settings.impl.AddressSettings addressSettings)

      Deprecated.

    - #### getAddressSettings

          org.apache.activemq.artemis.core.settings.impl.AddressSettings getAddressSettings(String address)

      Deprecated.

    - #### addSecurity

          void addSecurity(String addressMatch,
                           Set<org.apache.activemq.artemis.core.security.Role> roles)

      Deprecated.

    - #### getSecurity

          Set<org.apache.activemq.artemis.core.security.Role> getSecurity(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` -

Copyright © 2019 The Apache Software Foundation. All rights reserved.