blob: 4fdf9790593317962d1ed624a279a98d8b8d99a1 [file] [log] [blame]
<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.xml">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.xml">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.xml">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" 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/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.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">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/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"><p><span>XBean XML Reference 5.10.0</span></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.10.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.10.0.xsd">http://activemq.apache.org/schema/core/activemq-core-5.10.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.10.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.10.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.10.1.xsd">http://activemq.apache.org/schema/core/activemq-core-5.10.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><span>XBean XML Reference 5.10.2</span></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><span><a shape="rect" class="external-link" href="http://activemq.apache.org/schema/core/activemq-core-5.11.0-schema.html">Reference</a> </span></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><span> <a shape="rect" class="external-link" href="http://activemq.apache.org/schema/core/activemq-core-5.10.1.xsd">http://activemq.apache.org/schema/core/activemq-core-5.11.0.xsd</a> </span></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.11.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.11.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.11.0.xsd">http://activemq.apache.org/schema/core/activemq-core-5.11.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.11.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.11.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.11.1.xsd">http://activemq.apache.org/schema/core/activemq-core-5.11.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.11.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.11.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.11.2.xsd">http://activemq.apache.org/schema/core/activemq-core-5.11.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.11.3</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.11.3-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.11.3.xsd">http://activemq.apache.org/schema/core/activemq-core-5.11.3.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.12.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.12.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.12.0.xsd">http://activemq.apache.org/schema/core/activemq-core-5.12.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.12.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.12.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.12.1.xsd">http://activemq.apache.org/schema/core/activemq-core-5.12.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.13.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.13.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.13.0.xsd">http://activemq.apache.org/schema/core/activemq-core-5.13.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.13.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.13.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.13.1.xsd">http://activemq.apache.org/schema/core/activemq-core-5.13.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.13.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.13.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.13.2.xsd">http://activemq.apache.org/schema/core/activemq-core-5.13.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.13.3</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.13.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.13.3.xsd">http://activemq.apache.org/schema/core/activemq-core-5.13.3.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.13.4</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.13.4-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.13.4.xsd">http://activemq.apache.org/schema/core/activemq-core-5.13.4.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.14.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.14.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.14.0.xsd">http://activemq.apache.org/schema/core/activemq-core-5.14.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.14.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.14.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.14.1.xsd">http://activemq.apache.org/schema/core/activemq-core-5.14.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.14.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.14.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.14.2.xsd">http://activemq.apache.org/schema/core/activemq-core-5.14.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.14.3</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.14.3-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.14.3.xsd">http://activemq.apache.org/schema/core/activemq-core-5.14.3.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.14.4</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.14.4-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.14.4.xsd">http://activemq.apache.org/schema/core/activemq-core-5.14.4.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.14.5</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.14.5-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.14.5.xsd">http://activemq.apache.org/schema/core/activemq-core-5.14.5.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">
<script class="brush: java; gutter: false; theme: Default" 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="brush: java; gutter: false; theme: Default" 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="brush: java; gutter: false; theme: Default" 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="brush: java; gutter: false; theme: Default" 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;
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
http://activemq.apache.org/schema/core
http://activemq.apache.org/schema/core/activemq-core-5.2.0.xsd
&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="brush: java; gutter: false; theme: Default" 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.xsd
http://activemq.org/config/1.0
http://activemq.apache.org/schema/core/activemq-core-5.0.0.xsd
&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">
<script class="brush: java; gutter: false; theme: Default" 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">
<script class="brush: java; gutter: false; theme: Default" 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;
xsi:schemaLocation=&quot;http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
http://activemq.apache.org/schema/core http://activemq.apache.org/schema/core/activemq-core.xsd
http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd&quot;&gt;
&lt;broker xmlns=&quot;http://activemq.apache.org/schema/core&quot; brokerName=&quot;brokerB1&quot; destroyApplicationContextOnStop=&quot;true&quot;&gt;
&lt;plugins&gt;
&lt;loggingBrokerPlugin/&gt;
&lt;/plugins&gt;
&lt;persistenceAdapter&gt;
&lt;kahaDB directory=&quot;${activemq.base}/data/kahadb&quot; enableJournalDiskSyncs=&quot;false&quot; indexWriteBatchSize=&quot;10000&quot; indexCacheSize=&quot;1000&quot;/&gt;
&lt;/persistenceAdapter&gt;
&lt;destinationPolicy&gt;
&lt;policyMap&gt;
&lt;policyEntries&gt;
&lt;policyEntry queue=&quot;&gt;&quot; producerFlowControl=&quot;true&quot; memoryLimit=&quot;5mb&quot;&gt;
&lt;deadLetterStrategy&gt;
&lt;individualDeadLetterStrategy queuePrefix=&quot;DLQ.&quot; useQueueForQueueMessages=&quot;true&quot;/&gt;
&lt;/deadLetterStrategy&gt;
&lt;/policyEntry&gt;
&lt;/policyEntries&gt;
&lt;/policyMap&gt;
&lt;/destinationPolicy&gt;
&lt;managementContext&gt;
&lt;managementContext createConnector=&quot;false&quot;/&gt;
&lt;/managementContext&gt;
&lt;systemUsage&gt;
&lt;systemUsage&gt;
&lt;memoryUsage&gt;
&lt;memoryUsage limit=&quot;420 mb&quot;/&gt;
&lt;/memoryUsage&gt;
&lt;storeUsage&gt;
&lt;storeUsage limit=&quot;1 gb&quot;/&gt;
&lt;/storeUsage&gt;
&lt;tempUsage&gt;
&lt;tempUsage limit=&quot;250 mb&quot;/&gt;
&lt;/tempUsage&gt;
&lt;/systemUsage&gt;
&lt;/systemUsage&gt;
&lt;transportConnectors&gt;
&lt;transportConnector name=&quot;tcp&quot; uri=&quot;tcp://0.0.0.0:61616&quot;/&gt;
&lt;/transportConnectors&gt;
&lt;/broker&gt;
&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">
<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">
<script class="brush: java; gutter: false; theme: Default" 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;
xsi:schemaLocation=&quot;http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
http://activemq.apache.org/schema/core http://activemq.apache.org/schema/core/activemq-core.xsd
http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd&quot;&gt;
&lt;broker xmlns=&quot;http://activemq.apache.org/schema/core&quot; brokerName=&quot;brokerB1&quot; destroyApplicationContextOnStop=&quot;true&quot;&gt;
&lt;destinationPolicy&gt;
&lt;policyMap&gt;
&lt;policyEntries&gt;
&lt;policyEntry queue=&quot;&gt;&quot; producerFlowControl=&quot;true&quot; memoryLimit=&quot;5mb&quot;&gt;
&lt;deadLetterStrategy&gt;
&lt;individualDeadLetterStrategy queuePrefix=&quot;DLQ.&quot; useQueueForQueueMessages=&quot;true&quot;/&gt;
&lt;/deadLetterStrategy&gt;
&lt;/policyEntry&gt;
&lt;/policyEntries&gt;
&lt;/policyMap&gt;
&lt;/destinationPolicy&gt;
&lt;managementContext&gt;
&lt;managementContext createConnector=&quot;false&quot;/&gt;
&lt;/managementContext&gt;
&lt;persistenceAdapter&gt;
&lt;kahaDB directory=&quot;${activemq.base}/data/kahadb&quot; enableJournalDiskSyncs=&quot;false&quot; indexWriteBatchSize=&quot;10000&quot; indexCacheSize=&quot;1000&quot;/&gt;
&lt;/persistenceAdapter&gt;
&lt;plugins&gt;
&lt;loggingBrokerPlugin/&gt;
&lt;/plugins&gt;
&lt;systemUsage&gt;
&lt;systemUsage&gt;
&lt;memoryUsage&gt;
&lt;memoryUsage limit=&quot;420 mb&quot;/&gt;
&lt;/memoryUsage&gt;
&lt;storeUsage&gt;
&lt;storeUsage limit=&quot;1 gb&quot;/&gt;
&lt;/storeUsage&gt;
&lt;tempUsage&gt;
&lt;tempUsage limit=&quot;250 mb&quot;/&gt;
&lt;/tempUsage&gt;
&lt;/systemUsage&gt;
&lt;/systemUsage&gt;
&lt;transportConnectors&gt;
&lt;transportConnector name=&quot;tcp&quot; uri=&quot;tcp://0.0.0.0:61616&quot;/&gt;
&lt;/transportConnectors&gt;
&lt;/broker&gt;
&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>