ACTIVEMQ6-4 - refactor schemas
https://issues.apache.org/jira/browse/ACTIVEMQ6-4 Refactor all the schemas to use an activemq namespace and rename schema files
This commit is contained in:
parent
d0d686b527
commit
574c8fe997
|
@ -78,7 +78,7 @@ public final class JMSServerConfigParserImpl implements JMSServerConfigParser
|
|||
|
||||
Element e = (Element) rootnode;
|
||||
|
||||
org.apache.activemq.utils.XMLUtil.validate(rootnode, "schema/hornetq-jms.xsd");
|
||||
org.apache.activemq.utils.XMLUtil.validate(rootnode, "schema/activemq-jms.xsd");
|
||||
|
||||
String[] elements = new String[]{JMSServerDeployer.QUEUE_NODE_NAME,
|
||||
JMSServerDeployer.TOPIC_NODE_NAME,
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
|
||||
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||||
targetNamespace="urn:hornetq"
|
||||
xmlns="urn:hornetq"
|
||||
xmlns:hq="urn:org.apache.activemq"
|
||||
targetNamespace="urn:activemq"
|
||||
xmlns="urn:activemq"
|
||||
xmlns:amq="urn:org.apache.activemq"
|
||||
elementFormDefault="qualified"
|
||||
attributeFormDefault="unqualified"
|
||||
version="1.0">
|
||||
|
||||
<xsd:element name="configuration" hq:schema="hornetq-jms-configuration">
|
||||
<xsd:element name="configuration" amq:schema="hornetq-jms-configuration">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="jmx-domain" type="xsd:string" default="org.apache.activemq"
|
||||
|
@ -23,15 +23,15 @@
|
|||
</xsd:element>
|
||||
|
||||
<xsd:element name="connection-factory">
|
||||
<xsd:annotation hq:linkend="using-jms.server.configuration">
|
||||
<xsd:annotation amq:linkend="using-jms.server.configuration">
|
||||
<xsd:documentation>a list of connection factories to create and add to
|
||||
JNDI</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
<xsd:complexType>
|
||||
<xsd:all>
|
||||
<xsd:element name="xa" type="xsd:boolean" default="false" maxOccurs="1" minOccurs="0">
|
||||
<xsd:annotation hq:linkend="using-jms.configure.factory.types"
|
||||
hq:id="configuration.connection-factory.signature.xa">
|
||||
<xsd:annotation amq:linkend="using-jms.configure.factory.types"
|
||||
amq:id="configuration.connection-factory.signature.xa">
|
||||
<xsd:documentation>Whether this is an XA connection factory</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
|
@ -39,7 +39,7 @@
|
|||
</xsd:element>
|
||||
|
||||
<xsd:element name="connectors" maxOccurs="1" minOccurs="0">
|
||||
<xsd:annotation hq:linkend="clusters">
|
||||
<xsd:annotation amq:linkend="clusters">
|
||||
<xsd:documentation>A sequence of connectors used by the connection factory
|
||||
</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
|
@ -74,8 +74,8 @@
|
|||
|
||||
<xsd:element name="client-failure-check-period" type="xsd:long" default="30000"
|
||||
maxOccurs="1" minOccurs="0">
|
||||
<xsd:annotation hq:id="configuration.connection-factory.client-failure-check-period"
|
||||
hq:linkend="dead.connections" hq:default="(ms)">
|
||||
<xsd:annotation amq:id="configuration.connection-factory.client-failure-check-period"
|
||||
amq:linkend="dead.connections" amq:default="(ms)">
|
||||
<xsd:documentation>
|
||||
the period (in ms) after which the client will consider the connection failed
|
||||
after not receiving packets from the server. -1 disables this setting.
|
||||
|
@ -84,8 +84,8 @@
|
|||
</xsd:element>
|
||||
|
||||
<xsd:element name="connection-ttl" type="xsd:long" maxOccurs="1" minOccurs="0">
|
||||
<xsd:annotation hq:id="configuration.connection-factory.connection-ttl"
|
||||
hq:linkend="dead.connections">
|
||||
<xsd:annotation amq:id="configuration.connection-factory.connection-ttl"
|
||||
amq:linkend="dead.connections">
|
||||
<xsd:documentation>the time to live (in ms) for connections
|
||||
</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
|
@ -93,7 +93,7 @@
|
|||
|
||||
<xsd:element name="call-timeout" type="xsd:long" default="30000"
|
||||
maxOccurs="1" minOccurs="0">
|
||||
<xsd:annotation hq:id="configuration.connection-factory.call-timeout">
|
||||
<xsd:annotation amq:id="configuration.connection-factory.call-timeout">
|
||||
<xsd:documentation>
|
||||
the timeout (in ms) for remote calls
|
||||
</xsd:documentation>
|
||||
|
@ -128,8 +128,8 @@
|
|||
</xsd:element>
|
||||
|
||||
<xsd:element name="client-id" type="xsd:string" maxOccurs="1" minOccurs="0">
|
||||
<xsd:annotation hq:id="configuration.connection-factory.client-id"
|
||||
hq:linkend="using-jms.clientid">
|
||||
<xsd:annotation amq:id="configuration.connection-factory.client-id"
|
||||
amq:linkend="using-jms.clientid">
|
||||
<xsd:documentation>
|
||||
the pre-configured client ID for the connection factory
|
||||
</xsd:documentation>
|
||||
|
@ -144,8 +144,8 @@
|
|||
</xsd:element>
|
||||
<xsd:element name="block-on-acknowledge" type="xsd:boolean" default="false"
|
||||
maxOccurs="1" minOccurs="0">
|
||||
<xsd:annotation hq:linkend="send-guarantees.nontrans.acks"
|
||||
hq:id="configuration.connection-factory.block-on-acknowledge">
|
||||
<xsd:annotation amq:linkend="send-guarantees.nontrans.acks"
|
||||
amq:id="configuration.connection-factory.block-on-acknowledge">
|
||||
<xsd:documentation>
|
||||
whether or not messages are acknowledged synchronously
|
||||
</xsd:documentation>
|
||||
|
@ -153,8 +153,8 @@
|
|||
</xsd:element>
|
||||
<xsd:element name="block-on-non-durable-send" type="xsd:boolean" default="false"
|
||||
maxOccurs="1" minOccurs="0">
|
||||
<xsd:annotation hq:id="configuration.connection-factory.block-on-non-durable-send"
|
||||
hq:linkend="non-transactional-sends">
|
||||
<xsd:annotation amq:id="configuration.connection-factory.block-on-non-durable-send"
|
||||
amq:linkend="non-transactional-sends">
|
||||
<xsd:documentation>
|
||||
whether or not non-durable messages are sent synchronously
|
||||
</xsd:documentation>
|
||||
|
@ -162,16 +162,16 @@
|
|||
</xsd:element>
|
||||
<xsd:element name="block-on-durable-send" type="xsd:boolean" default="true"
|
||||
maxOccurs="1" minOccurs="0">
|
||||
<xsd:annotation hq:id="configuration.connection-factory.block-on-durable-send"
|
||||
hq:linkend="non-transactional-sends">
|
||||
<xsd:annotation amq:id="configuration.connection-factory.block-on-durable-send"
|
||||
amq:linkend="non-transactional-sends">
|
||||
<xsd:documentation>
|
||||
whether or not durable messages are sent synchronously
|
||||
</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="auto-group" type="xsd:boolean" default="false" maxOccurs="1" minOccurs="0">
|
||||
<xsd:annotation hq:id="configuration.connection-factory.auto-group"
|
||||
hq:linkend="message-grouping.jmsconfigure">
|
||||
<xsd:annotation amq:id="configuration.connection-factory.auto-group"
|
||||
amq:linkend="message-grouping.jmsconfigure">
|
||||
<xsd:documentation>whether or not message grouping is automatically used
|
||||
</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
|
@ -218,9 +218,9 @@
|
|||
</xsd:all>
|
||||
<xsd:attribute name="name" type="xsd:string"></xsd:attribute>
|
||||
<xsd:attribute name="signature" type="xsd:string">
|
||||
<xsd:annotation hq:id="configuration.connection-factory.signature"
|
||||
hq:linkend="using-jms.configure.factory.types"
|
||||
hq:default="generic"> <!-- XXX -->
|
||||
<xsd:annotation amq:id="configuration.connection-factory.signature"
|
||||
amq:linkend="using-jms.configure.factory.types"
|
||||
amq:default="generic"> <!-- XXX -->
|
||||
<xsd:documentation>Type of connection factory</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:attribute>
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xsd:schema xmlns="urn:hornetq" version="1.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||||
<xsd:schema xmlns="urn:activemq" version="1.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||||
attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="urn:hornetq">
|
||||
|
||||
<xsd:element name="rest-messaging">
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<configuration xmlns="urn:hornetq"
|
||||
<configuration xmlns="urn:activemq"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq /schema/hornetq-configuration.xsd">
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<configuration xmlns="urn:hornetq"
|
||||
<configuration xmlns="urn:activemq"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq /schema/hornetq-jms.xsd">
|
||||
<!--the connection factory used by the example-->
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<configuration xmlns="urn:hornetq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
<configuration xmlns="urn:activemq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq /schema/hornetq-users.xsd">
|
||||
<!-- the default user. this is used where username is null-->
|
||||
<defaultuser name="guest" password="guest">
|
||||
|
|
|
@ -50,7 +50,7 @@ public class AddressSettingsDeployer extends XmlDeployer
|
|||
@Override
|
||||
public void validate(final Node rootNode) throws Exception
|
||||
{
|
||||
org.apache.activemq.utils.XMLUtil.validate(rootNode, "schema/hornetq-configuration.xsd");
|
||||
org.apache.activemq.utils.XMLUtil.validate(rootNode, "schema/activemq-configuration.xsd");
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -63,7 +63,7 @@ public class BasicUserCredentialsDeployer extends XmlDeployer
|
|||
@Override
|
||||
public void validate(final Node rootNode) throws Exception
|
||||
{
|
||||
org.apache.activemq.utils.XMLUtil.validate(rootNode, "schema/hornetq-users.xsd");
|
||||
org.apache.activemq.utils.XMLUtil.validate(rootNode, "schema/activemq-users.xsd");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -80,7 +80,7 @@ public final class FileConfigurationParser extends XMLConfigurationUtil
|
|||
|
||||
// Constants -----------------------------------------------------
|
||||
|
||||
private static final String CONFIGURATION_SCHEMA_URL = "schema/hornetq-configuration.xsd";
|
||||
private static final String CONFIGURATION_SCHEMA_URL = "schema/activemq-configuration.xsd";
|
||||
|
||||
// Security Parsing
|
||||
public static final String SECURITY_ELEMENT_NAME = "security-setting";
|
||||
|
|
|
@ -52,7 +52,7 @@ public class QueueDeployer extends XmlDeployer
|
|||
@Override
|
||||
public void validate(final Node rootNode) throws Exception
|
||||
{
|
||||
org.apache.activemq.utils.XMLUtil.validate(rootNode, "schema/hornetq-configuration.xsd");
|
||||
org.apache.activemq.utils.XMLUtil.validate(rootNode, "schema/activemq-configuration.xsd");
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -60,7 +60,7 @@ public class SecurityDeployer extends XmlDeployer
|
|||
@Override
|
||||
public void validate(final Node rootNode) throws Exception
|
||||
{
|
||||
org.apache.activemq.utils.XMLUtil.validate(rootNode, "schema/hornetq-configuration.xsd");
|
||||
org.apache.activemq.utils.XMLUtil.validate(rootNode, "schema/activemq-configuration.xsd");
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,5 +1,5 @@
|
|||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:hornetq" xmlns="urn:hornetq"
|
||||
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:activemq" xmlns="urn:activemq"
|
||||
elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.0">
|
||||
|
||||
<xsd:element name="configuration">
|
|
@ -1,5 +1,5 @@
|
|||
<configuration
|
||||
xmlns="urn:hornetq"
|
||||
xmlns="urn:activemq"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq ../../src/schemas/hornetq-configuration.xsd ">
|
||||
<!-- just use the defaults -->
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<configuration
|
||||
xmlns="urn:hornetq"
|
||||
xmlns="urn:activemq"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq ../../../../hornetq-server/src/main/resources/schema/hornetq-configuration.xsd">
|
||||
<name>SomeNameForUseOnTheApplicationServer</name>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<configuration
|
||||
xmlns="urn:hornetq"
|
||||
xmlns="urn:activemq"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq ../../src/config/common/schema/hornetq-configuration.xsd">
|
||||
<name>SomeNameForUseOnTheApplicationServer</name>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<configuration
|
||||
xmlns="urn:hornetq"
|
||||
xmlns="urn:activemq"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq ../../src/config/common/schema/hornetq-configuration.xsd">
|
||||
<name>SomeNameForUseOnTheApplicationServer</name>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<configuration
|
||||
xmlns="urn:hornetq"
|
||||
xmlns="urn:activemq"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq ../../src/config/common/schema/hornetq-configuration.xsd">
|
||||
<name>SomeNameForUseOnTheApplicationServer</name>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<configuration
|
||||
xmlns="urn:hornetq"
|
||||
xmlns="urn:activemq"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq ../../src/config/common/schema/hornetq-configuration.xsd">
|
||||
<name>SomeNameForUseOnTheApplicationServer</name>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<configuration
|
||||
xmlns="urn:hornetq"
|
||||
xmlns="urn:activemq"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq ../../src/config/common/schema/hornetq-configuration.xsd">
|
||||
<name>SomeNameForUseOnTheApplicationServer</name>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<configuration
|
||||
xmlns="urn:hornetq"
|
||||
xmlns="urn:activemq"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq ../../src/config/common/schema/hornetq-configuration.xsd">
|
||||
<name>SomeNameForUseOnTheApplicationServer</name>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<configuration
|
||||
xmlns="urn:hornetq"
|
||||
xmlns="urn:activemq"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq ../../../../hornetq-server/src/main/resources/schema/hornetq-configuration.xsd">
|
||||
<ha-policy>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<configuration
|
||||
xmlns="urn:hornetq"
|
||||
xmlns="urn:activemq"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq ../../../../hornetq-server/src/main/resources/schema/hornetq-configuration.xsd">
|
||||
<ha-policy>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<configuration xmlns="urn:hornetq"
|
||||
<configuration xmlns="urn:activemq"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq /schema/hornetq-configuration.xsd">
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<configuration
|
||||
xmlns="urn:hornetq"
|
||||
xmlns="urn:activemq"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq ../../../../hornetq-server/src/main/resources/schema/hornetq-configuration.xsd">
|
||||
<ha-policy>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<configuration
|
||||
xmlns="urn:hornetq"
|
||||
xmlns="urn:activemq"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq ../../../../hornetq-server/src/main/resources/schema/hornetq-configuration.xsd">
|
||||
<ha-policy>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<configuration
|
||||
xmlns="urn:hornetq"
|
||||
xmlns="urn:activemq"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq ../../../../hornetq-server/src/main/resources/schema/hornetq-configuration.xsd">
|
||||
<ha-policy>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<configuration
|
||||
xmlns="urn:hornetq"
|
||||
xmlns="urn:activemq"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq ../../../../hornetq-server/src/main/resources/schema/hornetq-configuration.xsd">
|
||||
<ha-policy/>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<configuration
|
||||
xmlns="urn:hornetq"
|
||||
xmlns="urn:activemq"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq ../../../../hornetq-server/src/main/resources/schema/hornetq-configuration.xsd">
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<configuration
|
||||
xmlns="urn:hornetq"
|
||||
xmlns="urn:activemq"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq ../../../../hornetq-server/src/main/resources/schema/hornetq-configuration.xsd">
|
||||
<ha-policy>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<configuration
|
||||
xmlns="urn:hornetq"
|
||||
xmlns="urn:activemq"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq ../../../../hornetq-server/src/main/resources/schema/hornetq-configuration.xsd">
|
||||
<ha-policy>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<configuration
|
||||
xmlns="urn:hornetq"
|
||||
xmlns="urn:activemq"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq ../../../../hornetq-server/src/main/resources/schema/hornetq-configuration.xsd">
|
||||
<ha-policy>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<configuration
|
||||
xmlns="urn:hornetq"
|
||||
xmlns="urn:activemq"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq ../../../../hornetq-server/src/main/resources/schema/hornetq-configuration.xsd">
|
||||
<ha-policy>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<configuration
|
||||
xmlns="urn:hornetq"
|
||||
xmlns="urn:activemq"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq ../../../../hornetq-server/src/main/resources/schema/hornetq-configuration.xsd">
|
||||
<ha-policy>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<configuration
|
||||
xmlns="urn:hornetq"
|
||||
xmlns="urn:activemq"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq ../../../../hornetq-server/src/main/resources/schema/hornetq-configuration.xsd">
|
||||
<ha-policy>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<configuration
|
||||
xmlns="urn:hornetq"
|
||||
xmlns="urn:activemq"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq ../../../../hornetq-server/src/main/resources/schema/hornetq-configuration.xsd">
|
||||
<ha-policy>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<configuration
|
||||
xmlns="urn:hornetq"
|
||||
xmlns="urn:activemq"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq ../../../../hornetq-server/src/main/resources/schema/hornetq-configuration.xsd">
|
||||
<ha-policy>
|
||||
|
|
|
@ -230,86 +230,86 @@
|
|||
<validationSets>
|
||||
<validationSet>
|
||||
<dir>${configLocation}/clustered</dir>
|
||||
<systemId>${schemaLocation}/hornetq-configuration.xsd</systemId>
|
||||
<systemId>${schemaLocation}/activemq-configuration.xsd</systemId>
|
||||
<includes>
|
||||
<include>hornetq-configuration.xml</include>
|
||||
<include>activemq-configuration.xml</include>
|
||||
</includes>
|
||||
</validationSet>
|
||||
<validationSet>
|
||||
<dir>${configLocation}/non-clustered</dir>
|
||||
<systemId>${schemaLocation}/hornetq-configuration.xsd</systemId>
|
||||
<systemId>${schemaLocation}/activemq-configuration.xsd</systemId>
|
||||
<includes>
|
||||
<include>hornetq-configuration.xml</include>
|
||||
<include>activemq-configuration.xml</include>
|
||||
</includes>
|
||||
</validationSet>
|
||||
<validationSet>
|
||||
<dir>${configLocation}/replicated</dir>
|
||||
<systemId>${schemaLocation}/hornetq-configuration.xsd</systemId>
|
||||
<systemId>${schemaLocation}/activemq-configuration.xsd</systemId>
|
||||
<includes>
|
||||
<include>hornetq-configuration.xml</include>
|
||||
<include>activemq-configuration.xml</include>
|
||||
</includes>
|
||||
</validationSet>
|
||||
<validationSet>
|
||||
<dir>${configLocation}/shared-store</dir>
|
||||
<systemId>${schemaLocation}/hornetq-configuration.xsd</systemId>
|
||||
<systemId>${schemaLocation}/activemq-configuration.xsd</systemId>
|
||||
<includes>
|
||||
<include>hornetq-configuration.xml</include>
|
||||
<include>activemq-configuration.xml</include>
|
||||
</includes>
|
||||
</validationSet>
|
||||
<validationSet>
|
||||
<dir>${configLocation}/clustered</dir>
|
||||
<systemId>${schemaLocation}/hornetq-jms.xsd</systemId>
|
||||
<systemId>${schemaLocation}/activemq-jms.xsd</systemId>
|
||||
<includes>
|
||||
<include>hornetq-jms.xml</include>
|
||||
<include>activemq-jms.xml</include>
|
||||
</includes>
|
||||
</validationSet>
|
||||
<validationSet>
|
||||
<dir>${configLocation}/non-clustered</dir>
|
||||
<systemId>${schemaLocation}/hornetq-jms.xsd</systemId>
|
||||
<systemId>${schemaLocation}/activemq-jms.xsd</systemId>
|
||||
<includes>
|
||||
<include>hornetq-jms.xml</include>
|
||||
<include>activemq-jms.xml</include>
|
||||
</includes>
|
||||
</validationSet>
|
||||
<validationSet>
|
||||
<dir>${configLocation}/replicated</dir>
|
||||
<systemId>${schemaLocation}/hornetq-jms.xsd</systemId>
|
||||
<systemId>${schemaLocation}/activemq-jms.xsd</systemId>
|
||||
<includes>
|
||||
<include>hornetq-jms.xml</include>
|
||||
<include>activemq-jms.xml</include>
|
||||
</includes>
|
||||
</validationSet>
|
||||
<validationSet>
|
||||
<dir>${configLocation}/shared-store</dir>
|
||||
<systemId>${schemaLocation}/hornetq-jms.xsd</systemId>
|
||||
<systemId>${schemaLocation}/activemq-jms.xsd</systemId>
|
||||
<includes>
|
||||
<include>hornetq-jms.xml</include>
|
||||
<include>activemq-jms.xml</include>
|
||||
</includes>
|
||||
</validationSet>
|
||||
<validationSet>
|
||||
<dir>${configLocation}/clustered</dir>
|
||||
<systemId>${schemaLocation}/hornetq-users.xsd</systemId>
|
||||
<systemId>${schemaLocation}/activemq-users.xsd</systemId>
|
||||
<includes>
|
||||
<include>hornetq-users.xml</include>
|
||||
<include>activemq-users.xml</include>
|
||||
</includes>
|
||||
</validationSet>
|
||||
<validationSet>
|
||||
<dir>${configLocation}/non-clustered</dir>
|
||||
<systemId>${schemaLocation}/hornetq-users.xsd</systemId>
|
||||
<systemId>${schemaLocation}/activemq-users.xsd</systemId>
|
||||
<includes>
|
||||
<include>hornetq-users.xml</include>
|
||||
<include>activemq-users.xml</include>
|
||||
</includes>
|
||||
</validationSet>
|
||||
<validationSet>
|
||||
<dir>${configLocation}/replicated</dir>
|
||||
<systemId>${schemaLocation}/hornetq-users.xsd</systemId>
|
||||
<systemId>${schemaLocation}/activemq-users.xsd</systemId>
|
||||
<includes>
|
||||
<include>hornetq-users.xml</include>
|
||||
<include>activemq-users.xml</include>
|
||||
</includes>
|
||||
</validationSet>
|
||||
<validationSet>
|
||||
<dir>${configLocation}/shared-store</dir>
|
||||
<systemId>${schemaLocation}/hornetq-users.xsd</systemId>
|
||||
<systemId>${schemaLocation}/activemq-users.xsd</systemId>
|
||||
<includes>
|
||||
<include>hornetq-users.xml</include>
|
||||
<include>activemq-users.xml</include>
|
||||
</includes>
|
||||
</validationSet>
|
||||
</validationSets>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<configuration xmlns="urn:hornetq"
|
||||
<configuration xmlns="urn:activemq"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq /schema/hornetq-configuration.xsd">
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<configuration xmlns="urn:hornetq"
|
||||
<configuration xmlns="urn:activemq"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq /schema/hornetq-jms.xsd">
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<configuration xmlns="urn:hornetq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
<configuration xmlns="urn:activemq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq /schema/hornetq-users.xsd">
|
||||
<!-- the default user. this is used where username is null-->
|
||||
<defaultuser name="guest" password="guest">
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<configuration xmlns="urn:hornetq"
|
||||
<configuration xmlns="urn:activemq"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq /schema/hornetq-configuration.xsd">
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<configuration xmlns="urn:hornetq"
|
||||
<configuration xmlns="urn:activemq"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq /schema/hornetq-jms.xsd">
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<configuration xmlns="urn:hornetq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
<configuration xmlns="urn:activemq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq /schema/hornetq-users.xsd">
|
||||
<!-- the default user. this is used where username is null-->
|
||||
<defaultuser name="guest" password="guest">
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<configuration xmlns="urn:hornetq"
|
||||
<configuration xmlns="urn:activemq"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq /schema/hornetq-configuration.xsd">
|
||||
<!--
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<configuration xmlns="urn:hornetq"
|
||||
<configuration xmlns="urn:activemq"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq /schema/hornetq-jms.xsd">
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<configuration xmlns="urn:hornetq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
<configuration xmlns="urn:activemq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq /schema/hornetq-users.xsd">
|
||||
<!-- the default user. this is used where username is null-->
|
||||
<defaultuser name="guest" password="guest">
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<configuration xmlns="urn:hornetq"
|
||||
<configuration xmlns="urn:activemq"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq /schema/hornetq-configuration.xsd">
|
||||
<!--
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<configuration xmlns="urn:hornetq"
|
||||
<configuration xmlns="urn:activemq"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq /schema/hornetq-jms.xsd">
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<configuration xmlns="urn:hornetq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
<configuration xmlns="urn:activemq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq /schema/hornetq-users.xsd">
|
||||
<!-- the default user. this is used where username is null-->
|
||||
<defaultuser name="guest" password="guest">
|
||||
|
|
|
@ -284,7 +284,7 @@
|
|||
and configure it like so:
|
||||
</para>
|
||||
<programlisting>
|
||||
<configuration xmlns="urn:hornetq"
|
||||
<configuration xmlns="urn:activemq"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq /schema/hornetq-configuration.xsd">
|
||||
|
||||
|
|
|
@ -48,7 +48,7 @@
|
|||
<!-- The options reference is generated from the schema. If something is wrong
|
||||
in the reference, it must be fixed in the annotations present in the
|
||||
schema. -->
|
||||
<xi:include href="../target/generated-resources/xml/xslt/hornetq-configuration.xml"
|
||||
<xi:include href="../target/generated-resources/xml/xslt/activemq-configuration.xml"
|
||||
xmlns:xi="http://www.w3.org/2001/XInclude"/>
|
||||
</tgroup>
|
||||
</table>
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
<para>The configuration property <literal>large-messages-directory</literal> specifies where
|
||||
large messages are stored.</para>
|
||||
<programlisting>
|
||||
<configuration xmlns="urn:hornetq"
|
||||
<configuration xmlns="urn:activemq"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq /schema/hornetq-configuration.xsd">
|
||||
...
|
||||
|
|
|
@ -48,7 +48,7 @@
|
|||
<para>Global paging parameters are specified on the main configuration file (<literal
|
||||
>hornetq-configuration.xml</literal>).</para>
|
||||
<programlisting>
|
||||
<configuration xmlns="urn:hornetq"
|
||||
<configuration xmlns="urn:activemq"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq /schema/hornetq-configuration.xsd">
|
||||
...
|
||||
|
|
|
@ -149,7 +149,7 @@
|
|||
be added into this file.</para>
|
||||
<para>Let's take a look at an example file:</para>
|
||||
<programlisting>
|
||||
<configuration xmlns="urn:hornetq"
|
||||
<configuration xmlns="urn:activemq"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq ../schemas/hornetq-users.xsd ">
|
||||
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
context. Let's take this <literal>hornetq-jms.xml</literal> file for
|
||||
instance: </para>
|
||||
<programlisting>
|
||||
<configuration xmlns="urn:hornetq"
|
||||
<configuration xmlns="urn:activemq"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq /schema/hornetq-jms.xsd">
|
||||
<!--the connection factory used by the example-->
|
||||
|
|
|
@ -63,7 +63,7 @@
|
|||
Connection Factory instances you can deploy from the file. Here's our
|
||||
configuration:</para>
|
||||
<programlisting>
|
||||
<configuration xmlns="urn:hornetq"
|
||||
<configuration xmlns="urn:activemq"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq ../schemas/hornetq-jms.xsd ">
|
||||
|
||||
|
@ -149,7 +149,7 @@
|
|||
</table>
|
||||
<para>As an example, the following configures an XAQueueConnectionFactory:</para>
|
||||
<programlisting>
|
||||
<configuration xmlns="urn:hornetq"
|
||||
<configuration xmlns="urn:activemq"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq ../schemas/hornetq-jms.xsd ">
|
||||
|
||||
|
|
|
@ -278,7 +278,7 @@
|
|||
<dir>../../activemq-server/src/main/resources/schema</dir>
|
||||
<stylesheet>./src/main/resources/schemaToTable.xsl</stylesheet>
|
||||
<includes>
|
||||
<include>hornetq-configuration.xsd</include>
|
||||
<include>activemq-configuration.xsd</include>
|
||||
</includes>
|
||||
<fileMappers>
|
||||
<fileMapper implementation="org.codehaus.plexus.components.io.filemappers.FileExtensionMapper">
|
||||
|
@ -287,10 +287,10 @@
|
|||
</fileMappers>
|
||||
</transformationSet>
|
||||
<transformationSet>
|
||||
<dir>../../hornetq-jms-server/src/main/resources/schema</dir>
|
||||
<dir>../../activemq-jms-server/src/main/resources/schema</dir>
|
||||
<stylesheet>./src/main/resources/schemaToTable.xsl</stylesheet>
|
||||
<includes>
|
||||
<include>hornetq-jms.xsd</include>
|
||||
<include>activemq-jms.xsd</include>
|
||||
</includes>
|
||||
<fileMappers>
|
||||
<fileMapper implementation="org.codehaus.plexus.components.io.filemappers.FileExtensionMapper">
|
||||
|
|
|
@ -3,11 +3,11 @@
|
|||
<xsl:stylesheet version="2.0"
|
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||||
xmlns:hq="urn:org.apache.activemq"
|
||||
xmlns:amq="urn:org.apache.activemq"
|
||||
xmlns:fn="http://www.w3.org/2005/xpath-functions">
|
||||
|
||||
<!--
|
||||
XSL to transform HornetQ schemas into DocBook tables to be used in our user manual reference.
|
||||
XSL to transform ActiveMQ schemas into DocBook tables to be used in our user manual reference.
|
||||
|
||||
For each option element defined in the schema, it tries to create something like
|
||||
|
||||
|
@ -26,7 +26,7 @@
|
|||
|
||||
<xsl:output method="xml" indent="yes"/>
|
||||
|
||||
<xsl:function name="hq:name-or-ref">
|
||||
<xsl:function name="amq:name-or-ref">
|
||||
<xsl:param name="ename"/>
|
||||
<xsl:param name="eref"/>
|
||||
<xsl:choose>
|
||||
|
@ -45,8 +45,8 @@
|
|||
<xsl:comment>
|
||||
THIS IS A GENERATED FILE. DO NOT EDIT IT DIRECTLY!
|
||||
|
||||
HornetQ options reference table generated from:
|
||||
<xsl:copy-of select="concat('hornetq-', substring-after(base-uri(), 'hornetq-'))"/>
|
||||
ActiveMQ options reference table generated from:
|
||||
<xsl:copy-of select="concat('activemq-', substring-after(base-uri(), 'activemq-'))"/>
|
||||
|
||||
=======================================================================
|
||||
|
||||
|
@ -60,9 +60,9 @@
|
|||
<xsl:text>
</xsl:text>
|
||||
<xsl:text>
</xsl:text>
|
||||
|
||||
<!-- main 'for-each' for "hornetq-configuration.xsd". Notice the attribute matching at the
|
||||
select which ensures this only matches "hornetq-configuration.xsd". -->
|
||||
<xsl:for-each-group select="xsd:schema/xsd:element[@hq:schema='hornetq-configuration']"
|
||||
<!-- main 'for-each' for "activemq-configuration.xsd". Notice the attribute matching at the
|
||||
select which ensures this only matches "activemq-configuration.xsd". -->
|
||||
<xsl:for-each-group select="xsd:schema/xsd:element[@amq:schema='activemq-configuration']"
|
||||
group-by="@name">
|
||||
<!-- the manual reference should list options in sorted order.
|
||||
Notice that this is only OK because the first level of options is "xsd:all".
|
||||
|
@ -72,15 +72,15 @@
|
|||
-->
|
||||
<xsl:sort select="@name" data-type="text" />
|
||||
|
||||
<!-- <xsl:if test="not(./xsd:annotation/@hq:linkend)"> -->
|
||||
<!-- <xsl:if test="not(./xsd:annotation/@amq:linkend)"> -->
|
||||
<!-- <xsl:message terminate="yes"> -->
|
||||
<!-- Error: Lacks proper Docbook link: xsd:annotation/@hq:linkend -->
|
||||
<!-- Error: Lacks proper Docbook link: xsd:annotation/@amq:linkend -->
|
||||
<!-- <xsl:copy-of select="."/> -->
|
||||
<!-- </xsl:message> -->
|
||||
<!-- </xsl:if> -->
|
||||
<xsl:call-template name="xsd_element">
|
||||
<xsl:with-param name="prefix"/>
|
||||
<xsl:with-param name="parentLinkend" select="xsd:annotation/@hq:linkend"/>
|
||||
<xsl:with-param name="parentLinkend" select="xsd:annotation/@amq:linkend"/>
|
||||
</xsl:call-template>
|
||||
|
||||
<!-- Add 2 new lines between each option -->
|
||||
|
@ -88,13 +88,13 @@
|
|||
<xsl:text>
</xsl:text>
|
||||
</xsl:for-each-group>
|
||||
|
||||
<!-- JMS: main 'for-each' for "hornetq-jms.xsd". Notice the attribute matching at the
|
||||
select which ensures this only matches "hornetq-jms.xsd". -->
|
||||
<xsl:for-each select="xsd:schema/xsd:element[@hq:schema='hornetq-jms-configuration']/xsd:complexType/xsd:sequence/xsd:element">
|
||||
<!-- JMS: main 'for-each' for "activemq-jms.xsd". Notice the attribute matching at the
|
||||
select which ensures this only matches "activemq-jms.xsd". -->
|
||||
<xsl:for-each select="xsd:schema/xsd:element[@amq:schema='activemq-jms-configuration']/xsd:complexType/xsd:sequence/xsd:element">
|
||||
|
||||
<xsl:call-template name="xsd_element">
|
||||
<xsl:with-param name="prefix"/>
|
||||
<xsl:with-param name="parentLinkend" select="xsd:annotation/@hq:linkend"/>
|
||||
<xsl:with-param name="parentLinkend" select="xsd:annotation/@amq:linkend"/>
|
||||
</xsl:call-template>
|
||||
|
||||
<!-- Add 2 new lines between each option -->
|
||||
|
@ -128,7 +128,7 @@
|
|||
|
||||
<xsl:template name="entry-for-default-value">
|
||||
<entry>
|
||||
<xsl:value-of select="string-join((@default,xsd:annotation/@hq:default), ' ')"/>
|
||||
<xsl:value-of select="string-join((@default,xsd:annotation/@amq:default), ' ')"/>
|
||||
</entry>
|
||||
</xsl:template>
|
||||
|
||||
|
@ -149,7 +149,7 @@
|
|||
<xsl:choose>
|
||||
<xsl:when test="count(xsd:complexType/xsd:sequence/xsd:element)=1">
|
||||
<xsl:value-of
|
||||
select="concat('Sequence of <', xsd:complexType/xsd:sequence/xsd:element/( hq:name-or-ref(@name,@ref) ), '/>')"/>
|
||||
select="concat('Sequence of <', xsd:complexType/xsd:sequence/xsd:element/( amq:name-or-ref(@name,@ref) ), '/>')"/>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:text>Complex element</xsl:text>
|
||||
|
@ -164,8 +164,8 @@
|
|||
|
||||
<xsl:variable name="linkend">
|
||||
<xsl:choose>
|
||||
<xsl:when test="xsd:annotation/@hq:linkend">
|
||||
<xsl:value-of select="xsd:annotation/@hq:linkend"/>
|
||||
<xsl:when test="xsd:annotation/@amq:linkend">
|
||||
<xsl:value-of select="xsd:annotation/@amq:linkend"/>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:value-of select="$parentLinkend"/>
|
||||
|
@ -218,8 +218,8 @@
|
|||
|
||||
<xsl:variable name="linkend">
|
||||
<xsl:choose>
|
||||
<xsl:when test="xsd:annotation/@hq:linkend">
|
||||
<xsl:value-of select="xsd:annotation/@hq:linkend"/>
|
||||
<xsl:when test="xsd:annotation/@amq:linkend">
|
||||
<xsl:value-of select="xsd:annotation/@amq:linkend"/>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:value-of select="$parentLinkend"/>
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
<title>服务器端的配置</title>
|
||||
<para>大消息在服务器端是直接保存在磁盘目录中。这一目录可以在HornetQ的配置文件中定义。</para>
|
||||
<para>这个参数的名字是<literal>large-messages-directory</literal>:</para>
|
||||
<programlisting><configuration xmlns="urn:hornetq"
|
||||
<programlisting><configuration xmlns="urn:activemq"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq /schema/hornetq-configuration.xsd">
|
||||
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
<para>你可以配置分页转存文件夹的位置。</para>
|
||||
<para>在主配置文件<literal>hornetq-configuration.xml</literal>)中
|
||||
可以定义全局的分页转发参数。</para>
|
||||
<programlisting><configuration xmlns="urn:hornetq"
|
||||
<programlisting><configuration xmlns="urn:activemq"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq /schema/hornetq-configuration.xsd">
|
||||
|
||||
|
|
|
@ -112,7 +112,7 @@
|
|||
<para>如果你要使用这个安全管理器,就将用户名,密码,角色等信息加入到这个文件中。</para>
|
||||
<para>让我们看一个例子:</para>
|
||||
<programlisting>
|
||||
<configuration xmlns="urn:hornetq"
|
||||
<configuration xmlns="urn:activemq"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq ../schemas/hornetq-users.xsd ">
|
||||
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
<para>这里我们将要在服务器端部署一个JMS队列和一个JMS ConnectionFactory (连接工厂)。当然完全可以部署多个JMS对象。
|
||||
下面给出了具体的配置内容:</para>
|
||||
<programlisting>
|
||||
<configuration xmlns="urn:hornetq"
|
||||
<configuration xmlns="urn:activemq"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq ../schemas/hornetq-jms.xsd ">
|
||||
|
||||
|
@ -127,7 +127,7 @@
|
|||
</table>
|
||||
<para>下面的例子配置了一个XAQueueConnectionFactory:</para>
|
||||
<programlisting>
|
||||
<configuration xmlns="urn:hornetq"
|
||||
<configuration xmlns="urn:activemq"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq ../schemas/hornetq-jms.xsd ">
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<configuration xmlns="urn:hornetq"
|
||||
<configuration xmlns="urn:activemq"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq /schema/hornetq-configuration.xsd">
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<configuration xmlns="urn:hornetq"
|
||||
<configuration xmlns="urn:activemq"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq /schema/hornetq-configuration.xsd">
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<configuration xmlns="urn:hornetq"
|
||||
<configuration xmlns="urn:activemq"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq /schema/hornetq-configuration.xsd">
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<configuration xmlns="urn:hornetq"
|
||||
<configuration xmlns="urn:activemq"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq /schema/hornetq-jms.xsd">
|
||||
<!--the connection factory used by the example-->
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<configuration xmlns="urn:hornetq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
<configuration xmlns="urn:activemq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq /schema/hornetq-users.xsd">
|
||||
<!-- the default user. this is used where username is null-->
|
||||
<defaultuser name="guest" password="guest">
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<configuration xmlns="urn:hornetq"
|
||||
<configuration xmlns="urn:activemq"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq /schema/hornetq-configuration.xsd">
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<configuration xmlns="urn:hornetq"
|
||||
<configuration xmlns="urn:activemq"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq /schema/hornetq-jms.xsd">
|
||||
<!--the connection factory used by the example-->
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<configuration xmlns="urn:hornetq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
<configuration xmlns="urn:activemq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq /schema/hornetq-users.xsd">
|
||||
<!-- the default user. this is used where username is null-->
|
||||
<defaultuser name="guest" password="guest">
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<configuration xmlns="urn:hornetq"
|
||||
<configuration xmlns="urn:activemq"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq /schema/hornetq-configuration.xsd">
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<configuration xmlns="urn:hornetq"
|
||||
<configuration xmlns="urn:activemq"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq /schema/hornetq-jms.xsd">
|
||||
<!--the connection factory used by the example-->
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<configuration xmlns="urn:hornetq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
<configuration xmlns="urn:activemq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq /schema/hornetq-users.xsd">
|
||||
<!-- the default user. this is used where username is null-->
|
||||
<defaultuser name="guest" password="guest">
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<configuration xmlns="urn:hornetq"
|
||||
<configuration xmlns="urn:activemq"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq /schema/hornetq-configuration.xsd">
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<configuration xmlns="urn:hornetq"
|
||||
<configuration xmlns="urn:activemq"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq /schema/hornetq-jms.xsd">
|
||||
<!--the connection factory used by the example-->
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<configuration xmlns="urn:hornetq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
<configuration xmlns="urn:activemq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq /schema/hornetq-users.xsd">
|
||||
<!-- the default user. this is used where username is null-->
|
||||
<defaultuser name="guest" password="guest">
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<configuration xmlns="urn:hornetq"
|
||||
<configuration xmlns="urn:activemq"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq /schema/hornetq-configuration.xsd">
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<configuration xmlns="urn:hornetq"
|
||||
<configuration xmlns="urn:activemq"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq /schema/hornetq-jms.xsd">
|
||||
<!--the connection factory used by the example-->
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<configuration xmlns="urn:hornetq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
<configuration xmlns="urn:activemq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq /schema/hornetq-users.xsd">
|
||||
<!-- the default user. this is used where username is null-->
|
||||
<defaultuser name="guest" password="guest">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration xmlns="urn:hornetq"
|
||||
<configuration xmlns="urn:activemq"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq /schema/hornetq-configuration.xsd">
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<configuration xmlns="urn:hornetq"
|
||||
<configuration xmlns="urn:activemq"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq /schema/hornetq-jms.xsd">
|
||||
<!--the connection factory used by the example-->
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<configuration xmlns="urn:hornetq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
<configuration xmlns="urn:activemq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq /schema/hornetq-users.xsd">
|
||||
<!-- the default user. this is used where username is null-->
|
||||
<defaultuser name="guest" password="guest">
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<configuration xmlns="urn:hornetq"
|
||||
<configuration xmlns="urn:activemq"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq /schema/hornetq-configuration.xsd">
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<configuration xmlns="urn:hornetq"
|
||||
<configuration xmlns="urn:activemq"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq /schema/hornetq-jms.xsd">
|
||||
<!--the connection factory used by the example-->
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<configuration xmlns="urn:hornetq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
<configuration xmlns="urn:activemq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq /schema/hornetq-users.xsd">
|
||||
<!-- the default user. this is used where username is null-->
|
||||
<defaultuser name="guest" password="guest">
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<configuration xmlns="urn:hornetq"
|
||||
<configuration xmlns="urn:activemq"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq /schema/hornetq-configuration.xsd">
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<configuration xmlns="urn:hornetq"
|
||||
<configuration xmlns="urn:activemq"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq /schema/hornetq-jms.xsd">
|
||||
<!--the connection factory used by the example-->
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<configuration xmlns="urn:hornetq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
<configuration xmlns="urn:activemq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq /schema/hornetq-users.xsd">
|
||||
<!-- the default user. this is used where username is null-->
|
||||
<defaultuser name="guest" password="guest">
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<configuration xmlns="urn:hornetq"
|
||||
<configuration xmlns="urn:activemq"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq /schema/hornetq-configuration.xsd">
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<configuration xmlns="urn:hornetq"
|
||||
<configuration xmlns="urn:activemq"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq /schema/hornetq-jms.xsd">
|
||||
<!--the connection factory used by the example-->
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<configuration xmlns="urn:hornetq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
<configuration xmlns="urn:activemq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq /schema/hornetq-users.xsd">
|
||||
<!-- the default user. this is used where username is null-->
|
||||
<defaultuser name="guest" password="guest">
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<configuration xmlns="urn:hornetq"
|
||||
<configuration xmlns="urn:activemq"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq /schema/hornetq-configuration.xsd">
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<configuration xmlns="urn:hornetq"
|
||||
<configuration xmlns="urn:activemq"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq /schema/hornetq-jms.xsd">
|
||||
<!--the connection factory used by the example-->
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<configuration xmlns="urn:hornetq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
<configuration xmlns="urn:activemq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq /schema/hornetq-users.xsd">
|
||||
<!-- the default user. this is used where username is null-->
|
||||
<defaultuser name="guest" password="guest">
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<configuration xmlns="urn:hornetq"
|
||||
<configuration xmlns="urn:activemq"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq ../../../../../../../../hornetq-server/src/main/resources/schema/hornetq-configuration.xsd">
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<configuration xmlns="urn:hornetq"
|
||||
<configuration xmlns="urn:activemq"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq /schema/hornetq-jms.xsd">
|
||||
<!--the connection factory used by the example-->
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<configuration xmlns="urn:hornetq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
<configuration xmlns="urn:activemq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq /schema/hornetq-users.xsd">
|
||||
<!-- the default user. this is used where username is null-->
|
||||
<defaultuser name="guest" password="guest">
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<configuration xmlns="urn:hornetq"
|
||||
<configuration xmlns="urn:activemq"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq ../../../../../../../../hornetq-server/src/main/resources/schema/hornetq-configuration.xsd">
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<configuration xmlns="urn:hornetq"
|
||||
<configuration xmlns="urn:activemq"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:hornetq /schema/hornetq-jms.xsd">
|
||||
<!--the connection factory used by the example-->
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue