public class FileJMSConfiguration extends JMSConfigurationImpl implements org.apache.activemq.artemis.core.deployers.Deployable
Constructor and Description |
---|
FileJMSConfiguration() |
Modifier and Type | Method and Description |
---|---|
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) |
String |
getRootElement() |
String |
getSchema() |
boolean |
isParsed() |
protected void |
newConfig(ArrayList<JMSQueueConfiguration> queues,
ArrayList<TopicConfiguration> topics,
String domain) |
protected static JMSQueueConfiguration |
newQueue(String queueName,
String selectorString,
boolean durable) |
protected static TopicConfiguration |
newTopic(String topicName) |
void |
parse(Element config,
URL url) |
void |
parseConfiguration(Node rootnode)
Parse the JMS Configuration XML
|
static JMSQueueConfiguration |
parseQueueConfiguration(Node node)
Parse the Queue Configuration node as a QueueConfiguration object
|
static TopicConfiguration |
parseTopicConfiguration(Node node)
Parse the topic node as a TopicConfiguration object
|
getConfigurationUrl, getConnectionFactoryConfigurations, getDomain, getQueueConfigurations, getTopicConfigurations, setConfigurationUrl, setConnectionFactoryConfigurations, setDomain, setQueueConfigurations, setTopicConfigurations
public void parse(Element config, URL url) throws Exception
parse
in interface org.apache.activemq.artemis.core.deployers.Deployable
Exception
public boolean isParsed()
isParsed
in interface org.apache.activemq.artemis.core.deployers.Deployable
public String getRootElement()
getRootElement
in interface org.apache.activemq.artemis.core.deployers.Deployable
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
buildService
in interface org.apache.activemq.artemis.core.deployers.Deployable
Exception
public String getSchema()
getSchema
in interface org.apache.activemq.artemis.core.deployers.Deployable
public void parseConfiguration(Node rootnode) throws Exception
Exception
public static TopicConfiguration parseTopicConfiguration(Node node) throws Exception
node
- Exception
public static JMSQueueConfiguration parseQueueConfiguration(Node node) throws Exception
node
- Exception
protected static TopicConfiguration newTopic(String topicName)
topicName
- protected static JMSQueueConfiguration newQueue(String queueName, String selectorString, boolean durable)
queueName
- selectorString
- durable
- protected void newConfig(ArrayList<JMSQueueConfiguration> queues, ArrayList<TopicConfiguration> topics, String domain)
queues
- topics
- domain
- Copyright © 2020 The Apache Software Foundation. All rights reserved.