activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r956228 [39/40] - in /websites/production/activemq/content: ./ 2004/08/17/ 2005/06/06/ 2005/07/13/ 2006/03/23/ 2007/04/18/ 2008/04/28/ 2009/04/17/ 2010/06/29/ cache/ cms/ nms/
Date Sat, 27 Jun 2015 21:23:58 GMT
Modified: websites/production/activemq/content/web-console.html
==============================================================================
--- websites/production/activemq/content/web-console.html (original)
+++ websites/production/activemq/content/web-console.html Sat Jun 27 21:23:55 2015
@@ -32,15 +32,6 @@
     </style>
     <![endif]-->
 
-          <link href='http://activemq.apache.org/styles/highlighter/styles/shCore.css' rel='stylesheet' type='text/css' /> 
-      <link href='http://activemq.apache.org/styles/highlighter/styles/shThemeEclipse.css' rel='stylesheet' type='text/css' /> 
-      <script src='http://activemq.apache.org/styles/highlighter/scripts/shCore.js' type='text/javascript'></script> 
-              <script src='http://activemq.apache.org/styles/highlighter/scripts/shBrushJava.js' type='text/javascript'></script> 
-         
-      <script type="text/javascript"> 
-        SyntaxHighlighter.defaults['toolbar'] = false; 
-        SyntaxHighlighter.all(); 
-      </script> 
     
     <title>
     Apache ActiveMQ &#8482; -- Web Console
@@ -82,7 +73,7 @@
         <tr>
         <td valign="top" width="100%">
 <div class="wiki-content maincontent"><p>The ActiveMQ Web Console is a web based administration tool for working with ActiveMQ. When used with the <a shape="rect" href="jmx.html">JMX</a> support it can be an invaluable tool for working with ActiveMQ</p><h3 id="WebConsole-RunningtheWebConsoleonActiveMQ5.0orlater">Running the Web Console on ActiveMQ 5.0 or later</h3><p>We have integrated the Web Console into the binary distribution. So <a shape="rect" href="download.html">Download</a> a binary distribution then follow the instructions for <a shape="rect" href="version-5-run-broker.html">Version 5 Run Broker</a>. Then you can point your web browser at the URL</p><ul><li><a shape="rect" class="external-link" href="http://localhost:8161/admin" rel="nofollow">http://localhost:8161/admin</a></li></ul><p>And hey presto, you should now have the Web Console running.</p><p>In the event that you are running a standalone broker and the Web Console is not reachable, check that the following lines
  are included in your ActiveMQ config xml:</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;bean class=&quot;org.springframework.beans.factory.config.PropertyPlaceholderConfigurer&quot;&gt;
+<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[&lt;bean class=&quot;org.springframework.beans.factory.config.PropertyPlaceholderConfigurer&quot;&gt;
 &lt;property name=&quot;locations&quot;&gt;
 &lt;value&gt;file:${activemq.base}/conf/credentials.properties&lt;/value&gt;
 &lt;/property&gt;
@@ -92,14 +83,14 @@
 
 &lt;import resource=&quot;${activemq.base}/conf/jetty.xml&quot; /&gt;]]></script>
 </div></div><p>The import will start up an embedded Jetty container. To verify that the config is working, the following should appear in your ActiveMQ console/logs on next startup:</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[INFO | jetty-7.1.6.v20100715
+<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[INFO | jetty-7.1.6.v20100715
 INFO | ActiveMQ WebConsole initialized.]]></script>
 </div></div><h3 id="WebConsole-Changingtheport">Changing the port</h3><p>If you want to change the port number of the web console, see the configuration files in the conf directory.</p><h3 id="WebConsole-SecuringWebConsole">Securing Web Console</h3><p>Starting with ActiveMQ 5.4.0, Web Console comes pre-configured with basic access authentication setup. It's turned off by default, so you need to turn it on explicitly, but it's really simple. Go to the <code>${ACTIVEMQ_HOME}/conf/jetty.xml</code> and find the following line</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;property name=&quot;authenticate&quot; value=&quot;false&quot; /&gt;]]></script>
+<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[&lt;property name=&quot;authenticate&quot; value=&quot;false&quot; /&gt;]]></script>
 </div></div><p>and change it to</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;property name=&quot;authenticate&quot; value=&quot;true&quot; /&gt;]]></script>
+<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[&lt;property name=&quot;authenticate&quot; value=&quot;true&quot; /&gt;]]></script>
 </div></div><p>That's it. From that point on, web server will look at <code>${ACTIVEMQ_HOME}/conf/jetty-realm.properties</code> file trying to match provided credentials with those listed in the file. By default, you can access the web console with <code>admin/admin</code> credentials. That can be changed (and more users can be added) in the <code>jetty-realm.properties</code> file.</p><p>You may also wish to enable <strong>ssl connector</strong> to further secure access to the web console and other web resources of the broker. To do that, go to the <code>${ACTIVEMQ_HOME}/conf/jetty.xml</code> and make sure you have the secure connector enabled. In versions 5.7 and newer just uncomment a predefined config. In any case make sure your connectors settings looks similar to this.</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;property name=&quot;connectors&quot;&gt;
+<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[        &lt;property name=&quot;connectors&quot;&gt;
             &lt;list&gt;
                 &lt;bean id=&quot;Connector&quot; class=&quot;org.eclipse.jetty.server.nio.SelectChannelConnector&quot;&gt;
                     &lt;property name=&quot;port&quot; value=&quot;8161&quot; /&gt;
@@ -112,7 +103,7 @@ INFO | ActiveMQ WebConsole initialized.]
             &lt;/list&gt;
         &lt;/property&gt;
 ]]></script>
-</div></div><p>Standard connector is left enabled in this example, but you can remove it in your configuration if you wish.</p><p>Note that these changes will affect the whole web server, so if you're using <a shape="rect" href="rest.html">REST</a> API or blob fileserver be sure to provide appropriate credentials.</p><p>If you're interested in securing 5.3.1 (and 5.3.2) Web consoles, take a look at <a shape="rect" class="external-link" href="http://www.nighttale.net/activemq/securing-activemq-531-console.html" rel="nofollow">this article</a>. For older versions, please refer to <a shape="rect" class="external-link" href="http://it.toolbox.com/blogs/unix-sysadmin/securing-activemq-web-console-27727" rel="nofollow">this article</a></p><h3 id="WebConsole-UsingtheWebConsole">Using the Web Console</h3><p>The web console is depicted in the following image:</p><p><img class="confluence-embedded-image confluence-thumbnail" src="web-console.thumbs/web_console.png" data-image-src="/confluence
 /download/attachments/36192/web_console.png?version=2&amp;modificationDate=1293812132000&amp;api=v2"></p><p>To get started, go to the <a shape="rect" class="external-link" href="http://localhost:8080/activemq-web-console/send.jsp" rel="nofollow">Send</a> page and send a message to a queue (you can send multiple if you like, see the message count field).</p><p>Now that you have sent messages to a queue you should be able to <a shape="rect" class="external-link" href="http://localhost:8080/activemq-web-console/browse.jsp" rel="nofollow">Browse</a> then and view the queue as an RSS or Atom feed.</p><p>The Web Console has many features relative to it's tabs as shown in the following table.</p><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p>Tab</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Features</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>Home</p></td><td colspan="1" rowspan="1
 " class="confluenceTd"><p><a shape="rect" class="external-link" href="http://activemq.apache.org/producer-flow-control.html#ProducerFlowControl-Systemusage">System Usage</a></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>Queues</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>Topics</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link" href="http://activemq.apache.org/advisory-message.html">Viewing Advisory Messages</a></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>Subscribers</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>Connections</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link" href="http://activemq.apache.org/protocols.html">Protocols</a></p></td></tr><tr><td colspan="
 1" rowspan="1" class="confluenceTd"><p>Scheduled</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>Send</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link" href="http://activemq.apache.org/delay-and-schedule-message-delivery.html">Delay and Schedule Message Delivery</a></p></td></tr></tbody></table></div><h1 id="WebConsole-ExternalWebConsoles">External Web Consoles</h1><p>There are a number of external web consoles for Apache ActiveMQ in separate open source projects:</p><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p>External Project</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link" href="http://hawt.io/" rel="nofollow">hawtio</a></p></td><td colspan="1" ro
 wspan="1" class="confluenceTd"><p>hawtio is an open source HTML5 web application for visualising, managing, tracing and debugging Camel routes &amp; endpoints, ActiveMQ brokers, JMX, OSGi and logging. Here is a <a shape="rect" class="external-link" href="http://sensatic.net/activemq/activemq-and-hawtio.html" rel="nofollow">blog entry</a> how to install hawtio as web console for ActiveMQ.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link" href="http://www.jboss.org/rhq" rel="nofollow">RHQ</a></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>RHQ is an open source operational monitoring tool which has support for Apache Camel (along with other Apache projects like Tomcat, httpd, ActiveMQ etc)</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><a shape="rect" class="external-link" href="http://www.hermesjms.com/confluence/display/HJMS/Home" rel="nofollow">Hermes JMS</a></td><td colspan="1" rowspan="1" clas
 s="confluenceTd">HermesJMS is an extensible console that helps you interact with JMS providers making it simple to publish and edit messages, browse or seach queues and topics, copy messages around and delete them.</td></tr></tbody></table></div></div>
+</div></div><p>Standard connector is left enabled in this example, but you can remove it in your configuration if you wish.</p><p>Note that these changes will affect the whole web server, so if you're using <a shape="rect" href="rest.html">REST</a> API or blob fileserver be sure to provide appropriate credentials.</p><p>If you're interested in securing 5.3.1 (and 5.3.2) Web consoles, take a look at <a shape="rect" class="external-link" href="http://www.nighttale.net/activemq/securing-activemq-531-console.html" rel="nofollow">this article</a>. For older versions, please refer to <a shape="rect" class="external-link" href="http://it.toolbox.com/blogs/unix-sysadmin/securing-activemq-web-console-27727" rel="nofollow">this article</a></p><h3 id="WebConsole-UsingtheWebConsole">Using the Web Console</h3><p>The web console is depicted in the following image:</p><p><span class="confluence-embedded-file-wrapper"><img class="confluence-embedded-image confluence-thumbnail" src="web-console.thum
 bs/web_console.png" data-image-src="/confluence/download/attachments/36192/web_console.png?version=2&amp;modificationDate=1293812132000&amp;api=v2" data-unresolved-comment-count="0" data-linked-resource-id="24347140" data-linked-resource-version="2" data-linked-resource-type="attachment" data-linked-resource-default-alias="web_console.png" data-base-url="https://cwiki.apache.org/confluence" data-linked-resource-content-type="image/png" data-linked-resource-container-id="36192" data-linked-resource-container-version="34"></span></p><p>To get started, go to the <a shape="rect" class="external-link" href="http://localhost:8080/activemq-web-console/send.jsp" rel="nofollow">Send</a> page and send a message to a queue (you can send multiple if you like, see the message count field).</p><p>Now that you have sent messages to a queue you should be able to <a shape="rect" class="external-link" href="http://localhost:8080/activemq-web-console/browse.jsp" rel="nofollow">Browse</a> then and view
  the queue as an RSS or Atom feed.</p><p>The Web Console has many features relative to it's tabs as shown in the following table.</p><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p>Tab</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Features</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>Home</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link" href="http://activemq.apache.org/producer-flow-control.html#ProducerFlowControl-Systemusage">System Usage</a></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>Queues</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>Topics</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link" href="http://activemq.apache.org/advisory-message.html">Viewing Advisory M
 essages</a></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>Subscribers</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>Connections</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link" href="http://activemq.apache.org/protocols.html">Protocols</a></p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>Scheduled</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>Send</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link" href="http://activemq.apache.org/delay-and-schedule-message-delivery.html">Delay and Schedule Message Delivery</a></p></td></tr></tbody></table></div><h1 id="WebConsole-ExternalWebConsoles">External Web Consoles</h1><p>There are a number of external web consoles for Apache Act
 iveMQ in separate open source projects:</p><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p>External Project</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link" href="http://hawt.io/" rel="nofollow">hawtio</a></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>hawtio is an open source HTML5 web application for visualising, managing, tracing and debugging Camel routes &amp; endpoints, ActiveMQ brokers, JMX, OSGi and logging. Here is a <a shape="rect" class="external-link" href="http://sensatic.net/activemq/activemq-and-hawtio.html" rel="nofollow">blog entry</a> how to install hawtio as web console for ActiveMQ.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" class="external-link" href="http://www.jboss.org/rhq" rel="nofollow">RHQ</a></p></td><td 
 colspan="1" rowspan="1" class="confluenceTd"><p>RHQ is an open source operational monitoring tool which has support for Apache Camel (along with other Apache projects like Tomcat, httpd, ActiveMQ etc)</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><a shape="rect" class="external-link" href="http://www.hermesjms.com/confluence/display/HJMS/Home" rel="nofollow">Hermes JMS</a></td><td colspan="1" rowspan="1" class="confluenceTd">HermesJMS is an extensible console that helps you interact with JMS providers making it simple to publish and edit messages, browse or seach queues and topics, copy messages around and delete them.</td></tr></tbody></table></div></div>
         </td>
         <td valign="top">
           <div class="navigation">

Modified: websites/production/activemq/content/web-samples.html
==============================================================================
--- websites/production/activemq/content/web-samples.html (original)
+++ websites/production/activemq/content/web-samples.html Sat Jun 27 21:23:55 2015
@@ -32,15 +32,6 @@
     </style>
     <![endif]-->
 
-          <link href='http://activemq.apache.org/styles/highlighter/styles/shCore.css' rel='stylesheet' type='text/css' /> 
-      <link href='http://activemq.apache.org/styles/highlighter/styles/shThemeEclipse.css' rel='stylesheet' type='text/css' /> 
-      <script src='http://activemq.apache.org/styles/highlighter/scripts/shCore.js' type='text/javascript'></script> 
-              <script src='http://activemq.apache.org/styles/highlighter/scripts/shBrushJava.js' type='text/javascript'></script> 
-         
-      <script type="text/javascript"> 
-        SyntaxHighlighter.defaults['toolbar'] = false; 
-        SyntaxHighlighter.all(); 
-      </script> 
     
     <title>
     Apache ActiveMQ &#8482; -- Web Samples
@@ -82,7 +73,7 @@
         <tr>
         <td valign="top" width="100%">
 <div class="wiki-content maincontent"><p>There are a few example programs demonstrating the <a shape="rect" href="rest.html">REST</a>, <a shape="rect" href="ajax.html">Ajax</a> and <a shape="rect" href="websockets.html">WebSockets</a> messaging that comes with the ActiveMQ distribution.</p><p>Up until version 5.8 web demos were included in the default configuration and could be accessed directly using <a shape="rect" class="external-link" href="http://localhost:8161/demo" rel="nofollow">http://localhost:8161/demo</a> url after starting the broker.</p><p>From 5.8 onwards, demos are excluded from default configuration. To start a broker with web examples, use <code>activemq-demo.xml</code> configuration file, like</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:examples/conf/activemq-demo.xml]]></script>
+<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[bin/activemq console xbean:examples/conf/activemq-demo.xml]]></script>
 </div></div><h2 id="WebSamples-SeeAlso">See Also</h2><ul><li><a shape="rect" href="examples.html">Examples</a></li><li><a shape="rect" href="jmx.html">JMX</a></li><li><a shape="rect" href="web-console.html">Web Console</a></li></ul></div>
         </td>
         <td valign="top">

Modified: websites/production/activemq/content/weblogic-integration.html
==============================================================================
--- websites/production/activemq/content/weblogic-integration.html (original)
+++ websites/production/activemq/content/weblogic-integration.html Sat Jun 27 21:23:55 2015
@@ -32,16 +32,6 @@
     </style>
     <![endif]-->
 
-          <link href='http://activemq.apache.org/styles/highlighter/styles/shCore.css' rel='stylesheet' type='text/css' /> 
-      <link href='http://activemq.apache.org/styles/highlighter/styles/shThemeEclipse.css' rel='stylesheet' type='text/css' /> 
-      <script src='http://activemq.apache.org/styles/highlighter/scripts/shCore.js' type='text/javascript'></script> 
-              <script src='http://activemq.apache.org/styles/highlighter/scripts/shBrushJava.js' type='text/javascript'></script> 
-              <script src='http://activemq.apache.org/styles/highlighter/scripts/shBrushXml.js' type='text/javascript'></script> 
-         
-      <script type="text/javascript"> 
-        SyntaxHighlighter.defaults['toolbar'] = false; 
-        SyntaxHighlighter.all(); 
-      </script> 
     
     <title>
     Apache ActiveMQ &#8482; -- WebLogic Integration
@@ -190,7 +180,7 @@ An ActiveMQ broker may be run within Web
 
 <p>The ActiveMQ-in-WebLogic combination looks like this:</p>
 
-<p><img class="confluence-embedded-image" src="weblogic-integration.data/activemq-in-weblogic.png" data-image-src="/confluence/download/attachments/36089/activemq-in-weblogic.png?version=1&amp;modificationDate=1156951323000&amp;api=v2"></p>
+<p><span class="confluence-embedded-file-wrapper"><img class="confluence-embedded-image" src="weblogic-integration.data/activemq-in-weblogic.png" data-image-src="/confluence/download/attachments/36089/activemq-in-weblogic.png?version=1&amp;modificationDate=1156951323000&amp;api=v2" data-unresolved-comment-count="0" data-linked-resource-id="3274" data-linked-resource-version="1" data-linked-resource-type="attachment" data-linked-resource-default-alias="activemq-in-weblogic.png" data-base-url="https://cwiki.apache.org/confluence" data-linked-resource-content-type="image/png" data-linked-resource-container-id="36089" data-linked-resource-container-version="11"></span></p>
 
 <p>To summarize this diagram:</p>
 <ul><li>ActiveMQ runs as a web application, which runs in the web container inside WebLogic Express</li><li>ActiveMQ reads two configuration files from a directory on the WebLogic class path &#8211; one to configure ActiveMQ itself, and one to configure its logging output</li><li>ActiveMQ uses two main resources from WebLogic Express &#8211; the JMX management server (MBeanServer) and the WebLogic security realm (in the form of a JAAS LoginModule).</li><li>In order to start ActiveMQ when the web application is deployed, the <code>web.xml</code> includes a context listener for Spring, and the Spring <code>applicationContext.xml</code> file loads the ActiveMQ broker and points it to the ActiveMQ configuration file (which as mentioned above, is stored in a directory on the class path).</li><li>Within ActiveMQ:
@@ -208,7 +198,7 @@ An ActiveMQ broker may be run within Web
 
 <p><strong>J2EE WEB-INF/web.xml</strong></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[
+<script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[
 &lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
 
 &lt;web-app version=&quot;2.4&quot;
@@ -223,7 +213,7 @@ An ActiveMQ broker may be run within Web
 </div></div>
 <p><strong>Spring WEB-INF/applicationContext.xml</strong></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[
+<script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[
 &lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; ?&gt;
 &lt;!DOCTYPE beans PUBLIC &quot;-//SPRING//DTD BEAN//EN&quot; &quot;http://www.springframework.org/dtd/spring-beans.dtd&quot;&gt;
 &lt;beans&gt;
@@ -260,7 +250,7 @@ An ActiveMQ broker may be run within Web
 <p>This class is an ActiveMQ "plugin", which installs two filters (authorization and authentication) which will be invoked on every request.  This is similar to the default behavior provided by ActiveMQ's <code>JaasAuthenticationPlugin</code> and <code>AuthorizationPlugin</code>.</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[
+<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[
 /**
  * An ActiveMQ security plugin that installs two security filters
  * (authentication and authorization) that use WebLogic security realms to
@@ -306,7 +296,7 @@ public class ActiveMQToWebLogicSecurity
 <p><strong>ActiveMQWebLogicAuthenticationFilter.java</strong></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[
+<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[
 /**
  * A broker filter that authenticates callers against WebLogic security.
  * This is similar to the ActiveMQ JaasAuthenticationBroker except for two
@@ -425,7 +415,7 @@ public class ActiveMQWebLogicAuthenticat
 
 <p><strong>Single Broker</strong></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[
+<script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[
 &lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
 &lt;beans xmlns=&quot;http://activemq.org/config/1.0&quot;&gt;
   &lt;!-- Allows us to use system properties as variables in this configuration file --&gt;
@@ -483,7 +473,7 @@ public class ActiveMQWebLogicAuthenticat
 
 <p><strong>Network of Brokers (Broker 1/2)</strong></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[
+<script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[
 &lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
 &lt;beans xmlns=&quot;http://activemq.org/config/1.0&quot;&gt;
   &lt;!-- Allows us to use system properties as variables in this configuration file --&gt;
@@ -547,7 +537,7 @@ public class ActiveMQWebLogicAuthenticat
 
 <p><strong>Network of Brokers (Broker 2/2)</strong></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[
+<script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[
 &lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
 &lt;beans xmlns=&quot;http://activemq.org/config/1.0&quot;&gt;
   &lt;!-- Allows us to use system properties as variables in this configuration file --&gt;
@@ -611,7 +601,7 @@ public class ActiveMQWebLogicAuthenticat
 
 <p><strong>Log4J Configuration File (<code>log4j.properties</code>)</strong></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[
+<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[
 # Can change this to &quot;INFO, out&quot; or &quot;INFO, out, stdout&quot;
 # to enable logging to the file defined down below
 log4j.rootLogger=INFO, stdout

Modified: websites/production/activemq/content/websockets.html
==============================================================================
--- websites/production/activemq/content/websockets.html (original)
+++ websites/production/activemq/content/websockets.html Sat Jun 27 21:23:55 2015
@@ -32,15 +32,6 @@
     </style>
     <![endif]-->
 
-          <link href='http://activemq.apache.org/styles/highlighter/styles/shCore.css' rel='stylesheet' type='text/css' /> 
-      <link href='http://activemq.apache.org/styles/highlighter/styles/shThemeEclipse.css' rel='stylesheet' type='text/css' /> 
-      <script src='http://activemq.apache.org/styles/highlighter/scripts/shCore.js' type='text/javascript'></script> 
-              <script src='http://activemq.apache.org/styles/highlighter/scripts/shBrushJava.js' type='text/javascript'></script> 
-         
-      <script type="text/javascript"> 
-        SyntaxHighlighter.defaults['toolbar'] = false; 
-        SyntaxHighlighter.all(); 
-      </script> 
     
     <title>
     Apache ActiveMQ &#8482; -- WebSockets
@@ -95,7 +86,7 @@
 <p>To configure it, you need to place something like this to your ActiveMQ configuration file</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;transportConnectors&gt;
+<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[&lt;transportConnectors&gt;
   &lt;transportConnector name=&quot;websocket&quot; uri=&quot;ws://0.0.0.0:61614&quot;/&gt;
 &lt;/transportConnectors&gt;]]></script>
 </div></div>
@@ -107,7 +98,7 @@
 <p>Version 5.7.0 introduced <em>Secure Web Socket</em> transport. To configure it you need two things. First, you need to configure a new transport connector like this</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;transportConnectors&gt;
+<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[&lt;transportConnectors&gt;
   &lt;transportConnector name=&quot;secure_websocket&quot; uri=&quot;wss://0.0.0.0:61614&quot;/&gt;
 &lt;/transportConnectors&gt;]]></script>
 </div></div>
@@ -115,7 +106,7 @@
 <p>Note that we use <em>wss</em> url prefix to denote a secured version of the protocol. Next you need to provide SSL context for this transport. You can do that by providing <em>sslContext</em> in your broker configuration in a similar fashion as you'd do for <em>ssl</em> or <em>https</em> transports.</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;sslContext&gt;
+<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[&lt;sslContext&gt;
     &lt;sslContext keyStore=&quot;file:${activemq.conf}/broker.ks&quot;
                 keyStorePassword=&quot;password&quot; trustStore=&quot;file:${activemq.conf}/broker.ts&quot;
                 trustStorePassword=&quot;password&quot;

Modified: websites/production/activemq/content/what-are-administered-objects.html
==============================================================================
--- websites/production/activemq/content/what-are-administered-objects.html (original)
+++ websites/production/activemq/content/what-are-administered-objects.html Sat Jun 27 21:23:55 2015
@@ -76,7 +76,7 @@
 
 <p>Administered objects refers to objects that are configured in <a shape="rect" href="jndi-support.html">JNDI</a> and then accessed by a JMS client. So they are simply client-side objects typically either a ConnectionFactory or a Destination (such as a Queue or Topic).</p>
 
-<p>Note that administered objects are only used for JNDI. JNDI can then be used as a level of indirection between the JNDI API and the concrete API of the JMS provider. So looking up objects in JNDI avoids you having a runtime dependency on ActiveMQ. Given that we are only talking about one ConnectionFactory object and a few Destination objects, this is not a huge big deal though <img class="emoticon emoticon-smile" src="https://cwiki.apache.org/confluence/s/en_GB-1988229788/4109/76e0dbb30bc8580e459c201f3535d84f9283a9ac.1/_/images/icons/emoticons/smile.png" data-emoticon-name="smile" alt="(smile)"></p>
+<p>Note that administered objects are only used for JNDI. JNDI can then be used as a level of indirection between the JNDI API and the concrete API of the JMS provider. So looking up objects in JNDI avoids you having a runtime dependency on ActiveMQ. Given that we are only talking about one ConnectionFactory object and a few Destination objects, this is not a huge big deal though <img class="emoticon emoticon-smile" src="https://cwiki.apache.org/confluence/s/en_GB/5982/f2b47fb3d636c8bc9fd0b11c0ec6d0ae18646be7.1/_/images/icons/emoticons/smile.png" data-emoticon-name="smile" alt="(smile)"></p>
 
 <p>Often folks get very confused with JNDI. e.g. in RMI / EJB scenarios JNDI provides client side proxies; this is not the case with JMS, as the JMS client is the client side proxy to the broker.</p>
 

Modified: websites/production/activemq/content/what-is-the-difference-between-discovery-multicast-and-zeroconf.html
==============================================================================
--- websites/production/activemq/content/what-is-the-difference-between-discovery-multicast-and-zeroconf.html (original)
+++ websites/production/activemq/content/what-is-the-difference-between-discovery-multicast-and-zeroconf.html Sat Jun 27 21:23:55 2015
@@ -32,15 +32,6 @@
     </style>
     <![endif]-->
 
-          <link href='http://activemq.apache.org/styles/highlighter/styles/shCore.css' rel='stylesheet' type='text/css' /> 
-      <link href='http://activemq.apache.org/styles/highlighter/styles/shThemeEclipse.css' rel='stylesheet' type='text/css' /> 
-      <script src='http://activemq.apache.org/styles/highlighter/scripts/shCore.js' type='text/javascript'></script> 
-              <script src='http://activemq.apache.org/styles/highlighter/scripts/shBrushJava.js' type='text/javascript'></script> 
-         
-      <script type="text/javascript"> 
-        SyntaxHighlighter.defaults['toolbar'] = false; 
-        SyntaxHighlighter.all(); 
-      </script> 
     
     <title>
     Apache ActiveMQ &#8482; -- What is the difference between discovery, multicast and zeroconf
@@ -88,7 +79,7 @@
 <h3 id="Whatisthedifferencebetweendiscovery,multicastandzeroconf-Broker">Broker</h3>
 
 <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[
+<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[
    &lt;networkConnectors&gt;
      &lt;networkConnector name=&quot;default&quot; uri=&quot;multicast://default&quot;/&gt;
    &lt;/networkConnectors&gt;
@@ -101,7 +92,7 @@
 
 
 <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[ 
+<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ 
   &lt;transportConnectors&gt;
       &lt;transportConnector name=&quot;default&quot; uri=&quot;tcp://localhost:61616&quot; discoveryUri=&quot;multicast://default&quot;/&gt;
    &lt;/transportConnectors&gt;
@@ -114,7 +105,7 @@
 
 
 <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[
+<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[
  &lt;transportConnectors&gt;
       &lt;transportConnector name=&quot;default&quot; uri=&quot;discovery:(multicast://default)&quot;/&gt;
    &lt;/transportConnectors&gt;

Modified: websites/production/activemq/content/what-is-the-prefetch-limit-for.html
==============================================================================
--- websites/production/activemq/content/what-is-the-prefetch-limit-for.html (original)
+++ websites/production/activemq/content/what-is-the-prefetch-limit-for.html Sat Jun 27 21:23:55 2015
@@ -32,15 +32,6 @@
     </style>
     <![endif]-->
 
-          <link href='http://activemq.apache.org/styles/highlighter/styles/shCore.css' rel='stylesheet' type='text/css' /> 
-      <link href='http://activemq.apache.org/styles/highlighter/styles/shThemeEclipse.css' rel='stylesheet' type='text/css' /> 
-      <script src='http://activemq.apache.org/styles/highlighter/scripts/shCore.js' type='text/javascript'></script> 
-              <script src='http://activemq.apache.org/styles/highlighter/scripts/shBrushJava.js' type='text/javascript'></script> 
-         
-      <script type="text/javascript"> 
-        SyntaxHighlighter.defaults['toolbar'] = false; 
-        SyntaxHighlighter.all(); 
-      </script> 
     
     <title>
     Apache ActiveMQ &#8482; -- What is the prefetch limit for
@@ -100,14 +91,14 @@
 
 <p>To change the prefetch size for all consumer types you would use a connection URI similar to:</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[
+<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[
 tcp://localhost:61616?jms.prefetchPolicy.all=50
 ]]></script>
 </div></div>
 
 <p>To change the prefetch size for just queue consumer types you would use a connection URI similar to: </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[
+<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[
 tcp://localhost:61616?jms.prefetchPolicy.queuePrefetch=1
 ]]></script>
 </div></div>
@@ -116,7 +107,7 @@ tcp://localhost:61616?jms.prefetchPolicy
 <p>It can also be configured on a per consumer basis using <a shape="rect" href="destination-options.html">Destination Options</a>.</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[
+<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[
 queue = new ActiveMQQueue(&quot;TEST.QUEUE?consumer.prefetchSize=10&quot;);
 consumer = session.createConsumer(queue);
 ]]></script>

Modified: websites/production/activemq/content/why-do-kahadb-log-files-remain-after-cleanup.html
==============================================================================
--- websites/production/activemq/content/why-do-kahadb-log-files-remain-after-cleanup.html (original)
+++ websites/production/activemq/content/why-do-kahadb-log-files-remain-after-cleanup.html Sat Jun 27 21:23:55 2015
@@ -32,15 +32,6 @@
     </style>
     <![endif]-->
 
-          <link href='http://activemq.apache.org/styles/highlighter/styles/shCore.css' rel='stylesheet' type='text/css' /> 
-      <link href='http://activemq.apache.org/styles/highlighter/styles/shThemeEclipse.css' rel='stylesheet' type='text/css' /> 
-      <script src='http://activemq.apache.org/styles/highlighter/scripts/shCore.js' type='text/javascript'></script> 
-              <script src='http://activemq.apache.org/styles/highlighter/scripts/shBrushJava.js' type='text/javascript'></script> 
-         
-      <script type="text/javascript"> 
-        SyntaxHighlighter.defaults['toolbar'] = false; 
-        SyntaxHighlighter.all(); 
-      </script> 
     
     <title>
     Apache ActiveMQ &#8482; -- Why do KahaDB log files remain after cleanup?
@@ -82,7 +73,7 @@
         <tr>
         <td valign="top" width="100%">
 <div class="wiki-content maincontent"><p>Clean-up of unreferenced KahaDB journal log files data-&lt;id&gt;.log will occur every 30 seconds by default. If a data file is in-use it will not be cleaned up.</p><p>A data file may be in-use because:</p><ol><li>It contains a&#160;pending message for a destination or durable topic subscription</li><li>It contains an ack for a message which is in an in-use data file - the ack cannot be removed as a recovery would then mark the message for redelivery</li><li>The journal references a pending transaction</li><li>It is a journal file, and there may be a pending write to it</li></ol><p><span style="line-height: 1.4285715;">The trace level logging of the org.apache.activemq.store.kahadb.MessageDatabase class provides insight into the cleanup process and will allow you to determine why a given data file is considered in-use and as a result, not a candidate for cleanup.</span></p><p>To debug, add the following (or similar) to your log4j.properties f
 ile (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[log4j.appender.kahadb=org.apache.log4j.RollingFileAppender 
+<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[log4j.appender.kahadb=org.apache.log4j.RollingFileAppender 
 log4j.appender.kahadb.file=${activemq.base}/data/kahadb.log 
 log4j.appender.kahadb.maxFileSize=1024KB 
 log4j.appender.kahadb.maxBackupIndex=5 
@@ -91,7 +82,7 @@ log4j.appender.kahadb.layout=org.apache.
 log4j.appender.kahadb.layout.ConversionPattern=%d [%-15.15t] %-5p %-30.30c{1} - %m%n 
 log4j.logger.org.apache.activemq.store.kahadb.MessageDatabase=TRACE, kahadb]]></script>
 </div></div><p>Either restart AMQ and let the cleanup process run (give it a minute or two for example) or alternatively apply this logging configuration to a running broker via JMX. The "Broker" MBean exposes an operation called "reloadLog4jProperties" in JMX that can be used to tell the broker to reload its log4j.properties. Often its enough to apply this logging configuration for 2-5 minutes and then analyze the broker's log file.</p><p>Examine the log file and look for cleanup of the data files. The process starts with the complete set of known data files and queries the index on a per destination basis to prune this list. Anything that remains is a candidate for cleanup.<br clear="none"> The trace logging gives the destination and the log file numbers that remain candidates for removal as it iterates through the index.</p><p>At some point you'll hit a destination and the number of data file ids will suddenly drop because that destination references them. It could be a DLQ or an
  offline durable subscriber. <br clear="none"> In any event, the logging will help you pinpoint the destinations that are hogging disk space.</p><p>Here is a quick sample</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[ TRACE | Last update: 164:41712, full gc candidates set: [86, 87, 163, 164] | org.apache.activemq.store.kahadb.MessageDatabase | ActiveMQ Journal Checkpoint Worker
+<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ TRACE | Last update: 164:41712, full gc candidates set: [86, 87, 163, 164] | org.apache.activemq.store.kahadb.MessageDatabase | ActiveMQ Journal Checkpoint Worker
  TRACE | gc candidates after first tx:164:41712, [86, 87, 163] | org.apache.activemq.store.kahadb.MessageDatabase | ActiveMQ Journal Checkpoint Worker
  TRACE | gc candidates after dest:0:A, [86, 87, 163] | org.apache.activemq.store.kahadb.MessageDatabase | ActiveMQ Journal Checkpoint Worker
  TRACE | gc candidates after dest:1:B, [86, 87, 163] | org.apache.activemq.store.kahadb.MessageDatabase | ActiveMQ Journal Checkpoint Worker
@@ -103,7 +94,7 @@ log4j.logger.org.apache.activemq.store.k
  TRACE | gc candidates: [87] | org.apache.activemq.store.kahadb.MessageDatabase | ActiveMQ Journal Checkpoint Worker
  DEBUG | Cleanup removing the data files: [87] | org.apache.activemq.store.kahadb.MessageDatabase | ActiveMQ Journal Checkpoint Worker]]></script>
 </div></div><p>We get one candidate, data-87.log from the existing set of journal data files <code>[86, 87, 163, 164]</code>. There is a current transaction using 164, destination (Queue named E) <code>'0\:E'</code> has some messages in 163, destination <code>'0:I'</code> has messages in 86 and 87 is unreferenced. In this case, there must be some long standing unacked messages or a very slow consumer on destination <code>'0:I'</code>.<br clear="none"> The <code>'0:'</code> prefix is shorthand for a queue, <code>'1:'</code> for a topic, i.e: <code>dest:1:B</code> is a topic named B.</p><p>&#160;</p><p>&#160;</p><hr><h3 id="WhydoKahaDBlogfilesremainaftercleanup?-Non-persistentmessages">Non-persistent messages</h3><p>Similar for non-persistent messages that are not stored in your configured KahaDB persistence adapter but get swapped to temp storage once they exceed the broker's configured memoryUsage limit. A similar logging configuration can show details of the cleanup of temp storage
 .</p><p>&#160;</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[log4j.appender.kahadb=org.apache.log4j.RollingFileAppender
+<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[log4j.appender.kahadb=org.apache.log4j.RollingFileAppender
 log4j.appender.kahadb.file=${activemq.base}/data/kahadb.log
 log4j.appender.kahadb.maxFileSize=1024KB
 log4j.appender.kahadb.maxBackupIndex=5

Modified: websites/production/activemq/content/wildcards.html
==============================================================================
--- websites/production/activemq/content/wildcards.html (original)
+++ websites/production/activemq/content/wildcards.html Sat Jun 27 21:23:55 2015
@@ -32,15 +32,6 @@
     </style>
     <![endif]-->
 
-          <link href='http://activemq.apache.org/styles/highlighter/styles/shCore.css' rel='stylesheet' type='text/css' /> 
-      <link href='http://activemq.apache.org/styles/highlighter/styles/shThemeEclipse.css' rel='stylesheet' type='text/css' /> 
-      <script src='http://activemq.apache.org/styles/highlighter/scripts/shCore.js' type='text/javascript'></script> 
-              <script src='http://activemq.apache.org/styles/highlighter/scripts/shBrushJava.js' type='text/javascript'></script> 
-         
-      <script type="text/javascript"> 
-        SyntaxHighlighter.defaults['toolbar'] = false; 
-        SyntaxHighlighter.all(); 
-      </script> 
     
     <title>
     Apache ActiveMQ &#8482; -- Wildcards
@@ -115,7 +106,7 @@
 <p>To</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[
+<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[
     &lt;plugins&gt;
        .....
        &lt;destinationPathSeparatorPlugin/&gt;

Modified: websites/production/activemq/content/xml-configuration.html
==============================================================================
--- websites/production/activemq/content/xml-configuration.html (original)
+++ websites/production/activemq/content/xml-configuration.html Sat Jun 27 21:23:55 2015
@@ -32,17 +32,6 @@
     </style>
     <![endif]-->
 
-          <link href='http://activemq.apache.org/styles/highlighter/styles/shCore.css' rel='stylesheet' type='text/css' /> 
-      <link href='http://activemq.apache.org/styles/highlighter/styles/shThemeEclipse.css' rel='stylesheet' type='text/css' /> 
-      <script src='http://activemq.apache.org/styles/highlighter/scripts/shCore.js' type='text/javascript'></script> 
-              <script src='http://activemq.apache.org/styles/highlighter/scripts/shBrushJava.js' type='text/javascript'></script> 
-              <script src='http://activemq.apache.org/styles/highlighter/scripts/shBrushXml.js' type='text/javascript'></script> 
-              <script src='http://activemq.apache.org/styles/highlighter/scripts/shBrushPlain.js' type='text/javascript'></script> 
-         
-      <script type="text/javascript"> 
-        SyntaxHighlighter.defaults['toolbar'] = false; 
-        SyntaxHighlighter.all(); 
-      </script> 
     
     <title>
     Apache ActiveMQ &#8482; -- Xml Configuration
@@ -83,15 +72,8 @@
   <tbody>
         <tr>
         <td valign="top" width="100%">
-<div class="wiki-content maincontent"><p>We support an XML deployment descriptor for configuring the ActiveMQ Message Broker. There are many things which can be configured such as</p><ul><li><a shape="rect" href="configuring-version-5-transports.html">transport connectors</a> which consist of transport channels and wire formats</li><li><a shape="rect" href="networks-of-brokers.html">network connectors</a> using network channels or discovery agents</li><li><a shape="rect" href="persistence.html">persistence providers</a> &amp; locations</li><li>custom message containers (such as last image caching etc)</li></ul><p>So we decided that using XML would make this configuration much easier. From version 4.0 onwards we use <a shape="rect" class="external-link" href="http://xbean.org/" rel="nofollow">XBean</a> to perform the XML configuration.</p><p>For details of the XML see the <a shape="rect" href="xml-reference.html">Xml Reference</a></p>    <div class="aui-message problem shadowed infor
 mation-macro">
-                    <p class="title">Be careful with broker names and URIs</p>
-                            <span class="aui-icon icon-problem">Icon</span>
-                <div class="message-content">
-                            <p>Make sure you do not use any strange characters in the names of brokers as they are converted to URIs which <a shape="rect" class="external-link" href="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URI.html" rel="nofollow">do not allow things like underscores</a> in them etc.</p>
-                    </div>
-    </div>
-<h2 id="XmlConfiguration-Examples">Examples</h2><p>The default ActiveMQ configuration: <a shape="rect" class="external-link" href="http://svn.apache.org/repos/asf/activemq/trunk/assembly/src/release/conf/activemq.xml">current default config</a>.</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[
+<div class="wiki-content maincontent"><p>We support an XML deployment descriptor for configuring the ActiveMQ Message Broker. There are many things which can be configured such as</p><ul><li><a shape="rect" href="configuring-version-5-transports.html">transport connectors</a> which consist of transport channels and wire formats</li><li><a shape="rect" href="networks-of-brokers.html">network connectors</a> using network channels or discovery agents</li><li><a shape="rect" href="persistence.html">persistence providers</a> &amp; locations</li><li>custom message containers (such as last image caching etc)</li></ul><p>So we decided that using XML would make this configuration much easier. From version 4.0 onwards we use <a shape="rect" class="external-link" href="http://xbean.org/" rel="nofollow">XBean</a> to perform the XML configuration.</p><p>For details of the XML see the <a shape="rect" href="xml-reference.html">Xml Reference</a></p><div class="confluence-information-macro confluenc
 e-information-macro-warning"><p class="title">Be careful with broker names and URIs</p><span class="aui-icon aui-icon-small aui-iconfont-error confluence-information-macro-icon"></span><div class="confluence-information-macro-body"><p>Make sure you do not use any strange characters in the names of brokers as they are converted to URIs which <a shape="rect" class="external-link" href="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URI.html" rel="nofollow">do not allow things like underscores</a> in them etc.</p></div></div><h2 id="XmlConfiguration-Examples">Examples</h2><p>The default ActiveMQ configuration: <a shape="rect" class="external-link" href="http://svn.apache.org/repos/asf/activemq/trunk/assembly/src/release/conf/activemq.xml">current default config</a>.</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<script class="brush: xml; 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;
@@ -240,22 +222,22 @@
 &lt;/beans&gt;
 ]]></script>
 </div></div><p>From a binary distribution, from version 1.1 onwards there is an <em>activemq</em> script allowing you to run a Message Broker as a stand alone process from the command line easily providing the $ACTIVEMQ_HOME/bin directory is on your PATH.</p><p><strong>AMQ 4.x</strong></p><p>if myConfig.xml is in the classpath</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[activemq  xbean:myConfig.xml
+<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[activemq  xbean:myConfig.xml
 ]]></script>
 </div></div><p>or to use the file path system</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[activemq  xbean:file:../conf/myConfig.xml
+<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[activemq  xbean:file:../conf/myConfig.xml
 ]]></script>
 </div></div><p><strong>AMQ 3.x</strong></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[activemq myConfig.xml
+<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[activemq myConfig.xml
 ]]></script>
 </div></div><p>Or to use the default config file its just</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[activemq
+<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[activemq
 ]]></script>
 </div></div><p>If you have a source distribution you can run a broker using Maven specifying one of these configuration files as follows<br clear="none"> under the assembly module run :</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[maven server -Dconfig=xbean:file:src/release/conf/activemq.xml
+<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[maven server -Dconfig=xbean:file:src/release/conf/activemq.xml
 ]]></script>
 </div></div><p>If your <a shape="rect" href="initial-configuration.html">classpath is set up correctly</a> you can achieve the same thing from the command line</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[java org.apache.activemq.broker.Main  xbean:file:src/release/conf/activemq.xml
+<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[java org.apache.activemq.broker.Main  xbean:file:src/release/conf/activemq.xml
 ]]></script>
 </div></div><h2 id="XmlConfiguration-Configuringembeddedbrokers">Configuring embedded brokers</h2><p>You can also use the XML Configuration to configure <a shape="rect" href="how-do-i-embed-a-broker-inside-a-connection.html">embedded brokers</a>. For example using the JNDI configuration mechanism you can do the following<br clear="none"> <a shape="rect" class="external-link" href="http://svn.apache.org/repos/asf/activemq/trunk/activemq-unit-tests/src/test/java/org/apache/activemq/config/BrokerXmlConfigFromJNDITest.java">BrokerXmlConfigFromJNDITest</a><br clear="none"> Or of you want to explicitly configure the embedded broker via Java code you can do the following<br clear="none"> <a shape="rect" class="external-link" href="https://svn.apache.org/repos/asf/activemq/trunk/assembly/src/test/java/org/apache/activemq/config/BrokerXmlConfigStartTest.java">BrokerXmlConfigStartTest</a></p><h2 id="XmlConfiguration-UserSubmittedConfigurations">User Submitted Configurations</h2><p>We have a p
 age which allows users to submit details of their configurations.</p><ul><li><a shape="rect" href="user-submitted-configurations.html">User Submitted Configurations</a></li></ul><h2 id="XmlConfiguration-Background">Background</h2><p>Since ActiveMQ has so many strategy pattern plugins for transports, wire formats, persistence and many other things, we wanted to leave the configuration format open so that you the developer can configure and extend ActiveMQ in any direction you wish.</p><p>So we use the <a shape="rect" class="external-link" href="http://www.springframework.org/docs/reference/beans.html#beans-basics" rel="nofollow">Spring XML</a> configuration file format, which allows any beans / POJOs to be wired together and configured. However often Spring's XML can be kinda verbose at times, so we have implemented an ActiveMQ extension to the Spring XML which knows about the common, standard ActiveMQ things you're likely to do (e.g. tags like connector, wireFormat, serverTransport,
  persistence) - but at any time you can fall back to the normal Spring way of doing things (with tags like bean, property etc).</p><p>To see documentation of the XML file we use or to get access to the XSD/DTD see the <a shape="rect" href="xml-reference.html">Xml Reference</a></p></div>
         </td>

Modified: websites/production/activemq/content/xml-reference.html
==============================================================================
--- websites/production/activemq/content/xml-reference.html (original)
+++ websites/production/activemq/content/xml-reference.html Sat Jun 27 21:23:55 2015
@@ -32,16 +32,6 @@
     </style>
     <![endif]-->
 
-          <link href='http://activemq.apache.org/styles/highlighter/styles/shCore.css' rel='stylesheet' type='text/css' /> 
-      <link href='http://activemq.apache.org/styles/highlighter/styles/shThemeEclipse.css' rel='stylesheet' type='text/css' /> 
-      <script src='http://activemq.apache.org/styles/highlighter/scripts/shCore.js' type='text/javascript'></script> 
-              <script src='http://activemq.apache.org/styles/highlighter/scripts/shBrushJava.js' type='text/javascript'></script> 
-              <script src='http://activemq.apache.org/styles/highlighter/scripts/shBrushXml.js' type='text/javascript'></script> 
-         
-      <script type="text/javascript"> 
-        SyntaxHighlighter.defaults['toolbar'] = false; 
-        SyntaxHighlighter.all(); 
-      </script> 
     
     <title>
     Apache ActiveMQ &#8482; -- Xml Reference
@@ -83,9 +73,9 @@
         <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="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><tr><td colspan="1" rowspan="1" class="confluenceTd">XBean XML Reference 5.10.1</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.1-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.1.xsd">http://activemq.apache.org/schema/core/activemq-core-5.10.1.xsd</a></td><td colspan="1" rowspan="1" class="confluenceTd"><a shape="rect" class="external-link" href="http://activemq.apache.org/schema/core">http://activemq.apache.org/schema/core</a></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><span>XBean XML Reference 5.10.2</span></td><td colspan="1" rowspan="1" class="confluenceTd"><span><a shape="rect" cl
 ass="external-link" href="http://activemq.apache.org/schema/core/activemq-core-5.11.0-schema.html">Reference</a></span></td><td colspan="1" rowspan="1" class="confluenceTd"><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></td><td colspan="1" rowspan="1" class="confluenceTd"><a shape="rect" class="external-link" href="http://activemq.apache.org/schema/core">http://activemq.apache.org/schema/core</a></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">XBean XML Reference 5.11.0</td><td colspan="1" rowspan="1" class="confluenceTd"><a shape="rect" class="external-link" href="http://activemq.apache.org/schema/core/activemq-core-5.11.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.11.0.xsd">http://activemq.apa
 che.org/schema/core/activemq-core-5.11.0.xsd</a></td><td colspan="1" rowspan="1" class="confluenceTd"><a shape="rect" class="external-link" href="http://activemq.apache.org/schema/core">http://activemq.apache.org/schema/core</a></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">XBean XML Reference 5.11.1</td><td colspan="1" rowspan="1" class="confluenceTd"><a shape="rect" class="external-link" href="http://activemq.apache.org/schema/core/activemq-core-5.11.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.11.1.xsd">http://activemq.apache.org/schema/core/activemq-core-5.11.1.xsd</a></td><td colspan="1" rowspan="1" class="confluenceTd"><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>
+<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="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[&lt;beans xmlns=&quot;http://www.springframework.org/schema/beans&quot;
+<script class="brush: xml; 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;
@@ -93,7 +83,7 @@
         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;
+<script class="brush: xml; 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;
@@ -101,7 +91,7 @@
         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 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;
+<script class="brush: xml; 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;
@@ -113,7 +103,7 @@
 &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;
+<script class="brush: xml; 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;
@@ -125,9 +115,9 @@
 &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="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[bin/activemq console xbean:conf/activemq.xml?validate=false]]></script>
+<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="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[ 
+<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   
@@ -185,7 +175,7 @@ http://camel.apache.org/schema/spring ht
 </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="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[ 
+<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   



Mime
View raw message