activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r912127 [2/2] - in /websites/production/activemq/content: 2014/ 2014/06/ 2014/06/10/ 2014/06/10/apache-activemq-5100-released.html activemq-5100-release.html cache/main.pageCache download.html index.html news.html xml-reference.html
Date Tue, 10 Jun 2014 16:20:40 GMT
Modified: websites/production/activemq/content/xml-reference.html
==============================================================================
--- websites/production/activemq/content/xml-reference.html (original)
+++ websites/production/activemq/content/xml-reference.html Tue Jun 10 16:20:40 2014
@@ -82,56 +82,26 @@
   <tbody>
         <tr>
         <td valign="top" width="100%">
-<div class="wiki-content maincontent"><h2 id="XmlReference-ActiveMQXmlReference">ActiveMQ
Xml Reference</h2>
-
-<p>This page contains a link to the XML reference guides and XML schema documents for
<a shape="rect" href="xml-configuration.html">Xml Configuration</a> with ActiveMQ
releases</p>
-
-<h3 id="XmlReference-ReleasedSchemas">Released Schemas</h3>
-
-<div class="table-wrap"><table class="confluenceTable"><tbody><tr><th
colspan="1" rowspan="1" class="confluenceTh"><p> Reference Document </p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p> Reference </p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p> XML Schema </p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p> XML Schema namespace </p></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p> <a shape="rect" href="xbean-xml-reference-41.html">XBean
XML Reference 4.1</a> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>
<a shape="rect" class="external-link" href="http://activemq.apache.org/schema/core/activemq-core-4.1.2.xsd.html">Reference</a>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <a
shape="rect" class="external-link" href="http://activemq.apache.org/schema/core/activemq-core-4.1.2.xsd">http://activemq.apache.org/schema/core/activemq-core-4.1.2.xsd</a>
</p></td><td colspan="1" rowspan="1" class="confluenceT
 d"><p> <a shape="rect" class="external-link" href="http://activemq.org/config/1.0"
rel="nofollow">http://activemq.org/config/1.0</a> </p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p> <a shape="rect" href="xbean-xml-reference-50.html">XBean
XML Reference 5.0</a> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>
<a shape="rect" class="external-link" href="http://activemq.apache.org/schema/core/activemq-core-5.0.0.xsd.html">Reference</a>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <a
shape="rect" class="external-link" href="http://activemq.apache.org/schema/core/activemq-core-5.0.0.xsd">http://activemq.apache.org/schema/core/activemq-core-5.0.0.xsd</a>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <a
shape="rect" class="external-link" href="http://activemq.org/config/1.0" rel="nofollow">http://activemq.org/config/1.0</a>
</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>
XBean XML Reference 5.1 </p><
 /td><td colspan="1" rowspan="1" class="confluenceTd"><p> <a shape="rect"
class="external-link" href="http://activemq.apache.org/schema/core/activemq-core-5.1.0.xsd.html">Reference</a>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <a
shape="rect" class="external-link" href="http://activemq.apache.org/schema/core/activemq-core-5.1.0.xsd">http://activemq.apache.org/schema/core/activemq-core-5.1.0.xsd</a>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <a
shape="rect" class="external-link" href="http://activemq.apache.org/schema/core">http://activemq.apache.org/schema/core</a>
</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>
XBean XML Reference 5.2 </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>
<a shape="rect" class="external-link" href="http://activemq.apache.org/schema/core/activemq-core-5.2.0.xsd.html">Reference</a>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <a
shape="rect" class="external-link" hre
 f="http://activemq.apache.org/schema/core/activemq-core-5.2.0.xsd">http://activemq.apache.org/schema/core/activemq-core-5.2.0.xsd</a>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <a
shape="rect" class="external-link" href="http://activemq.apache.org/schema/core">http://activemq.apache.org/schema/core</a>
</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>
XBean XML Reference 5.3.0 </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>
<a shape="rect" class="external-link" href="http://activemq.apache.org/schema/core/activemq-core-5.3.0-schema.html">Reference</a>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <a
shape="rect" class="external-link" href="http://activemq.apache.org/schema/core/activemq-core-5.3.0.xsd">http://activemq.apache.org/schema/core/activemq-core-5.3.0.xsd</a>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <a
shape="rect" class="external-link" href="http://activemq.apache.org/schema/core">ht
 tp://activemq.apache.org/schema/core</a> </p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p> XBean XML Reference 5.3.1 </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> <a shape="rect" class="external-link"
href="http://activemq.apache.org/schema/core/activemq-core-5.3.1-schema.html">Reference</a>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <a
shape="rect" class="external-link" href="http://activemq.apache.org/schema/core/activemq-core-5.3.1.xsd">http://activemq.apache.org/schema/core/activemq-core-5.3.1.xsd</a>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <a
shape="rect" class="external-link" href="http://activemq.apache.org/schema/core">http://activemq.apache.org/schema/core</a>
</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>
XBean XML Reference 5.3.2 </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>
<a shape="rect" class="external-link" href="http://activemq.apache.org/schema/core
 /activemq-core-5.3.2-schema.html">Reference</a> </p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p> <a shape="rect" class="external-link" href="http://activemq.apache.org/schema/core/activemq-core-5.3.2.xsd">http://activemq.apache.org/schema/core/activemq-core-5.3.2.xsd</a>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <a
shape="rect" class="external-link" href="http://activemq.apache.org/schema/core">http://activemq.apache.org/schema/core</a>
</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>
XBean XML Reference 5.4.0 </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>
<a shape="rect" class="external-link" href="http://activemq.apache.org/schema/core/activemq-core-5.4.0-schema.html">Reference</a>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <a
shape="rect" class="external-link" href="http://activemq.apache.org/schema/core/activemq-core-5.4.0.xsd">http://activemq.apache.org/schema/core/activemq-core-5.4.0.xsd</
 a> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>
<a shape="rect" class="external-link" href="http://activemq.apache.org/schema/core">http://activemq.apache.org/schema/core</a>
</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>
XBean XML Reference 5.4.1 </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>
<a shape="rect" class="external-link" href="http://activemq.apache.org/schema/core/activemq-core-5.4.1-schema.html">Reference</a>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <a
shape="rect" class="external-link" href="http://activemq.apache.org/schema/core/activemq-core-5.4.1.xsd">http://activemq.apache.org/schema/core/activemq-core-5.4.1.xsd</a>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <a
shape="rect" class="external-link" href="http://activemq.apache.org/schema/core">http://activemq.apache.org/schema/core</a>
</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>
XBean XML Reference
  5.4.2 </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>
<a shape="rect" class="external-link" href="http://activemq.apache.org/schema/core/activemq-core-5.4.2-schema.html">Reference</a>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <a
shape="rect" class="external-link" href="http://activemq.apache.org/schema/core/activemq-core-5.4.2.xsd">http://activemq.apache.org/schema/core/activemq-core-5.4.2.xsd</a>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <a
shape="rect" class="external-link" href="http://activemq.apache.org/schema/core">http://activemq.apache.org/schema/core</a>
</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>
XBean XML Reference 5.5.0 </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>
<a shape="rect" class="external-link" href="http://activemq.apache.org/schema/core/activemq-core-5.5.0-schema.html">Reference</a>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <a
shape="rect" class
 ="external-link" href="http://activemq.apache.org/schema/core/activemq-core-5.5.0.xsd">http://activemq.apache.org/schema/core/activemq-core-5.5.0.xsd</a>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <a
shape="rect" class="external-link" href="http://activemq.apache.org/schema/core">http://activemq.apache.org/schema/core</a>
</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>
XBean XML Reference 5.6.0 </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>
<a shape="rect" class="external-link" href="http://activemq.apache.org/schema/core/activemq-core-5.6.0-schema.html">Reference</a>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <a
shape="rect" class="external-link" href="http://activemq.apache.org/schema/core/activemq-core-5.6.0.xsd">http://activemq.apache.org/schema/core/activemq-core-5.6.0.xsd</a>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <a
shape="rect" class="external-link" href="http://activemq.apache
 .org/schema/core">http://activemq.apache.org/schema/core</a> </p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p> XBean XML Reference 5.7.0 </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> <a shape="rect" class="external-link"
href="http://activemq.apache.org/schema/core/activemq-core-5.7.0-schema.html">Reference</a>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <a
shape="rect" class="external-link" href="http://activemq.apache.org/schema/core/activemq-core-5.7.0.xsd">http://activemq.apache.org/schema/core/activemq-core-5.7.0.xsd</a>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <a
shape="rect" class="external-link" href="http://activemq.apache.org/schema/core">http://activemq.apache.org/schema/core</a>
</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>
XBean XML Reference 5.8.0 </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>
<a shape="rect" class="external-link" href="http://activemq.ap
 ache.org/schema/core/activemq-core-5.8.0-schema.html">Reference</a> </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> <a shape="rect" class="external-link"
href="http://activemq.apache.org/schema/core/activemq-core-5.8.0.xsd">http://activemq.apache.org/schema/core/activemq-core-5.8.0.xsd</a>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <a
shape="rect" class="external-link" href="http://activemq.apache.org/schema/core">http://activemq.apache.org/schema/core</a>
</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>
XBean XML Reference 5.9.0 </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>
<a shape="rect" class="external-link" href="http://activemq.apache.org/schema/core/activemq-core-5.9.0-schema.html">Reference</a>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <a
shape="rect" class="external-link" href="http://activemq.apache.org/schema/core/activemq-core-5.9.0.xsd">http://activemq.apache.org/schema/core/activ
 emq-core-5.9.0.xsd</a> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>
<a shape="rect" class="external-link" href="http://activemq.apache.org/schema/core">http://activemq.apache.org/schema/core</a>
</p></td></tr></tbody></table></div>
-
-
-<h2 id="XmlReference-UsingtheXSDsinconfigurationfiles">Using the XSDs in configuration
files</h2>
-
-<p>If you are using XBean to parse the XML configurations, the XML validation is optional
so you do not need to specify the XML Schema Locations. However if you are using <a shape="rect"
class="unresolved" href="#">Spring</a>'s 2.0 XML handling to parse the XML then you
need to refer to the XSD locations in your XML document because Spring uses schema namespace
or schema location to resolve namespace handlers. Without correct namespace definition you
will get messages like below:</p>
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent
pdl">
+<div class="wiki-content maincontent"><h2 id="XmlReference-ActiveMQXmlReference">ActiveMQ
Xml Reference</h2><p>This page contains a link to the XML reference guides and
XML schema documents for <a shape="rect" href="xml-configuration.html">Xml Configuration</a>
with ActiveMQ releases</p><h3 id="XmlReference-ReleasedSchemas">Released Schemas</h3><div
class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1"
rowspan="1" class="confluenceTh"><p>Reference Document</p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p>Reference</p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p>XML Schema</p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p>XML Schema namespace</p></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" href="xbean-xml-reference-41.html">XBean
XML Reference 4.1</a></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a
shape="rect" class="external-link" href="http://activemq.apache.org/schema/core/
 activemq-core-4.1.2.xsd.html">Reference</a></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link" href="http://activemq.apache.org/schema/core/activemq-core-4.1.2.xsd">http://activemq.apache.org/schema/core/activemq-core-4.1.2.xsd</a></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link"
href="http://activemq.org/config/1.0" rel="nofollow">http://activemq.org/config/1.0</a></p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" href="xbean-xml-reference-50.html">XBean
XML Reference 5.0</a></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a
shape="rect" class="external-link" href="http://activemq.apache.org/schema/core/activemq-core-5.0.0.xsd.html">Reference</a></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link"
href="http://activemq.apache.org/schema/core/activemq-core-5.0.0.xsd">http://activemq.apache.org/sc
 hema/core/activemq-core-5.0.0.xsd</a></p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p><a shape="rect" class="external-link" href="http://activemq.org/config/1.0"
rel="nofollow">http://activemq.org/config/1.0</a></p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>XBean XML Reference 5.1</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link"
href="http://activemq.apache.org/schema/core/activemq-core-5.1.0.xsd.html">Reference</a></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link"
href="http://activemq.apache.org/schema/core/activemq-core-5.1.0.xsd">http://activemq.apache.org/schema/core/activemq-core-5.1.0.xsd</a></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link"
href="http://activemq.apache.org/schema/core">http://activemq.apache.org/schema/core</a></p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>XB
 ean XML Reference 5.2</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a
shape="rect" class="external-link" href="http://activemq.apache.org/schema/core/activemq-core-5.2.0.xsd.html">Reference</a></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link"
href="http://activemq.apache.org/schema/core/activemq-core-5.2.0.xsd">http://activemq.apache.org/schema/core/activemq-core-5.2.0.xsd</a></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link"
href="http://activemq.apache.org/schema/core">http://activemq.apache.org/schema/core</a></p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>XBean XML Reference 5.3.0</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link"
href="http://activemq.apache.org/schema/core/activemq-core-5.3.0-schema.html">Reference</a></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class
 ="external-link" href="http://activemq.apache.org/schema/core/activemq-core-5.3.0.xsd">http://activemq.apache.org/schema/core/activemq-core-5.3.0.xsd</a></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link"
href="http://activemq.apache.org/schema/core">http://activemq.apache.org/schema/core</a></p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>XBean XML Reference 5.3.1</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link"
href="http://activemq.apache.org/schema/core/activemq-core-5.3.1-schema.html">Reference</a></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link"
href="http://activemq.apache.org/schema/core/activemq-core-5.3.1.xsd">http://activemq.apache.org/schema/core/activemq-core-5.3.1.xsd</a></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link"
href="http://activemq.apache.org/schem
 a/core">http://activemq.apache.org/schema/core</a></p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>XBean XML Reference 5.3.2</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link"
href="http://activemq.apache.org/schema/core/activemq-core-5.3.2-schema.html">Reference</a></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link"
href="http://activemq.apache.org/schema/core/activemq-core-5.3.2.xsd">http://activemq.apache.org/schema/core/activemq-core-5.3.2.xsd</a></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link"
href="http://activemq.apache.org/schema/core">http://activemq.apache.org/schema/core</a></p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>XBean XML Reference 5.4.0</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link"
href="http://activemq.apache.org/schema/core/a
 ctivemq-core-5.4.0-schema.html">Reference</a></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link" href="http://activemq.apache.org/schema/core/activemq-core-5.4.0.xsd">http://activemq.apache.org/schema/core/activemq-core-5.4.0.xsd</a></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link"
href="http://activemq.apache.org/schema/core">http://activemq.apache.org/schema/core</a></p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>XBean XML Reference 5.4.1</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link"
href="http://activemq.apache.org/schema/core/activemq-core-5.4.1-schema.html">Reference</a></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link"
href="http://activemq.apache.org/schema/core/activemq-core-5.4.1.xsd">http://activemq.apache.org/schema/core/activemq-core-5.4.1.xsd</a></p></td><
 td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link"
href="http://activemq.apache.org/schema/core">http://activemq.apache.org/schema/core</a></p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>XBean XML Reference 5.4.2</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link"
href="http://activemq.apache.org/schema/core/activemq-core-5.4.2-schema.html">Reference</a></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link"
href="http://activemq.apache.org/schema/core/activemq-core-5.4.2.xsd">http://activemq.apache.org/schema/core/activemq-core-5.4.2.xsd</a></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link"
href="http://activemq.apache.org/schema/core">http://activemq.apache.org/schema/core</a></p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>XBean XML Reference 5.5.0</p></td><td
colsp
 an="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link"
href="http://activemq.apache.org/schema/core/activemq-core-5.5.0-schema.html">Reference</a></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link"
href="http://activemq.apache.org/schema/core/activemq-core-5.5.0.xsd">http://activemq.apache.org/schema/core/activemq-core-5.5.0.xsd</a></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link"
href="http://activemq.apache.org/schema/core">http://activemq.apache.org/schema/core</a></p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>XBean XML Reference 5.6.0</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link"
href="http://activemq.apache.org/schema/core/activemq-core-5.6.0-schema.html">Reference</a></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link"
href="http://active
 mq.apache.org/schema/core/activemq-core-5.6.0.xsd">http://activemq.apache.org/schema/core/activemq-core-5.6.0.xsd</a></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link"
href="http://activemq.apache.org/schema/core">http://activemq.apache.org/schema/core</a></p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>XBean XML Reference 5.7.0</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link"
href="http://activemq.apache.org/schema/core/activemq-core-5.7.0-schema.html">Reference</a></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link"
href="http://activemq.apache.org/schema/core/activemq-core-5.7.0.xsd">http://activemq.apache.org/schema/core/activemq-core-5.7.0.xsd</a></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link"
href="http://activemq.apache.org/schema/core">http://activemq.apache.org/s
 chema/core</a></p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p>XBean XML Reference 5.8.0</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link" href="http://activemq.apache.org/schema/core/activemq-core-5.8.0-schema.html">Reference</a></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link"
href="http://activemq.apache.org/schema/core/activemq-core-5.8.0.xsd">http://activemq.apache.org/schema/core/activemq-core-5.8.0.xsd</a></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link"
href="http://activemq.apache.org/schema/core">http://activemq.apache.org/schema/core</a></p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>XBean XML Reference 5.9.0</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link"
href="http://activemq.apache.org/schema/core/activemq-core-5.9.0-schema.html">Refe
 rence</a></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a
shape="rect" class="external-link" href="http://activemq.apache.org/schema/core/activemq-core-5.9.0.xsd">http://activemq.apache.org/schema/core/activemq-core-5.9.0.xsd</a></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link"
href="http://activemq.apache.org/schema/core">http://activemq.apache.org/schema/core</a></p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><span>XBean XML Reference 5.10.0</span></td><td
colspan="1" rowspan="1" class="confluenceTd"><a shape="rect" class="external-link" href="http://activemq.apache.org/schema/core/activemq-core-5.10.0-schema.html">Reference</a></td><td
colspan="1" rowspan="1" class="confluenceTd"><a shape="rect" class="external-link" href="http://activemq.apache.org/schema/core/activemq-core-5.10.0.xsd">http://activemq.apache.org/schema/core/activemq-core-5.10.0.xsd</a></td><td
colspan="1" rowspan="1" class="conflu
 enceTd"><a shape="rect" class="external-link" href="http://activemq.apache.org/schema/core">http://activemq.apache.org/schema/core</a></td></tr></tbody></table></div><h2
id="XmlReference-UsingtheXSDsinconfigurationfiles">Using the XSDs in configuration files</h2><p>If
you are using XBean to parse the XML configurations, the XML validation is optional so you
do not need to specify the XML Schema Locations. However if you are using <a shape="rect"
class="unresolved" href="#">Spring</a>'s 2.0 XML handling to parse the XML then you
need to refer to the XSD locations in your XML document because Spring uses schema namespace
or schema location to resolve namespace handlers. Without correct namespace definition you
will get messages like below:</p><div class="code panel pdl" style="border-width:
1px;"><div class="codeContent panelContent pdl">
 <script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[Unable
to locate NamespaceHandler for namespace [http://activemq.org/config/1.0]]]></script>
-</div></div>
-
-<p>You can refer to a specific version of the XSD in your XML as follows</p>
-
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent
pdl">
-<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
-&lt;beans xmlns=&quot;http://www.springframework.org/schema/beans&quot;
+</div></div><p>You can refer to a specific version of the XSD in your XML
as follows</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent
panelContent pdl">
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[&lt;beans
xmlns=&quot;http://www.springframework.org/schema/beans&quot;
     xmlns:amq=&quot;http://activemq.org/config/1.0&quot;
     xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;
     xsi:schemaLocation=&quot;
         http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
         http://activemq.org/config/1.0 http://activemq.apache.org/schema/core/activemq-core-4.1.2.xsd&quot;&gt;
 ]]></script>
-</div></div>
-
-<p>or if you prefer you can use a generic XSD without the version number</p>
-
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent
pdl">
-<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
-&lt;beans xmlns=&quot;http://www.springframework.org/schema/beans&quot;
+</div></div><p>or if you prefer you can use a generic XSD without the version
number</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent
panelContent pdl">
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[&lt;beans
xmlns=&quot;http://www.springframework.org/schema/beans&quot;
     xmlns:amq=&quot;http://activemq.org/config/1.0&quot;
     xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;
     xsi:schemaLocation=&quot;
         http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
         http://activemq.org/config/1.0 http://activemq.apache.org/schema/activemq-core.xsd&quot;&gt;
 ]]></script>
-</div></div>
-<p>Your IDE won't be able to fetch this XSD, you'll have to manually associate a specific
release; however it does mean that you won't have to upgrade your XML config file with each
ActiveMQ release; as it will resolve this XSD using the bundled XSD inside the activemq-core.jar.</p>
-
-<h3 id="XmlReference-Payattentiontothenamespace">Pay attention to the namespace</h3>
-
-<p>If you use ActiveMQ 5.0 or earlier you XML namespace definition should point to
<code><a shape="rect" class="external-link" href="http://activemq.org/config/1.0"
rel="nofollow">http://activemq.org/config/1.0</a></code>. If you use ActiveMQ
5.1 or later the namespace should point to <code><a shape="rect" class="external-link"
href="http://activemq.apache.org/schema/core">http://activemq.apache.org/schema/core</a></code>.</p>
-
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeHeader panelHeader
pdl" style="border-bottom-width: 1px;"><b>ActiveMQ 5.2 example</b></div><div
class="codeContent panelContent pdl">
-<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
-&lt;beans xmlns=&quot;http://www.springframework.org/schema/beans&quot;
+</div></div><p>Your IDE won't be able to fetch this XSD, you'll have to
manually associate a specific release; however it does mean that you won't have to upgrade
your XML config file with each ActiveMQ release; as it will resolve this XSD using the bundled
XSD inside the activemq-core.jar.</p><h3 id="XmlReference-Payattentiontothenamespace">Pay
attention to the namespace</h3><p>If you use ActiveMQ 5.0 or earlier you XML namespace
definition should point to <code><a shape="rect" class="external-link" href="http://activemq.org/config/1.0"
rel="nofollow">http://activemq.org/config/1.0</a></code>. If you use ActiveMQ
5.1 or later the namespace should point to <code><a shape="rect" class="external-link"
href="http://activemq.apache.org/schema/core">http://activemq.apache.org/schema/core</a></code>.</p><div
class="code panel pdl" style="border-width: 1px;"><div class="codeHeader panelHeader
pdl" style="border-bottom-width: 1px;"><b>ActiveMQ 5.2 example</b></div><div
class="codeContent pa
 nelContent pdl">
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[&lt;beans
xmlns=&quot;http://www.springframework.org/schema/beans&quot;
     xmlns:amq=&quot;http://activemq.apache.org/schema/core&quot;
     xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;
     xsi:schemaLocation=&quot;
@@ -142,11 +112,8 @@
     &quot;&gt;
 &lt;/beans&gt;
 ]]></script>
-</div></div>
-
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeHeader panelHeader
pdl" style="border-bottom-width: 1px;"><b>ActiveMQ 5.0 example</b></div><div
class="codeContent panelContent pdl">
-<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
-&lt;beans xmlns=&quot;http://www.springframework.org/schema/beans&quot;
+</div></div><div class="code panel pdl" style="border-width: 1px;"><div
class="codeHeader panelHeader pdl" style="border-bottom-width: 1px;"><b>ActiveMQ
5.0 example</b></div><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[&lt;beans
xmlns=&quot;http://www.springframework.org/schema/beans&quot;
     xmlns:amq=&quot;http://activemq.org/config/1.0&quot;
     xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;
     xsi:schemaLocation=&quot;
@@ -157,27 +124,9 @@
     &quot;&gt;
 &lt;/beans&gt;
 ]]></script>
-</div></div>
-<p>Both examples above are almost the same. Only one difference is xml namespace. You
can find more information about the namespace change on <a shape="rect" class="external-link"
href="http://old.nabble.com/ActiveMQ-namespace-change-td16769650.html" rel="nofollow">activemq-dev
topic: ActiveMQ namespace change</a>.</p>
-
-<h3 id="XmlReference-SchemaValidation">Schema Validation</h3>
-
-<p><strong>Note:</strong> The xml configuration ordering constraint is
removed in <a shape="rect" class="external-link" href="https://issues.apache.org/jira/browse/AMQ-3570">5.6</a>,
the broker element </p>
-
-<h4 id="XmlReference-AlphabeticallyOrderedXMLElements(5.4-5.5.1)">Alphabetically Ordered
XML Elements (5.4 - 5.5.1)</h4>
-
-<p>XMLSchema:sequence is replaced with an XMLSchema:all</p>
-
-<p>Note: from version 5.4.2, you can disable validation from the command line by appending
a query parameter to the xbean url. This will allow you to reuse your existing xml configuration
'as is' if needed. </p>
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent
pdl">
+</div></div><p>Both examples above are almost the same. Only one difference
is xml namespace. You can find more information about the namespace change on <a shape="rect"
class="external-link" href="http://old.nabble.com/ActiveMQ-namespace-change-td16769650.html"
rel="nofollow">activemq-dev topic: ActiveMQ namespace change</a>.</p><h3
id="XmlReference-SchemaValidation">Schema Validation</h3><p><strong>Note:</strong>
The xml configuration ordering constraint is removed in <a shape="rect" class="external-link"
href="https://issues.apache.org/jira/browse/AMQ-3570">5.6</a>, the broker element</p><h4
id="XmlReference-AlphabeticallyOrderedXMLElements(5.4-5.5.1)">Alphabetically Ordered XML
Elements (5.4 - 5.5.1)</h4><p>XMLSchema:sequence is replaced with an XMLSchema:all</p><p>Note:
from version 5.4.2, you can disable validation from the command line by appending a query
parameter to the xbean url. This will allow you to reuse your existing xml configuration 'as
is' if needed.</p><div class
 ="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
 <script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[bin/activemq
console xbean:conf/activemq.xml?validate=false]]></script>
-</div></div>
-
-<p>Beginning in ActiveMQ 5.4, the XML elements inside the <code>&lt;broker&gt;</code>
element must be ordered alphabetically. If you look at the XSD, this has always been the case
with ActiveMQ. The difference in 5.4 is that the XML configuration is actually being validated
against the XML schema.</p>
-
-<p>For example, the following XML configuration did not present a problem in ActiveMQ
5.3.x: </p>
-
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent
pdl">
+</div></div><p>Beginning in ActiveMQ 5.4, the XML elements inside the <code>&lt;broker&gt;</code>
element must be ordered alphabetically. If you look at the XSD, this has always been the case
with ActiveMQ. The difference in 5.4 is that the XML configuration is actually being validated
against the XML schema.</p><p>For example, the following XML configuration did
not present a problem in ActiveMQ 5.3.x:</p><div class="code panel pdl" style="border-width:
1px;"><div class="codeContent panelContent pdl">
 <script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[

 &lt;?xml version=&quot;1.0&quot;?&gt;
 &lt;beans xmlns=&quot;http://www.springframework.org/schema/beans&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;

@@ -233,17 +182,9 @@ http://camel.apache.org/schema/spring ht
   
 &lt;/beans&gt;
 ]]></script>
-</div></div> 
-
-<p>However, in ActiveMQ 5.4, the XML configuration above would cause an exception similar
to the following: </p>
-
-<div class="panel" style="border-width: 1px;"><div class="panelContent">
+</div></div><p>However, in ActiveMQ 5.4, the XML configuration above would
cause an exception similar to the following:</p><div class="panel" style="border-width:
1px;"><div class="panelContent">
 <p>Caused by: org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content
was found starting with element 'persistenceAdapter'. One of '{"http://activemq.apache.org/schema/core":producerSystemUsage,
"http://activemq.apache.org/schema/core":proxyConnectors, "http://activemq.apache.org/schema/core":regionBroker,
"http://activemq.apache.org/schema/core":services, "http://activemq.apache.org/schema/core":shutdownHooks,
"http://activemq.apache.org/schema/core":sslContext, "http://activemq.apache.org/schema/core":systemUsage,
"http://activemq.apache.org/schema/core":taskRunnerFactory, "http://activemq.apache.org/schema/core":tempDataStore,
"http://activemq.apache.org/schema/core":transportConnectorURIs, "http://activemq.apache.org/schema/core":transportConnectors,
WC<a shape="rect" class="unresolved" href="#">"http://activemq.apache.org/schema/core"</a>}'
is expected.</p>
-</div></div> 
-
-<p>To avoid this XML validation error in ActiveMQ 5.4, simply change the ordering of
the XML elements so that they are in alphabetical order. Below is an example of the same XML
configuration but in alphabetical order: </p>
-
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent
pdl">
+</div></div><p>To avoid this XML validation error in ActiveMQ 5.4, simply
change the ordering of the XML elements so that they are in alphabetical order. Below is an
example of the same XML configuration but in alphabetical order:</p><div class="code
panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
 <script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[

 &lt;?xml version=&quot;1.0&quot;?&gt;
 &lt;beans xmlns=&quot;http://www.springframework.org/schema/beans&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;

@@ -299,29 +240,9 @@ http://camel.apache.org/schema/spring ht
   
 &lt;/beans&gt;
 ]]></script>
-</div></div> 
-
-<p>Configurations can be easily tested against ActiveMQ 5.4 using the ActiveMQ startup
script. Below is an example: </p>
-
-<div class="panel" style="border-width: 1px;"><div class="panelContent">
-<p>$ cd $ACTIVEMQ_HOME<br clear="none">
-$ ./bin/activemq console xbean:file:/Users/bsnyder/SpringSource/clients/Finra/activemq-example-unordered.xml
<br clear="none">
-INFO: Using default configuration<br clear="none">
-(you can configure options in one of these file: /etc/default/activemq /Users/bsnyder/.activemqrc)</p>
-
-<p>INFO: Invoke the following command to create a configuration file<br clear="none">
-./bin/activemq setup [ /etc/default/activemq | /Users/bsnyder/.activemqrc ]</p>
-
-<p>INFO: Using java '/System/Library/Frameworks/JavaVM.framework/Home/bin/java'<br
clear="none">
-INFO: Starting in foreground, this is just for debugging purposes (stop process by pressing
CTRL+C)<br clear="none">
-Java Runtime: Apple Inc. 1.6.0_20 /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home<br
clear="none">
-  Heap sizes: current=258880k  free=253106k  max=258880k<br clear="none">
-    JVM args: -Xms256M -Xmx256M -Dorg.apache.activemq.UseDedicatedTaskRunner=true -Djava.util.logging.config.file=logging.properties
-Dcom.sun.management.jmxremote -Dactivemq.classpath=/Users/bsnyder/amq/apache-activemq-5.4.1/conf;
-Dactivemq.home=/Users/bsnyder/amq/apache-activemq-5.4.1 -Dactivemq.base=/Users/bsnyder/amq/apache-activemq-5.4.1<br
clear="none">
-ACTIVEMQ_HOME: /Users/bsnyder/amq/apache-activemq-5.4.1<br clear="none">
-ACTIVEMQ_BASE: /Users/bsnyder/amq/apache-activemq-5.4.1<br clear="none">
-Loading message broker from: xbean:file:/Users/bsnyder/SpringSource/clients/Finra/activemq-example-unordered.xml<br
clear="none">
-...</p>
-</div></div> </div>
+</div></div><p>Configurations can be easily tested against ActiveMQ 5.4
using the ActiveMQ startup script. Below is an example:</p><div class="panel" style="border-width:
1px;"><div class="panelContent">
+<p>$ cd $ACTIVEMQ_HOME<br clear="none"> $ ./bin/activemq console xbean:file:/Users/bsnyder/SpringSource/clients/Finra/activemq-example-unordered.xml
<br clear="none"> INFO: Using default configuration<br clear="none"> (you can
configure options in one of these file: /etc/default/activemq /Users/bsnyder/.activemqrc)</p><p>INFO:
Invoke the following command to create a configuration file<br clear="none"> ./bin/activemq
setup [ /etc/default/activemq | /Users/bsnyder/.activemqrc ]</p><p>INFO: Using
java '/System/Library/Frameworks/JavaVM.framework/Home/bin/java'<br clear="none"> INFO:
Starting in foreground, this is just for debugging purposes (stop process by pressing CTRL+C)<br
clear="none"> Java Runtime: Apple Inc. 1.6.0_20 /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home<br
clear="none"> Heap sizes: current=258880k free=253106k max=258880k<br clear="none">
JVM args: -Xms256M -Xmx256M -Dorg.apache.activemq.UseDedicatedTaskRunner=true -Djava.util.logging.config.file=log
 ging.properties -Dcom.sun.management.jmxremote -Dactivemq.classpath=/Users/bsnyder/amq/apache-activemq-5.4.1/conf;
-Dactivemq.home=/Users/bsnyder/amq/apache-activemq-5.4.1 -Dactivemq.base=/Users/bsnyder/amq/apache-activemq-5.4.1<br
clear="none"> ACTIVEMQ_HOME: /Users/bsnyder/amq/apache-activemq-5.4.1<br clear="none">
ACTIVEMQ_BASE: /Users/bsnyder/amq/apache-activemq-5.4.1<br clear="none"> Loading message
broker from: xbean:file:/Users/bsnyder/SpringSource/clients/Finra/activemq-example-unordered.xml<br
clear="none"> ...</p>
+</div></div></div>
         </td>
         <td valign="top">
           <div class="navigation">



Mime
View raw message