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, setTopicConfigurationspublic void parse(Element config, URL url) throws Exception
parse in interface org.apache.activemq.artemis.core.deployers.DeployableExceptionpublic boolean isParsed()
isParsed in interface org.apache.activemq.artemis.core.deployers.Deployablepublic String getRootElement()
getRootElement in interface org.apache.activemq.artemis.core.deployers.Deployablepublic 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.DeployableExceptionpublic String getSchema()
getSchema in interface org.apache.activemq.artemis.core.deployers.Deployablepublic void parseConfiguration(Node rootnode) throws Exception
Exceptionpublic static TopicConfiguration parseTopicConfiguration(Node node) throws Exception
node - Exceptionpublic static JMSQueueConfiguration parseQueueConfiguration(Node node) throws Exception
node - Exceptionprotected 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.