Class 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 Detail

      • FileJMSConfiguration

        public FileJMSConfiguration()
    • Method Detail

      • 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
        Parameters:
        node -
        Returns:
        topic configuration
        Throws:
        Exception
      • parseQueueConfiguration

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

        protected static JMSQueueConfiguration newQueue​(String queueName,
                                                        String selectorString,
                                                        boolean durable)
        Parameters:
        queueName -
        selectorString -
        durable -
        Returns: