Class FileJMSConfiguration

java.lang.Object
org.apache.activemq.artemis.jms.server.config.impl.JMSConfigurationImpl
org.apache.activemq.artemis.jms.server.config.impl.FileJMSConfiguration
All Implemented Interfaces:
org.apache.activemq.artemis.core.deployers.Deployable, JMSConfiguration

public class FileJMSConfiguration extends JMSConfigurationImpl implements org.apache.activemq.artemis.core.deployers.Deployable
  • Constructor Details

    • FileJMSConfiguration

      public FileJMSConfiguration()
  • Method Details

    • parse

      public void parse(Element config, URL url) throws Exception
      Specified by:
      parse in interface org.apache.activemq.artemis.core.deployers.Deployable
      Throws:
      Exception
    • isParsed

      public boolean isParsed()
      Specified by:
      isParsed in interface org.apache.activemq.artemis.core.deployers.Deployable
    • getRootElement

      public String getRootElement()
      Specified by:
      getRootElement in interface org.apache.activemq.artemis.core.deployers.Deployable
    • buildService

      public void buildService(ActiveMQSecurityManager securityManager, MBeanServer mBeanServer, Map<String,org.apache.activemq.artemis.core.deployers.Deployable> deployables, Map<String,org.apache.activemq.artemis.core.server.ActiveMQComponent> components, org.apache.activemq.artemis.core.server.ActivateCallback activateCallback) throws Exception
      Specified by:
      buildService in interface org.apache.activemq.artemis.core.deployers.Deployable
      Throws:
      Exception
    • getSchema

      public String getSchema()
      Specified by:
      getSchema in interface org.apache.activemq.artemis.core.deployers.Deployable
    • parseConfiguration

      public void parseConfiguration(Node rootnode) throws Exception
      Parse the JMS Configuration XML
      Throws:
      Exception
    • parseTopicConfiguration

      public static TopicConfiguration parseTopicConfiguration(Node node) throws Exception
      Parse the topic node as a TopicConfiguration object
      Returns:
      topic configuration
      Throws:
      Exception
    • parseQueueConfiguration

      public static JMSQueueConfiguration parseQueueConfiguration(Node node) throws Exception
      Parse the Queue Configuration node as a QueueConfiguration object
      Returns:
      jms queue configuration
      Throws:
      Exception
    • newTopic

      protected static TopicConfiguration newTopic(String topicName)
    • newQueue

      protected static JMSQueueConfiguration newQueue(String queueName, String selectorString, boolean durable)
    • newConfig

      protected void newConfig(List<JMSQueueConfiguration> queues, List<TopicConfiguration> topics, String domain)