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 Constructor Description FileJMSConfiguration()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbuildService(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)StringgetRootElement()StringgetSchema()booleanisParsed()protected voidnewConfig(ArrayList<JMSQueueConfiguration> queues, ArrayList<TopicConfiguration> topics, String domain)protected static JMSQueueConfigurationnewQueue(String queueName, String selectorString, boolean durable)protected static TopicConfigurationnewTopic(String topicName)voidparse(Element config, URL url)voidparseConfiguration(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 object-
Methods inherited from class org.apache.activemq.artemis.jms.server.config.impl.JMSConfigurationImpl
getConfigurationUrl, getConnectionFactoryConfigurations, getDomain, getQueueConfigurations, getTopicConfigurations, setConfigurationUrl, setConnectionFactoryConfigurations, setDomain, setQueueConfigurations, setTopicConfigurations
-
-
-
-
Method Detail
-
parse
public void parse(Element config, URL url) throws Exception
- 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
public String 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,org.apache.activemq.artemis.core.server.ActiveMQComponent> components, org.apache.activemq.artemis.core.server.ActivateCallback activateCallback) throws Exception
- Specified by:
buildServicein interfaceorg.apache.activemq.artemis.core.deployers.Deployable- Throws:
Exception
-
getSchema
public String getSchema()
- Specified by:
getSchemain interfaceorg.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
-
newTopic
protected static TopicConfiguration newTopic(String topicName)
- Parameters:
topicName-- Returns:
-
newQueue
protected static JMSQueueConfiguration newQueue(String queueName, String selectorString, boolean durable)
- Parameters:
queueName-selectorString-durable-- Returns:
-
newConfig
protected void newConfig(ArrayList<JMSQueueConfiguration> queues, ArrayList<TopicConfiguration> topics, String domain)
- Parameters:
queues-topics-domain-
-
-