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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbuildService(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) booleanisParsed()protected voidnewConfig(List<JMSQueueConfiguration> queues, List<TopicConfiguration> topics, String domain) protected static JMSQueueConfigurationprotected static TopicConfigurationvoidvoidparseConfiguration(Node rootnode) Parse the JMS Configuration XMLstatic JMSQueueConfigurationparseQueueConfiguration(Node node) Parse the Queue Configuration node as a QueueConfiguration objectstatic TopicConfigurationparseTopicConfiguration(Node node) Parse the topic node as a TopicConfiguration objectMethods inherited from class org.apache.activemq.artemis.jms.server.config.impl.JMSConfigurationImpl
getConfigurationUrl, getConnectionFactoryConfigurations, getDomain, getQueueConfigurations, getTopicConfigurations, setConfigurationUrl, setConnectionFactoryConfigurations, setDomain, setQueueConfigurations, setTopicConfigurations
-
Constructor Details
-
FileJMSConfiguration
public FileJMSConfiguration()
-
-
Method Details
-
parse
- Specified by:
parsein interfaceorg.apache.activemq.artemis.core.deployers.Deployable- Throws:
Exception
-
isParsed
public boolean isParsed()- Specified by:
isParsedin interfaceorg.apache.activemq.artemis.core.deployers.Deployable
-
getRootElement
- Specified by:
getRootElementin interfaceorg.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, throws Exceptionorg.apache.activemq.artemis.core.server.ActiveMQComponent> components, org.apache.activemq.artemis.core.server.ActivateCallback activateCallback) - Specified by:
buildServicein interfaceorg.apache.activemq.artemis.core.deployers.Deployable- Throws:
Exception
-
getSchema
- Specified by:
getSchemain interfaceorg.apache.activemq.artemis.core.deployers.Deployable
-
parseConfiguration
Parse the JMS Configuration XML- Throws:
Exception
-
parseTopicConfiguration
Parse the topic node as a TopicConfiguration object- Returns:
- topic configuration
- Throws:
Exception
-
parseQueueConfiguration
Parse the Queue Configuration node as a QueueConfiguration object- Returns:
- jms queue configuration
- Throws:
Exception
-
newTopic
-
newQueue
protected static JMSQueueConfiguration newQueue(String queueName, String selectorString, boolean durable) -
newConfig
protected void newConfig(List<JMSQueueConfiguration> queues, List<TopicConfiguration> topics, String domain)
-