You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by de...@apache.org on 2013/07/12 14:46:31 UTC

svn commit: r869232 [28/44] - in /websites/production/activemq/content: ./ cache/ cms/ nms/ styles/highlighter/ styles/highlighter/scripts/ styles/highlighter/styles/ visualisation.thumbs/ web-console.thumbs/

Modified: websites/production/activemq/content/proposed-c-client-architecture.html
==============================================================================
--- websites/production/activemq/content/proposed-c-client-architecture.html (original)
+++ websites/production/activemq/content/proposed-c-client-architecture.html Fri Jul 12 12:46:14 2013
@@ -32,6 +32,7 @@
     </style>
     <![endif]-->
 
+    
     <title>
     Apache ActiveMQ &#8482; -- Proposed C Client Architecture
     </title>
@@ -50,8 +51,8 @@
       <div>
 
 <!-- Banner -->
-
-	<div id="asf_logo">
+<p>
+	</p><div id="asf_logo">
 	<div id="activemq_logo">
             <a shape="rect" style="float:left; width:280px;display:block;text-indent:-5000px;text-decoration:none;line-height:60px; margin-top:10px; margin-left:100px;" href="http://activemq.apache.org" title="The most popular and powerful open source Message Broker">ActiveMQ</a> &#8482;
             <a shape="rect" style="float:right; width:210px;display:block;text-indent:-5000px;text-decoration:none;line-height:60px; margin-top:15px; margin-right:10px;" href="http://www.apache.org" title="The Apache Software Foundation">ASF</a>
@@ -97,8 +98,8 @@
 
 <h3><a shape="rect" name="Navigation-Search"></a>Search</h3>
 
-
-<div>
+<p>
+</p><div>
 <form enctype="application/x-www-form-urlencoded" method="get" action="http://www.google.com/search" style="font-size: 10px;">
 <input type="hidden" name="ie" value="UTF-8">
 <input type="hidden" name="oe" value="UTF-8">

Modified: websites/production/activemq/content/protocols.html
==============================================================================
--- websites/production/activemq/content/protocols.html (original)
+++ websites/production/activemq/content/protocols.html Fri Jul 12 12:46:14 2013
@@ -32,6 +32,7 @@
     </style>
     <![endif]-->
 
+    
     <title>
     Apache ActiveMQ &#8482; -- Protocols
     </title>
@@ -50,8 +51,8 @@
       <div>
 
 <!-- Banner -->
-
-	<div id="asf_logo">
+<p>
+	</p><div id="asf_logo">
 	<div id="activemq_logo">
             <a shape="rect" style="float:left; width:280px;display:block;text-indent:-5000px;text-decoration:none;line-height:60px; margin-top:10px; margin-left:100px;" href="http://activemq.apache.org" title="The most popular and powerful open source Message Broker">ActiveMQ</a> &#8482;
             <a shape="rect" style="float:right; width:210px;display:block;text-indent:-5000px;text-decoration:none;line-height:60px; margin-top:15px; margin-right:10px;" href="http://www.apache.org" title="The Apache Software Foundation">ASF</a>
@@ -88,8 +89,8 @@
 
 <h3><a shape="rect" name="Navigation-Search"></a>Search</h3>
 
-
-<div>
+<p>
+</p><div>
 <form enctype="application/x-www-form-urlencoded" method="get" action="http://www.google.com/search" style="font-size: 10px;">
 <input type="hidden" name="ie" value="UTF-8">
 <input type="hidden" name="oe" value="UTF-8">

Modified: websites/production/activemq/content/pure-master-slave.html
==============================================================================
--- websites/production/activemq/content/pure-master-slave.html (original)
+++ websites/production/activemq/content/pure-master-slave.html Fri Jul 12 12:46:14 2013
@@ -32,6 +32,17 @@
     </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; -- Pure Master Slave
     </title>
@@ -50,8 +61,8 @@
       <div>
 
 <!-- Banner -->
-
-	<div id="asf_logo">
+<p>
+	</p><div id="asf_logo">
 	<div id="activemq_logo">
             <a shape="rect" style="float:left; width:280px;display:block;text-indent:-5000px;text-decoration:none;line-height:60px; margin-top:10px; margin-left:100px;" href="http://activemq.apache.org" title="The most popular and powerful open source Message Broker">ActiveMQ</a> &#8482;
             <a shape="rect" style="float:right; width:210px;display:block;text-indent:-5000px;text-decoration:none;line-height:60px; margin-top:15px; margin-right:10px;" href="http://www.apache.org" title="The Apache Software Foundation">ASF</a>
@@ -99,9 +110,9 @@ in a clients transaction will not comple
 
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-failover:<span class="code-comment">//(tcp://masterhost:61616,tcp://slavehost:61616)?randomize=<span class="code-keyword">false</span></span>
-</pre>
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+failover://(tcp://masterhost:61616,tcp://slavehost:61616)?randomize=false
+]]></script>
 </div></div>
 <p>The <b>randomize</b> property just disables randomness so that the transport will always try the master first, then the slave if it can't connect to that. Note that the slave does not accept connections until it becomes the master</p>
 
@@ -124,17 +135,17 @@ failover:<span class="code-comment">//(t
 To identify a broker as a slave - there is just one property to set (see below) as this <a shape="rect" class="external-link" href="http://svn.apache.org/repos/asf/activemq/trunk/activemq-core/src/test/resources/org/apache/activemq/broker/ft/slave2.xml">example shows</a> - so configuration is nice and easy:</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-<span class="code-tag">&lt;broker masterConnectorURI=<span class="code-quote">"tcp://masterhost:62001"</span> shutdownOnMasterFailure=<span class="code-quote">"false"</span>&gt;</span>
-  <span class="code-tag">&lt;persistenceAdapter&gt;</span>
-      <span class="code-tag">&lt;journaledJDBC journalLogFiles=<span class="code-quote">"5"</span> dataDirectory=<span class="code-quote">"${activemq.base}/data/broker2"</span> /&gt;</span>
-    <span class="code-tag">&lt;/persistenceAdapter&gt;</span>
-
-    <span class="code-tag">&lt;transportConnectors&gt;</span>
-	  <span class="code-tag">&lt;transportConnector uri=<span class="code-quote">"tcp://slavehost:61616"</span>/&gt;</span>
-   <span class="code-tag">&lt;/transportConnectors&gt;</span>
-<span class="code-tag">&lt;/broker&gt;</span>
-</pre>
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;broker masterConnectorURI="tcp://masterhost:62001" shutdownOnMasterFailure="false"&gt;
+  &lt;persistenceAdapter&gt;
+      &lt;journaledJDBC journalLogFiles="5" dataDirectory="${activemq.base}/data/broker2" /&gt;
+    &lt;/persistenceAdapter&gt;
+
+    &lt;transportConnectors&gt;
+	  &lt;transportConnector uri="tcp://slavehost:61616"/&gt;
+   &lt;/transportConnectors&gt;
+&lt;/broker&gt;
+]]></script>
 </div></div>
 
 <div class="table-wrap">
@@ -147,17 +158,17 @@ To identify a broker as a slave - there 
 <p>In ActiveMQ 4.1 or later you can use a <b>&lt;masterConnector/&gt;</b> element as an alternative XML configuration mechanism as shown in the following <a shape="rect" class="external-link" href="http://svn.apache.org/repos/asf/activemq/trunk/activemq-core/src/test/resources/org/apache/activemq/broker/ft/slave2.xml">example</a> to configure the user and password that the slave will use to connect to the master</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-&lt;broker brokerName=<span class="code-quote">"slave"</span> useJmx=<span class="code-quote">"<span class="code-keyword">false</span>"</span>  deleteAllMessagesOnStartup=<span class="code-quote">"<span class="code-keyword">true</span>"</span>  xmlns=<span class="code-quote">"http:<span class="code-comment">//activemq.apache.org/schema/core"</span>&gt;
-</span>    &lt;services&gt;
-      &lt;masterConnector remoteURI= <span class="code-quote">"tcp:<span class="code-comment">//localhost:62001"</span> userName=<span class="code-quote">"James"</span> password=<span class="code-quote">"Cheese"</span>/&gt;
-</span>    &lt;/services&gt;
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;broker brokerName="slave" useJmx="false"  deleteAllMessagesOnStartup="true"  xmlns="http://activemq.apache.org/schema/core"&gt;
+    &lt;services&gt;
+      &lt;masterConnector remoteURI= "tcp://localhost:62001" userName="James" password="Cheese"/&gt;
+    &lt;/services&gt;
 
     &lt;transportConnectors&gt;
-      &lt;transportConnector uri=<span class="code-quote">"tcp:<span class="code-comment">//localhost:62002"</span>/&gt;
-</span>    &lt;/transportConnectors&gt;
+      &lt;transportConnector uri="tcp://localhost:62002"/&gt;
+    &lt;/transportConnectors&gt;
   &lt;/broker&gt;
-</pre>
+]]></script>
 </div></div>
           </div>
         </td>
@@ -172,8 +183,8 @@ To identify a broker as a slave - there 
 
 <h3><a shape="rect" name="Navigation-Search"></a>Search</h3>
 
-
-<div>
+<p>
+</p><div>
 <form enctype="application/x-www-form-urlencoded" method="get" action="http://www.google.com/search" style="font-size: 10px;">
 <input type="hidden" name="ie" value="UTF-8">
 <input type="hidden" name="oe" value="UTF-8">

Modified: websites/production/activemq/content/python.html
==============================================================================
--- websites/production/activemq/content/python.html (original)
+++ websites/production/activemq/content/python.html Fri Jul 12 12:46:14 2013
@@ -32,6 +32,7 @@
     </style>
     <![endif]-->
 
+    
     <title>
     Apache ActiveMQ &#8482; -- Python
     </title>
@@ -50,8 +51,8 @@
       <div>
 
 <!-- Banner -->
-
-	<div id="asf_logo">
+<p>
+	</p><div id="asf_logo">
 	<div id="activemq_logo">
             <a shape="rect" style="float:left; width:280px;display:block;text-indent:-5000px;text-decoration:none;line-height:60px; margin-top:10px; margin-left:100px;" href="http://activemq.apache.org" title="The most popular and powerful open source Message Broker">ActiveMQ</a> &#8482;
             <a shape="rect" style="float:right; width:210px;display:block;text-indent:-5000px;text-decoration:none;line-height:60px; margin-top:15px; margin-right:10px;" href="http://www.apache.org" title="The Apache Software Foundation">ASF</a>
@@ -90,8 +91,8 @@
 
 <h3><a shape="rect" name="Navigation-Search"></a>Search</h3>
 
-
-<div>
+<p>
+</p><div>
 <form enctype="application/x-www-form-urlencoded" method="get" action="http://www.google.com/search" style="font-size: 10px;">
 <input type="hidden" name="ie" value="UTF-8">
 <input type="hidden" name="oe" value="UTF-8">

Modified: websites/production/activemq/content/qos.html
==============================================================================
--- websites/production/activemq/content/qos.html (original)
+++ websites/production/activemq/content/qos.html Fri Jul 12 12:46:14 2013
@@ -32,6 +32,7 @@
     </style>
     <![endif]-->
 
+    
     <title>
     Apache ActiveMQ &#8482; -- QoS
     </title>
@@ -50,8 +51,8 @@
       <div>
 
 <!-- Banner -->
-
-	<div id="asf_logo">
+<p>
+	</p><div id="asf_logo">
 	<div id="activemq_logo">
             <a shape="rect" style="float:left; width:280px;display:block;text-indent:-5000px;text-decoration:none;line-height:60px; margin-top:10px; margin-left:100px;" href="http://activemq.apache.org" title="The most popular and powerful open source Message Broker">ActiveMQ</a> &#8482;
             <a shape="rect" style="float:right; width:210px;display:block;text-indent:-5000px;text-decoration:none;line-height:60px; margin-top:15px; margin-right:10px;" href="http://www.apache.org" title="The Apache Software Foundation">ASF</a>
@@ -94,8 +95,8 @@
 
 <h3><a shape="rect" name="Navigation-Search"></a>Search</h3>
 
-
-<div>
+<p>
+</p><div>
 <form enctype="application/x-www-form-urlencoded" method="get" action="http://www.google.com/search" style="font-size: 10px;">
 <input type="hidden" name="ie" value="UTF-8">
 <input type="hidden" name="oe" value="UTF-8">

Modified: websites/production/activemq/content/quicklinks.html
==============================================================================
--- websites/production/activemq/content/quicklinks.html (original)
+++ websites/production/activemq/content/quicklinks.html Fri Jul 12 12:46:14 2013
@@ -32,6 +32,7 @@
     </style>
     <![endif]-->
 
+    
     <title>
     Apache ActiveMQ &#8482; -- QuickLinks
     </title>
@@ -50,8 +51,8 @@
       <div>
 
 <!-- Banner -->
-
-	<div id="asf_logo">
+<p>
+	</p><div id="asf_logo">
 	<div id="activemq_logo">
             <a shape="rect" style="float:left; width:280px;display:block;text-indent:-5000px;text-decoration:none;line-height:60px; margin-top:10px; margin-left:100px;" href="http://activemq.apache.org" title="The most popular and powerful open source Message Broker">ActiveMQ</a> &#8482;
             <a shape="rect" style="float:right; width:210px;display:block;text-indent:-5000px;text-decoration:none;line-height:60px; margin-top:15px; margin-right:10px;" href="http://www.apache.org" title="The Apache Software Foundation">ASF</a>
@@ -86,8 +87,8 @@
 
 <h3><a shape="rect" name="Navigation-Search"></a>Search</h3>
 
-
-<div>
+<p>
+</p><div>
 <form enctype="application/x-www-form-urlencoded" method="get" action="http://www.google.com/search" style="font-size: 10px;">
 <input type="hidden" name="ie" value="UTF-8">
 <input type="hidden" name="oe" value="UTF-8">

Modified: websites/production/activemq/content/redelivery-policy.html
==============================================================================
--- websites/production/activemq/content/redelivery-policy.html (original)
+++ websites/production/activemq/content/redelivery-policy.html Fri Jul 12 12:46:14 2013
@@ -32,6 +32,16 @@
     </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; -- Redelivery Policy
     </title>
@@ -50,8 +60,8 @@
       <div>
 
 <!-- Banner -->
-
-	<div id="asf_logo">
+<p>
+	</p><div id="asf_logo">
 	<div id="activemq_logo">
             <a shape="rect" style="float:left; width:280px;display:block;text-indent:-5000px;text-decoration:none;line-height:60px; margin-top:10px; margin-left:100px;" href="http://activemq.apache.org" title="The most popular and powerful open source Message Broker">ActiveMQ</a> &#8482;
             <a shape="rect" style="float:right; width:210px;display:block;text-indent:-5000px;text-decoration:none;line-height:60px; margin-top:15px; margin-right:10px;" href="http://www.apache.org" title="The Apache Software Foundation">ASF</a>
@@ -92,28 +102,28 @@
 <p>As of ActiveMQ v5.7.0 you can now configure a <a shape="rect" class="external-link" href="http://svn.apache.org/viewvc/activemq/trunk/activemq-client/src/main/java/org/apache/activemq/RedeliveryPolicy.java?view=markup">RedeliveryPolicy</a> on a per-destination bases.  The ActiveMQConnection factory class now exposes a <a shape="rect" class="external-link" href="http://svn.apache.org/viewvc/activemq/trunk/activemq-client/src/main/java/org/apache/activemq/broker/region/policy/RedeliveryPolicyMap.java?view=markup">RedeliveryPolicyMap</a> property that allows to assign a RedeliveryPolicy using named destinations or using destination wildcards.  The code snipped below shows how to configure a different <a shape="rect" class="external-link" href="http://svn.apache.org/viewvc/activemq/trunk/activemq-client/src/main/java/org/apache/activemq/RedeliveryPolicy.java?view=markup">RedeliveryPolicy</a> for Topics and Queues. </p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
 
-    ActiveMQConnection connection ...  <span class="code-comment">// Create a connection
-</span>
-    RedeliveryPolicy queuePolicy = <span class="code-keyword">new</span> RedeliveryPolicy();
+    ActiveMQConnection connection ...  // Create a connection
+
+    RedeliveryPolicy queuePolicy = new RedeliveryPolicy();
     queuePolicy.setInitialRedeliveryDelay(0);
     queuePolicy.setRedeliveryDelay(1000);
-    queuePolicy.setUseExponentialBackOff(<span class="code-keyword">false</span>);
+    queuePolicy.setUseExponentialBackOff(false);
     queuePolicy.setMaximumRedeliveries(2);
 
-    RedeliveryPolicy topicPolicy = <span class="code-keyword">new</span> RedeliveryPolicy();
+    RedeliveryPolicy topicPolicy = new RedeliveryPolicy();
     topicPolicy.setInitialRedeliveryDelay(0);
     topicPolicy.setRedeliveryDelay(1000);
-    topicPolicy.setUseExponentialBackOff(<span class="code-keyword">false</span>);
+    topicPolicy.setUseExponentialBackOff(false);
     topicPolicy.setMaximumRedeliveries(3);
 
-    <span class="code-comment">// Receive a message with the JMS API
-</span>    RedeliveryPolicyMap map = connection.getRedeliveryPolicyMap();
-    map.put(<span class="code-keyword">new</span> ActiveMQTopic(<span class="code-quote">"&gt;"</span>), topicPolicy);
-    map.put(<span class="code-keyword">new</span> ActiveMQQueue(<span class="code-quote">"&gt;"</span>), queuePolicy);
+    // Receive a message with the JMS API
+    RedeliveryPolicyMap map = connection.getRedeliveryPolicyMap();
+    map.put(new ActiveMQTopic("&gt;"), topicPolicy);
+    map.put(new ActiveMQQueue("&gt;"), queuePolicy);
 
-</pre>
+]]></script>
 </div></div>
           </div>
         </td>
@@ -128,8 +138,8 @@
 
 <h3><a shape="rect" name="Navigation-Search"></a>Search</h3>
 
-
-<div>
+<p>
+</p><div>
 <form enctype="application/x-www-form-urlencoded" method="get" action="http://www.google.com/search" style="font-size: 10px;">
 <input type="hidden" name="ie" value="UTF-8">
 <input type="hidden" name="oe" value="UTF-8">

Modified: websites/production/activemq/content/release-guide.html
==============================================================================
--- websites/production/activemq/content/release-guide.html (original)
+++ websites/production/activemq/content/release-guide.html Fri Jul 12 12:46:14 2013
@@ -32,6 +32,17 @@
     </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; -- Release Guide
     </title>
@@ -50,8 +61,8 @@
       <div>
 
 <!-- Banner -->
-
-	<div id="asf_logo">
+<p>
+	</p><div id="asf_logo">
 	<div id="activemq_logo">
             <a shape="rect" style="float:left; width:280px;display:block;text-indent:-5000px;text-decoration:none;line-height:60px; margin-top:10px; margin-left:100px;" href="http://activemq.apache.org" title="The most popular and powerful open source Message Broker">ActiveMQ</a> &#8482;
             <a shape="rect" style="float:right; width:210px;display:block;text-indent:-5000px;text-decoration:none;line-height:60px; margin-top:15px; margin-right:10px;" href="http://www.apache.org" title="The Apache Software Foundation">ASF</a>
@@ -80,46 +91,46 @@
 so that the file permissions of the deployed artifacts are group writeable.  If you do not do this, other developers will not able to overwrite your SNAPSHOT releases with newer versions.</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-<span class="code-tag">&lt;settings&gt;</span>
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;settings&gt;
   ...
-  <span class="code-tag">&lt;servers&gt;</span>
+  &lt;servers&gt;
 
-    <span class="code-tag">&lt;server&gt;</span>
-      <span class="code-tag">&lt;id&gt;</span>apache.snapshots.https<span class="code-tag">&lt;/id&gt;</span>
-      <span class="code-tag">&lt;username&gt;</span>dejanb<span class="code-tag">&lt;/username&gt;</span>
-    <span class="code-tag">&lt;/server&gt;</span>
-    <span class="code-tag"><span class="code-comment">&lt;!-- To publish a website of some part of Maven --&gt;</span></span>
-    <span class="code-tag">&lt;server&gt;</span>
-      <span class="code-tag">&lt;id&gt;</span>apache.website<span class="code-tag">&lt;/id&gt;</span>
-      <span class="code-tag">&lt;username&gt;</span>dejanb<span class="code-tag">&lt;/username&gt;</span>
-      <span class="code-tag">&lt;filePermissions&gt;</span>664<span class="code-tag">&lt;/filePermissions&gt;</span>
-      <span class="code-tag">&lt;directoryPermissions&gt;</span>775<span class="code-tag">&lt;/directoryPermissions&gt;</span>
-    <span class="code-tag">&lt;/server&gt;</span>
-    <span class="code-tag"><span class="code-comment">&lt;!-- To stage a release of some part of Maven --&gt;</span></span>
-    <span class="code-tag">&lt;server&gt;</span>
-      <span class="code-tag">&lt;id&gt;</span>apache.releases.https<span class="code-tag">&lt;/id&gt;</span>
-      <span class="code-tag">&lt;username&gt;</span>dejanb<span class="code-tag">&lt;/username&gt;</span>
-    <span class="code-tag">&lt;/server&gt;</span>
-    <span class="code-tag"><span class="code-comment">&lt;!-- To stage a website of some part of Maven --&gt;</span></span>
-    <span class="code-tag">&lt;server&gt;</span>
-      <span class="code-tag">&lt;id&gt;</span>stagingSite<span class="code-tag">&lt;/id&gt;</span> <span class="code-tag"><span class="code-comment">&lt;!-- must match hard-coded repository identifier in site:stage-deploy --&gt;</span></span>
-      <span class="code-tag">&lt;username&gt;</span>dejanb<span class="code-tag">&lt;/username&gt;</span>
-      <span class="code-tag">&lt;filePermissions&gt;</span>664<span class="code-tag">&lt;/filePermissions&gt;</span>
-      <span class="code-tag">&lt;directoryPermissions&gt;</span>775<span class="code-tag">&lt;/directoryPermissions&gt;</span>
-    <span class="code-tag">&lt;/server&gt;</span>
+    &lt;server&gt;
+      &lt;id&gt;apache.snapshots.https&lt;/id&gt;
+      &lt;username&gt;dejanb&lt;/username&gt;
+    &lt;/server&gt;
+    &lt;!-- To publish a website of some part of Maven --&gt;
+    &lt;server&gt;
+      &lt;id&gt;apache.website&lt;/id&gt;
+      &lt;username&gt;dejanb&lt;/username&gt;
+      &lt;filePermissions&gt;664&lt;/filePermissions&gt;
+      &lt;directoryPermissions&gt;775&lt;/directoryPermissions&gt;
+    &lt;/server&gt;
+    &lt;!-- To stage a release of some part of Maven --&gt;
+    &lt;server&gt;
+      &lt;id&gt;apache.releases.https&lt;/id&gt;
+      &lt;username&gt;dejanb&lt;/username&gt;
+    &lt;/server&gt;
+    &lt;!-- To stage a website of some part of Maven --&gt;
+    &lt;server&gt;
+      &lt;id&gt;stagingSite&lt;/id&gt; &lt;!-- must match hard-coded repository identifier in site:stage-deploy --&gt;
+      &lt;username&gt;dejanb&lt;/username&gt;
+      &lt;filePermissions&gt;664&lt;/filePermissions&gt;
+      &lt;directoryPermissions&gt;775&lt;/directoryPermissions&gt;
+    &lt;/server&gt;
 
-  <span class="code-tag">&lt;/servers&gt;</span>
+  &lt;/servers&gt;
   ...
-<span class="code-tag">&lt;/settings&gt;</span>
-</pre>
+&lt;/settings&gt;
+]]></script>
 </div></div>
 
 <p>It is also essential that you configure your umask to 2 on people.apache.org for non-interactive login.  If your shell is tcsh you can edit .cshrc to include</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
 umask 2
-</pre>
+]]></script>
 </div></div>
 <p>Other shell initialization files may interfere with this setting but if this is the only umask setting it appears to work.  Instructions for other shells would be welcome.</p>
 
@@ -127,19 +138,19 @@ umask 2
 <p>To effectively use the release and staging plugins you need some information about where the staging will happen and signing information for gpg. Your ~/.m2/settings.xml should contain a profile like this:</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-<span class="code-tag">&lt;settings&gt;</span>
-    <span class="code-tag">&lt;profiles&gt;</span>
-        <span class="code-tag">&lt;profile&gt;</span>
-          <span class="code-tag">&lt;id&gt;</span>apache-release<span class="code-tag">&lt;/id&gt;</span>
-          <span class="code-tag">&lt;properties&gt;</span>
-             <span class="code-tag">&lt;gpg.passphrase&gt;</span>secretPhrase<span class="code-tag">&lt;/gpg.passphrase&gt;</span>
-         <span class="code-tag">&lt;/properties&gt;</span>
-        <span class="code-tag">&lt;/profile&gt;</span>
-    <span class="code-tag">&lt;/profiles&gt;</span>
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;settings&gt;
+    &lt;profiles&gt;
+        &lt;profile&gt;
+          &lt;id&gt;apache-release&lt;/id&gt;
+          &lt;properties&gt;
+             &lt;gpg.passphrase&gt;secretPhrase&lt;/gpg.passphrase&gt;
+         &lt;/properties&gt;
+        &lt;/profile&gt;
+    &lt;/profiles&gt;
  ...
-<span class="code-tag">&lt;/settings&gt;</span>
-</pre>
+&lt;/settings&gt;
+]]></script>
 </div></div>
 
 
@@ -148,45 +159,45 @@ umask 2
 <p>The release plugin will prompt for a release version, tag and next release version. Use a three digit release version of the form: 5.x.x and for the tag use a string of the form: activemq-5.x.x. The next version string should use the two digit from: 5.x-SNAPSHOT as this can be consistent for future SNAPSHOT releases.</p>
 <ol><li>Verify the xsd (activemq-core/src/main/resources/activemq.xsd) is up to date, no diff from what is currently checked in -
  <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">mvn -P xbean-generate clean process-classes</pre>
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[mvn -P xbean-generate clean process-classes]]></script>
 </div></div></li><li>Verify the to-be-release version identifier exists in the <a shape="rect" class="external-link" href="http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/resources/META-INF/spring.schemas?view=markup">META-INF/spring.schema</a> mappings file, if not add it and commit. It should contain:
  <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">http\:<span class="code-comment">//activemq.apache.org/schema/core/activemq-core-${pom.version}.xsd=activemq.xsd</span></pre>
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[http\://activemq.apache.org/schema/core/activemq-core-${pom.version}.xsd=activemq.xsd]]></script>
 </div></div></li><li>Verify headers with <a shape="rect" class="external-link" href="http://incubator.apache.org/rat/apache-rat-plugin/usage.html">rat</a>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
 mvn -e apache-rat:check
 grep -e ' !?????' target/rat.txt -- will show any files without licenses
-</pre>
+]]></script>
 </div></div></li><li>Do a release dry run to check for problems
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-mvn release:prepare -DdryRun=<span class="code-keyword">true</span>
-</pre>
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+mvn release:prepare -DdryRun=true
+]]></script>
 </div></div>
 <p>Check that you are happy with the results. The poms for the proposed tags will be in pom.xml.tag. When you like the results, clean up:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
 mvn release:clean
-</pre>
+]]></script>
 </div></div></li><li>Prepare the release
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
 mvn release:prepare
-</pre>
+]]></script>
 </div></div>
 <p>This will create the tag in svn and leave various stuff around locally to direct the perform phase.</p></li><li>Make a local copy of the release configuration in case something goes wrong
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
 cd ..
 cp -r activemq-release activemq-release-prepared
 cd activemq-release
-</pre>
+]]></script>
 </div></div></li><li>Perform the release to the staging repo
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
 mvn release:perform
-</pre>
+]]></script>
 </div></div>
 <p>This uses both the activemq release profile which directs building source jars, javadoc jars, and signing everything, and also the settings release profile that says where to<br clear="none">
 put stuff and how to sign it.</p></li><li>update the &lt;activemq-version&gt; property in pom.xml to the new snapshot version (it gets missed by the release plugin)</li><li>Close the staging repository<br clear="none">
@@ -200,10 +211,10 @@ Note the repository URL, you will need t
 Note that the -Prelease profile is needed to specify the profile in settings.xml that configures the staging location.<br clear="none">
 Build the site from the tag that release:perform checked out into target/checkout in the previous step.
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
 cd target/checkout
 mvn site site:deploy -Prelease
-</pre>
+]]></script>
 </div></div>
 <p>This will copy to the staging.siteURL set up in your settings.xml release profile.</p></li><li>Call a vote on the dev list, listing the great new features of the release.</li><li>After it passes, promote the release<br clear="none">
 Quote from the <a shape="rect" class="external-link" href="http://maven.apache.org/developers/release/apache-release.html">original guide</a>
@@ -247,8 +258,8 @@ chmod -R g+w /www/activemq.apache.org/sc
 
 <h3><a shape="rect" name="Navigation-Search"></a>Search</h3>
 
-
-<div>
+<p>
+</p><div>
 <form enctype="application/x-www-form-urlencoded" method="get" action="http://www.google.com/search" style="font-size: 10px;">
 <input type="hidden" name="ie" value="UTF-8">
 <input type="hidden" name="oe" value="UTF-8">

Modified: websites/production/activemq/content/release-info.html
==============================================================================
--- websites/production/activemq/content/release-info.html (original)
+++ websites/production/activemq/content/release-info.html Fri Jul 12 12:46:14 2013
@@ -32,6 +32,7 @@
     </style>
     <![endif]-->
 
+    
     <title>
     Apache ActiveMQ &#8482; -- Release Info
     </title>
@@ -50,8 +51,8 @@
       <div>
 
 <!-- Banner -->
-
-	<div id="asf_logo">
+<p>
+	</p><div id="asf_logo">
 	<div id="activemq_logo">
             <a shape="rect" style="float:left; width:280px;display:block;text-indent:-5000px;text-decoration:none;line-height:60px; margin-top:10px; margin-left:100px;" href="http://activemq.apache.org" title="The most popular and powerful open source Message Broker">ActiveMQ</a> &#8482;
             <a shape="rect" style="float:right; width:210px;display:block;text-indent:-5000px;text-decoration:none;line-height:60px; margin-top:15px; margin-right:10px;" href="http://www.apache.org" title="The Apache Software Foundation">ASF</a>
@@ -90,8 +91,8 @@
 
 <h3><a shape="rect" name="Navigation-Search"></a>Search</h3>
 
-
-<div>
+<p>
+</p><div>
 <form enctype="application/x-www-form-urlencoded" method="get" action="http://www.google.com/search" style="font-size: 10px;">
 <input type="hidden" name="ie" value="UTF-8">
 <input type="hidden" name="oe" value="UTF-8">

Modified: websites/production/activemq/content/release-plans.html
==============================================================================
--- websites/production/activemq/content/release-plans.html (original)
+++ websites/production/activemq/content/release-plans.html Fri Jul 12 12:46:14 2013
@@ -32,6 +32,7 @@
     </style>
     <![endif]-->
 
+    
     <title>
     Apache ActiveMQ &#8482; -- Release Plans
     </title>
@@ -50,8 +51,8 @@
       <div>
 
 <!-- Banner -->
-
-	<div id="asf_logo">
+<p>
+	</p><div id="asf_logo">
 	<div id="activemq_logo">
             <a shape="rect" style="float:left; width:280px;display:block;text-indent:-5000px;text-decoration:none;line-height:60px; margin-top:10px; margin-left:100px;" href="http://activemq.apache.org" title="The most popular and powerful open source Message Broker">ActiveMQ</a> &#8482;
             <a shape="rect" style="float:right; width:210px;display:block;text-indent:-5000px;text-decoration:none;line-height:60px; margin-top:15px; margin-right:10px;" href="http://www.apache.org" title="The Apache Software Foundation">ASF</a>
@@ -95,8 +96,8 @@
 
 <h3><a shape="rect" name="Navigation-Search"></a>Search</h3>
 
-
-<div>
+<p>
+</p><div>
 <form enctype="application/x-www-form-urlencoded" method="get" action="http://www.google.com/search" style="font-size: 10px;">
 <input type="hidden" name="ie" value="UTF-8">
 <input type="hidden" name="oe" value="UTF-8">

Modified: websites/production/activemq/content/replicated-leveldb-store.html
==============================================================================
--- websites/production/activemq/content/replicated-leveldb-store.html (original)
+++ websites/production/activemq/content/replicated-leveldb-store.html Fri Jul 12 12:46:14 2013
@@ -32,6 +32,16 @@
     </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; -- Replicated LevelDB Store
     </title>

Modified: websites/production/activemq/content/replicated-message-store.html
==============================================================================
--- websites/production/activemq/content/replicated-message-store.html (original)
+++ websites/production/activemq/content/replicated-message-store.html Fri Jul 12 12:46:14 2013
@@ -32,6 +32,7 @@
     </style>
     <![endif]-->
 
+    
     <title>
     Apache ActiveMQ &#8482; -- Replicated Message Store
     </title>
@@ -50,8 +51,8 @@
       <div>
 
 <!-- Banner -->
-
-	<div id="asf_logo">
+<p>
+	</p><div id="asf_logo">
 	<div id="activemq_logo">
             <a shape="rect" style="float:left; width:280px;display:block;text-indent:-5000px;text-decoration:none;line-height:60px; margin-top:10px; margin-left:100px;" href="http://activemq.apache.org" title="The most popular and powerful open source Message Broker">ActiveMQ</a> &#8482;
             <a shape="rect" style="float:right; width:210px;display:block;text-indent:-5000px;text-decoration:none;line-height:60px; margin-top:15px; margin-right:10px;" href="http://www.apache.org" title="The Apache Software Foundation">ASF</a>
@@ -113,8 +114,8 @@
 
 <h3><a shape="rect" name="Navigation-Search"></a>Search</h3>
 
-
-<div>
+<p>
+</p><div>
 <form enctype="application/x-www-form-urlencoded" method="get" action="http://www.google.com/search" style="font-size: 10px;">
 <input type="hidden" name="ie" value="UTF-8">
 <input type="hidden" name="oe" value="UTF-8">

Modified: websites/production/activemq/content/resource-adapter-does-not-seem-to-pool-connections.html
==============================================================================
--- websites/production/activemq/content/resource-adapter-does-not-seem-to-pool-connections.html (original)
+++ websites/production/activemq/content/resource-adapter-does-not-seem-to-pool-connections.html Fri Jul 12 12:46:14 2013
@@ -32,6 +32,16 @@
     </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; -- Resource Adapter does not seem to pool connections
     </title>
@@ -50,8 +60,8 @@
       <div>
 
 <!-- Banner -->
-
-	<div id="asf_logo">
+<p>
+	</p><div id="asf_logo">
 	<div id="activemq_logo">
             <a shape="rect" style="float:left; width:280px;display:block;text-indent:-5000px;text-decoration:none;line-height:60px; margin-top:10px; margin-left:100px;" href="http://activemq.apache.org" title="The most popular and powerful open source Message Broker">ActiveMQ</a> &#8482;
             <a shape="rect" style="float:right; width:210px;display:block;text-indent:-5000px;text-decoration:none;line-height:60px; margin-top:15px; margin-right:10px;" href="http://www.apache.org" title="The Apache Software Foundation">ASF</a>
@@ -75,10 +85,10 @@
 <p>It may seem like the resource adapter when used in an app server like geronimo or jboss is not pooling connections.  Looking the the ActiveMQ broker logs, it will show multiple message for each use of a pooled conntion simlilar to:</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-16:43:07 INFO  Adding <span class="code-keyword">new</span> client: ID:localhost-58375-1120682586690-1:0 on transport: TcpTransportChannel: Socket[addr=/127.0.0.1,port=58376,localport=61616]
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+16:43:07 INFO  Adding new client: ID:localhost-58375-1120682586690-1:0 on transport: TcpTransportChannel: Socket[addr=/127.0.0.1,port=58376,localport=61616]
 16:43:08 INFO  Removing client: ID:localhost-58375-1120682586690-1:0 on transport: TcpTransportChannel: Socket[addr=/127.0.0.1,port=58376,localport=61616]
-</pre>
+]]></script>
 </div></div>
 
 <p>At first glance it may seem like a new connection is being established..  but if you look at the logs is more detail, you will noticed that the client connection id's are being reused since the connections are being pooled.  This behavior is a side-effect of the connection being reset to a 'cleaned up' state.  It allows the next client to use the connection as if it has just been created.</p>
@@ -97,8 +107,8 @@
 
 <h3><a shape="rect" name="Navigation-Search"></a>Search</h3>
 
-
-<div>
+<p>
+</p><div>
 <form enctype="application/x-www-form-urlencoded" method="get" action="http://www.google.com/search" style="font-size: 10px;">
 <input type="hidden" name="ie" value="UTF-8">
 <input type="hidden" name="oe" value="UTF-8">

Modified: websites/production/activemq/content/resource-adapter-properties.html
==============================================================================
--- websites/production/activemq/content/resource-adapter-properties.html (original)
+++ websites/production/activemq/content/resource-adapter-properties.html Fri Jul 12 12:46:14 2013
@@ -32,6 +32,7 @@
     </style>
     <![endif]-->
 
+    
     <title>
     Apache ActiveMQ &#8482; -- Resource Adapter Properties
     </title>
@@ -50,8 +51,8 @@
       <div>
 
 <!-- Banner -->
-
-	<div id="asf_logo">
+<p>
+	</p><div id="asf_logo">
 	<div id="activemq_logo">
             <a shape="rect" style="float:left; width:280px;display:block;text-indent:-5000px;text-decoration:none;line-height:60px; margin-top:10px; margin-left:100px;" href="http://activemq.apache.org" title="The most popular and powerful open source Message Broker">ActiveMQ</a> &#8482;
             <a shape="rect" style="float:right; width:210px;display:block;text-indent:-5000px;text-decoration:none;line-height:60px; margin-top:15px; margin-right:10px;" href="http://www.apache.org" title="The Apache Software Foundation">ASF</a>
@@ -134,8 +135,8 @@
 
 <h3><a shape="rect" name="Navigation-Search"></a>Search</h3>
 
-
-<div>
+<p>
+</p><div>
 <form enctype="application/x-www-form-urlencoded" method="get" action="http://www.google.com/search" style="font-size: 10px;">
 <input type="hidden" name="ie" value="UTF-8">
 <input type="hidden" name="oe" value="UTF-8">

Modified: websites/production/activemq/content/resource-adapter.html
==============================================================================
--- websites/production/activemq/content/resource-adapter.html (original)
+++ websites/production/activemq/content/resource-adapter.html Fri Jul 12 12:46:14 2013
@@ -32,6 +32,7 @@
     </style>
     <![endif]-->
 
+    
     <title>
     Apache ActiveMQ &#8482; -- Resource Adapter
     </title>
@@ -50,8 +51,8 @@
       <div>
 
 <!-- Banner -->
-
-	<div id="asf_logo">
+<p>
+	</p><div id="asf_logo">
 	<div id="activemq_logo">
             <a shape="rect" style="float:left; width:280px;display:block;text-indent:-5000px;text-decoration:none;line-height:60px; margin-top:10px; margin-left:100px;" href="http://activemq.apache.org" title="The most popular and powerful open source Message Broker">ActiveMQ</a> &#8482;
             <a shape="rect" style="float:right; width:210px;display:block;text-indent:-5000px;text-decoration:none;line-height:60px; margin-top:15px; margin-right:10px;" href="http://www.apache.org" title="The Apache Software Foundation">ASF</a>
@@ -118,8 +119,8 @@
 
 <h3><a shape="rect" name="Navigation-Search"></a>Search</h3>
 
-
-<div>
+<p>
+</p><div>
 <form enctype="application/x-www-form-urlencoded" method="get" action="http://www.google.com/search" style="font-size: 10px;">
 <input type="hidden" name="ie" value="UTF-8">
 <input type="hidden" name="oe" value="UTF-8">

Modified: websites/production/activemq/content/rest-protocols.html
==============================================================================
--- websites/production/activemq/content/rest-protocols.html (original)
+++ websites/production/activemq/content/rest-protocols.html Fri Jul 12 12:46:14 2013
@@ -32,6 +32,16 @@
     </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; -- REST protocols
     </title>
@@ -50,8 +60,8 @@
       <div>
 
 <!-- Banner -->
-
-	<div id="asf_logo">
+<p>
+	</p><div id="asf_logo">
 	<div id="activemq_logo">
             <a shape="rect" style="float:left; width:280px;display:block;text-indent:-5000px;text-decoration:none;line-height:60px; margin-top:10px; margin-left:100px;" href="http://activemq.apache.org" title="The most popular and powerful open source Message Broker">ActiveMQ</a> &#8482;
             <a shape="rect" style="float:right; width:210px;display:block;text-indent:-5000px;text-decoration:none;line-height:60px; margin-top:15px; margin-right:10px;" href="http://www.apache.org" title="The Apache Software Foundation">ASF</a>
@@ -79,22 +89,25 @@
 <p>Send via </p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">POST /queue/Destination
-</pre>
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+POST /queue/Destination
+]]></script>
 </div></div>
 
 <p>Consume</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">GET /queue/Destination
-</pre>
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+GET /queue/Destination
+]]></script>
 </div></div>
 
 <p>This is bad as the GET is not idempotent. We can add a user ID or use a cookie</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">GET /queue/Destination?jsessionId=....
-</pre>
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+GET /queue/Destination?jsessionId=....
+]]></script>
 </div></div>
 
 <p>though a caching proxy may keep returning the same message</p>
@@ -117,8 +130,9 @@ POST /unsubscribe/consumerId/Destination
 <h2><a shape="rect" name="RESTprotocols-BatchmessageREST"></a>Batch message REST</h2>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">POST lockNextMessage/consumerId?max=10 
-</pre>
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+POST lockNextMessage/consumerId?max=10 
+]]></script>
 </div></div>
 
 <p>-&gt; give back up to 10 message URLs</p>
@@ -150,8 +164,8 @@ POST /unsubscribe/consumerId/Destination
 
 <h3><a shape="rect" name="Navigation-Search"></a>Search</h3>
 
-
-<div>
+<p>
+</p><div>
 <form enctype="application/x-www-form-urlencoded" method="get" action="http://www.google.com/search" style="font-size: 10px;">
 <input type="hidden" name="ie" value="UTF-8">
 <input type="hidden" name="oe" value="UTF-8">

Modified: websites/production/activemq/content/rest.html
==============================================================================
--- websites/production/activemq/content/rest.html (original)
+++ websites/production/activemq/content/rest.html Fri Jul 12 12:46:14 2013
@@ -32,6 +32,16 @@
     </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; -- REST
     </title>
@@ -50,8 +60,8 @@
       <div>
 
 <!-- Banner -->
-
-	<div id="asf_logo">
+<p>
+	</p><div id="asf_logo">
 	<div id="activemq_logo">
             <a shape="rect" style="float:left; width:280px;display:block;text-indent:-5000px;text-decoration:none;line-height:60px; margin-top:10px; margin-left:100px;" href="http://activemq.apache.org" title="The most popular and powerful open source Message Broker">ActiveMQ</a> &#8482;
             <a shape="rect" style="float:right; width:210px;display:block;text-indent:-5000px;text-decoration:none;line-height:60px; margin-top:15px; margin-right:10px;" href="http://www.apache.org" title="The Apache Software Foundation">ASF</a>
@@ -85,9 +95,9 @@
 <p>You can map a URI to the servlet and then use the relative part of the URI as the topic or queue name. e.g. you could HTTP POST to</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-http:<span class="code-comment">//www.acme.com/queue/orders/input</span>
-</pre>
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+http://www.acme.com/queue/orders/input
+]]></script>
 </div></div>
 
 <p>which would publish the contents of the HTTP POST to the orders.input queue on JMS.</p>
@@ -95,9 +105,9 @@ http:<span class="code-comment">//www.ac
 <p>Similarly you could perform a HTTP DELETE GET on the above URL to read from the same queue. In this case we will map the MessageServlet from ActiveMQ to the URI </p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-http:<span class="code-comment">//www.acme.com/queue</span>
-</pre>
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+http://www.acme.com/queue
+]]></script>
 </div></div>
 
 <p>and configure it to accept the URI as a queue destination. We can do similar things to support topic destinations too.</p>
@@ -117,7 +127,7 @@ http:<span class="code-comment">//www.ac
 <p>You cam produce by sending a POST request to the server, like</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">curl -u admin:admin -d <span class="code-quote">"body=message"</span> http:<span class="code-comment">//localhost:8161/api/message/TEST?type=queue</span></pre>
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[curl -u admin:admin -d "body=message" http://localhost:8161/api/message/TEST?type=queue]]></script>
 </div></div>
 
 <h3><a shape="rect" name="REST-Timeouts"></a>Timeouts</h3>
@@ -134,15 +144,15 @@ http:<span class="code-comment">//www.ac
 
 <p>For example, you can use <tt>wget</tt> to consume messages, like this:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-wget --user admin --password admin --save-cookies cookies.txt --load-cookies cookies.txt --keep-session-cookies  http:<span class="code-comment">//localhost:8161/api/message/TEST1?type=queue</span>
-</pre>
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+wget --user admin --password admin --save-cookies cookies.txt --load-cookies cookies.txt --keep-session-cookies  http://localhost:8161/api/message/TEST1?type=queue
+]]></script>
 </div></div>
 
 <p>Also, if you plan to have multiple consumer using REST, it's advisable to set prefetch size to 1 so all consumers have an equal chance of getting the message. You can do that by passing a special parameter to the <tt>MessageServlet</tt></p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
     &lt;servlet&gt;
         &lt;servlet-name&gt;MessageServlet&lt;/servlet-name&gt;       
         &lt;servlet-class&gt;org.apache.activemq.web.MessageServlet&lt;/servlet-class&gt;
@@ -152,7 +162,7 @@ wget --user admin --password admin --sav
                 &lt;param-value&gt;consumer.prefetchSize=1&lt;/param-value&gt;
         &lt;/init-param&gt;
     &lt;/servlet&gt;
-</pre>
+]]></script>
 </div></div>
 
 <p>in the <tt>webapps/demo/WEB-INF/web.xml</tt></p>
@@ -162,9 +172,9 @@ wget --user admin --password admin --sav
 <p>Since 5.2.0 you can use <tt>clientId</tt> parameter to avoid storing actual JMS consumer in the request session. When using this approach, you don't need to keep sessions alive between requests, you just need to use the same <tt>clientId</tt> every time. </p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-wget --user admin --password admin http:<span class="code-comment">//localhost:8161/api/message/test?type=queue&amp;clientId=consumerA</span>
-</pre>
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+wget --user admin --password admin http://localhost:8161/api/message/test?type=queue&amp;clientId=consumerA
+]]></script>
 </div></div>
 
 <p>Every such call will use the same JMS consumer and deliver messages send to it by the broker.</p>
@@ -172,7 +182,7 @@ wget --user admin --password admin http:
 <p>In 5.4.1 it's also possible to unsubscribe the client. It's done by sending a POST call with <tt>clientId</tt> and <tt>action=unsubscribe</tt> parameters to the server, like</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">http:<span class="code-comment">//localhost:8161/demo/message/test?clientId=consumerA&amp;action=unsubscribe</span></pre>
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[http://localhost:8161/demo/message/test?clientId=consumerA&amp;action=unsubscribe]]></script>
 </div></div>
 
 <h3><a shape="rect" name="REST-Consumingwithselectors"></a>Consuming with selectors</h3>
@@ -180,9 +190,9 @@ wget --user admin --password admin http:
 <p>As of ActiveMQ 5.4.0, you can use selectors when consuming using REST protocol. To do that, just specify the appropriate header with selector. To define a selector for the consumer, you have to provide it in an appropriate HTTP header. By default selector header name is <tt>selector</tt>, so the following example</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-wget  --user admin --password admin --save-cookies cookies.txt --load-cookies cookies.txt --keep-session-cookies  --header=<span class="code-quote">"selector: test=2"</span> http:<span class="code-comment">//localhost:8161/api/message/test?type=queue</span>
-</pre>
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+wget  --user admin --password admin --save-cookies cookies.txt --load-cookies cookies.txt --keep-session-cookies  --header="selector: test=2" http://localhost:8161/api/message/test?type=queue
+]]></script>
 </div></div>
 
 <p>should consume only messages that have <tt>test</tt> property set to <tt>2</tt>.</p>
@@ -190,12 +200,12 @@ wget  --user admin --password admin --sa
 <p>You can change the name of the selector header using the <tt>org.apache.activemq.selectorName</tt> Servlet context property in <tt>WEB-INF/web.xml</tt>, such as</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
     &lt;context-param&gt;
         &lt;param-name&gt;org.apache.activemq.selectorName&lt;/param-name&gt;
         &lt;param-value&gt;activemq-selector&lt;/param-value&gt;
     &lt;/context-param&gt;
-</pre>
+]]></script>
 </div></div>
 
 <p>For more info, take a look at <a shape="rect" class="external-link" href="http://fisheye6.atlassian.com/browse/activemq/trunk/activemq-web-demo/src/test/java/org/apache/activemq/web/RestTest.java?r=HEAD" rel="nofollow">RestTest</a></p>
@@ -205,7 +215,7 @@ wget  --user admin --password admin --sa
 <p>By default messages are sent to the consumers with <tt>text/xml</tt> content type. Your REST-based application may expect JSON response instead of XML one. In that case, you can configure the servlet to send responses back by adding something like this</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
     &lt;servlet&gt;
         &lt;servlet-name&gt;MessageServlet&lt;/servlet-name&gt;
         &lt;servlet-class&gt;org.apache.activemq.web.MessageServlet&lt;/servlet-class&gt;
@@ -215,7 +225,7 @@ wget  --user admin --password admin --sa
                 &lt;param-value&gt;application/json&lt;/param-value&gt;
         &lt;/init-param&gt; 
     &lt;/servlet&gt;
-</pre>
+]]></script>
 </div></div>
 
 <p>to your <tt>WEB-INF/web.xml</tt>.</p>
@@ -223,7 +233,7 @@ wget  --user admin --password admin --sa
 <p>A default content type can also be overridden using request headers. Specifying <tt>xml=true</tt> or <tt>json=true</tt> URL parameter you'll get a response with the desired content type.</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">wget --user admin --password admin http:<span class="code-comment">//localhost:8161/api/message/TEST?type=queue\&amp;clientId=A\&amp;json=<span class="code-keyword">true</span></span></pre>
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[wget --user admin --password admin http://localhost:8161/api/message/TEST?type=queue\&amp;clientId=A\&amp;json=true]]></script>
 </div></div>
 
 <h3><a shape="rect" name="REST-Security"></a>Security</h3>
@@ -233,17 +243,17 @@ wget  --user admin --password admin --sa
 <p>For example, with curl you can do something like</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">curl -u system:manager -d <span class="code-quote">"body=message"</span> http:<span class="code-comment">//localhost:8161/demo/message/TEST?type=queue</span></pre>
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[curl -u system:manager -d "body=message" http://localhost:8161/demo/message/TEST?type=queue]]></script>
 </div></div>
 
 <p>Also, you might want to enable <tt>ssl</tt> for your connections. To do that, just uncomment SecureConnector in <tt>conf/jetty.xml</tt></p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">                &lt;bean id=<span class="code-quote">"SecureConnector"</span> class=<span class="code-quote">"org.eclipse.jetty.server.ssl.SslSelectChannelConnector"</span>&gt;
-                    &lt;property name=<span class="code-quote">"port"</span> value=<span class="code-quote">"8162"</span> /&gt;
-                    &lt;property name=<span class="code-quote">"keystore"</span> value=<span class="code-quote">"file:${activemq.conf}/broker.ks"</span> /&gt;
-                    &lt;property name=<span class="code-quote">"password"</span> value=<span class="code-quote">"password"</span> /&gt;
-                &lt;/bean&gt;</pre>
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[                &lt;bean id="SecureConnector" class="org.eclipse.jetty.server.ssl.SslSelectChannelConnector"&gt;
+                    &lt;property name="port" value="8162" /&gt;
+                    &lt;property name="keystore" value="file:${activemq.conf}/broker.ks" /&gt;
+                    &lt;property name="password" value="password" /&gt;
+                &lt;/bean&gt;]]></script>
 </div></div>
 
 <h2><a shape="rect" name="REST-RestManagement"></a>Rest Management</h2>
@@ -251,13 +261,13 @@ wget  --user admin --password admin --sa
 <p>Starting with version 5.8 we provide a REST management API for the broker. Using <a shape="rect" class="external-link" href="http://www.jolokia.org/" rel="nofollow">Jolokia</a> JMX-HTTP bridge it's possible to access all broker metrics (like memory usage) and execute management operations (like purging queues) using REST API. By default the management API is exposed at <a shape="rect" class="external-link" href="http://localhost:8161/api/jolokia/" rel="nofollow">http://localhost:8161/api/jolokia/</a> URL. So you can for example get basic broker data with </p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">wget --user admin --password admin http:<span class="code-comment">//localhost:8161/api/jolokia/read/org.apache.activemq:type=Broker,brokerName=localhost</span></pre>
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[wget --user admin --password admin http://localhost:8161/api/jolokia/read/org.apache.activemq:type=Broker,brokerName=localhost]]></script>
 </div></div>
 
 <p>or to be more specific, total consumer count with</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">wget --user admin --password admin http:<span class="code-comment">//localhost:8161/api/jolokia/read/org.apache.activemq:type=Broker,brokerName=localhost/TotalConsumerCount</span></pre>
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[wget --user admin --password admin http://localhost:8161/api/jolokia/read/org.apache.activemq:type=Broker,brokerName=localhost/TotalConsumerCount]]></script>
 </div></div>
 
 <p>For more information on Jolokia protocol, see its reference manual. An API like this makes it easy to script monitoring and management operations agains the broker.</p>
@@ -274,8 +284,8 @@ wget  --user admin --password admin --sa
 
 <h3><a shape="rect" name="Navigation-Search"></a>Search</h3>
 
-
-<div>
+<p>
+</p><div>
 <form enctype="application/x-www-form-urlencoded" method="get" action="http://www.google.com/search" style="font-size: 10px;">
 <input type="hidden" name="ie" value="UTF-8">
 <input type="hidden" name="oe" value="UTF-8">

Modified: websites/production/activemq/content/restful-queue.html
==============================================================================
--- websites/production/activemq/content/restful-queue.html (original)
+++ websites/production/activemq/content/restful-queue.html Fri Jul 12 12:46:14 2013
@@ -32,6 +32,16 @@
     </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; -- RESTful Queue
     </title>
@@ -50,8 +60,8 @@
       <div>
 
 <!-- Banner -->
-
-	<div id="asf_logo">
+<p>
+	</p><div id="asf_logo">
 	<div id="activemq_logo">
             <a shape="rect" style="float:left; width:280px;display:block;text-indent:-5000px;text-decoration:none;line-height:60px; margin-top:10px; margin-left:100px;" href="http://activemq.apache.org" title="The most popular and powerful open source Message Broker">ActiveMQ</a> &#8482;
             <a shape="rect" style="float:right; width:210px;display:block;text-indent:-5000px;text-decoration:none;line-height:60px; margin-top:15px; margin-right:10px;" href="http://www.apache.org" title="The Apache Software Foundation">ASF</a>
@@ -94,37 +104,40 @@
 <p>To browse the queues, they are a hierarchial structure usually, so lets browse them like any APP collection</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">GET /queues
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+GET /queues
 --------------------&gt;
 
 200 OK
 Atom Feed with one entry per directory/category/queue
 &lt;--------------------
-</pre>
+]]></script>
 </div></div>
 
 <h4><a shape="rect" name="RESTfulQueue-Browseaqueue%27smessages"></a>Browse a queue's messages</h4>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">GET /queues/uk/products/books/computers
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+GET /queues/uk/products/books/computers
 --------------------&gt;
 
 200 OK
 Atom Feed with one entry per pending message
 &lt;--------------------
-</pre>
+]]></script>
 </div></div>
 
 <p>Note that we could expose the queues as a tree, for example</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">GET /queues/uk/products
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+GET /queues/uk/products
 --------------------&gt;
 
 200 OK
 Atom Feed with one entry per queue in uk.products.* together with any child catgory/directory
 &lt;--------------------
-</pre>
+]]></script>
 </div></div>
 
 <h4><a shape="rect" name="RESTfulQueue-Creatingaqueue"></a>Creating a queue</h4>
@@ -132,24 +145,26 @@ Atom Feed with one entry per queue in uk
 <p>Creating a queue is typically idempotent; since really you are just creating a name that folks can post to.</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">POST /queues
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+POST /queues
 --------------------&gt;
 
 201 OK
 Location: someUniqueUrlForTheNewQueueToBePostedTo
 &lt;--------------------
-</pre>
+]]></script>
 </div></div>
 
 <h4><a shape="rect" name="RESTfulQueue-Deletingaqueue"></a>Deleting a queue</h4>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">DELETE /queues/foo.bar
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+DELETE /queues/foo.bar
 --------------------&gt;
 
 200 OK
 &lt;--------------------
-</pre>
+]]></script>
 </div></div>
 
 <h3><a shape="rect" name="RESTfulQueue-Sendtoqueue"></a>Send to queue</h3>
@@ -157,13 +172,14 @@ Location: someUniqueUrlForTheNewQueueToB
 <p>Sending to queue is the usual APP-style double request; one to get the unique URI to post to and secondly to do the actual post...</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">POST /queues/foo.bar
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+POST /queues/foo.bar
 --------------------&gt;
 
 201 OK
 Location: someUniqueUrlForTheNewMessageToBePostedTo
 &lt;--------------------
-</pre>
+]]></script>
 </div></div>
 
 <p>The client can then repeatedly POST the mesage to someUniqueUrlForTheNewMessageToBePostedTo until it gets a 200 OK which avoids duplicates.</p>
@@ -173,12 +189,13 @@ Location: someUniqueUrlForTheNewMessageT
 <p>If a smart client is capable of generating a system wide unique GUID (id) for the message, the server side could ignore duplicates. So posting to queue could be done without the double-request approach above</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">POST /queues/foo.bar?guid=clientGeneratedUniqueId
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+POST /queues/foo.bar?guid=clientGeneratedUniqueId
 --------------------&gt;
 
 200 OK
 &lt;--------------------
-</pre>
+]]></script>
 </div></div>
 
 
@@ -195,13 +212,14 @@ Location: someUniqueUrlForTheNewMessageT
 <h4><a shape="rect" name="RESTfulQueue-Createasubscription"></a>Create a subscription</h4>
 
  <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">POST /subscriptions
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+POST /subscriptions
 --------------------&gt;
 
 201 OK
 Location: subscriptionUri
 &lt;--------------------
-</pre>
+]]></script>
 </div></div>
 
 <p>The actual subscription data could be form encoded key/value pairs.</p>
@@ -211,12 +229,13 @@ Location: subscriptionUri
 <p>Good clients will delete subscriptions when they are no longer required; though they do timeout eventually.</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">DELETE subscriptionUri
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+DELETE subscriptionUri
 --------------------&gt;
 
 200 OK
 &lt;--------------------
-</pre>
+]]></script>
 </div></div>
 
 <h4><a shape="rect" name="RESTfulQueue-Consumingmessages"></a>Consuming messages</h4>
@@ -224,24 +243,26 @@ Location: subscriptionUri
 <p>You consume messages by browsing the subscription (like any APP resource) then DELETEing the message when you have finished processing it.</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">GET subscriptionUri
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+GET subscriptionUri
 --------------------&gt;
 
 200 OK
-Atom Feed with one entry per message associated to <span class="code-keyword">this</span> subscription
+Atom Feed with one entry per message associated to this subscription
 &lt;--------------------
-</pre>
+]]></script>
 </div></div>
 
 <p>Then to acknowledge a particular message has been processed</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">DELETE messageUri
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+DELETE messageUri
 --------------------&gt;
 
 200 OK
 &lt;--------------------
-</pre>
+]]></script>
 </div></div>
 
 <h2><a shape="rect" name="RESTfulQueue-DeltaswithAPP"></a>Deltas with APP</h2>
@@ -270,8 +291,8 @@ Atom Feed with one entry per message ass
 
 <h3><a shape="rect" name="Navigation-Search"></a>Search</h3>
 
-
-<div>
+<p>
+</p><div>
 <form enctype="application/x-www-form-urlencoded" method="get" action="http://www.google.com/search" style="font-size: 10px;">
 <input type="hidden" name="ie" value="UTF-8">
 <input type="hidden" name="oe" value="UTF-8">

Modified: websites/production/activemq/content/retroactive-consumer.html
==============================================================================
--- websites/production/activemq/content/retroactive-consumer.html (original)
+++ websites/production/activemq/content/retroactive-consumer.html Fri Jul 12 12:46:14 2013
@@ -32,6 +32,16 @@
     </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; -- Retroactive Consumer
     </title>
@@ -50,8 +60,8 @@
       <div>
 
 <!-- Banner -->
-
-	<div id="asf_logo">
+<p>
+	</p><div id="asf_logo">
 	<div id="activemq_logo">
             <a shape="rect" style="float:left; width:280px;display:block;text-indent:-5000px;text-decoration:none;line-height:60px; margin-top:10px; margin-left:100px;" href="http://activemq.apache.org" title="The most popular and powerful open source Message Broker">ActiveMQ</a> &#8482;
             <a shape="rect" style="float:right; width:210px;display:block;text-indent:-5000px;text-decoration:none;line-height:60px; margin-top:15px; margin-right:10px;" href="http://www.apache.org" title="The Apache Software Foundation">ASF</a>
@@ -83,10 +93,10 @@
 <p>You mark a Consumer as being retroactive as follows:</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-topic = <span class="code-keyword">new</span> ActiveMQTopic(<span class="code-quote">"TEST.Topic?consumer.retroactive=<span class="code-keyword">true</span>"</span>);
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+topic = new ActiveMQTopic("TEST.Topic?consumer.retroactive=true");
 consumer = session.createConsumer(topic);
-</pre>
+]]></script>
 </div></div>
 
 <h2><a shape="rect" name="RetroactiveConsumer-Limitations"></a>Limitations</h2>
@@ -109,8 +119,8 @@ consumer = session.createConsumer(topic)
 
 <h3><a shape="rect" name="Navigation-Search"></a>Search</h3>
 
-
-<div>
+<p>
+</p><div>
 <form enctype="application/x-www-form-urlencoded" method="get" action="http://www.google.com/search" style="font-size: 10px;">
 <input type="hidden" name="ie" value="UTF-8">
 <input type="hidden" name="oe" value="UTF-8">

Modified: websites/production/activemq/content/rightheader.html
==============================================================================
--- websites/production/activemq/content/rightheader.html (original)
+++ websites/production/activemq/content/rightheader.html Fri Jul 12 12:46:14 2013
@@ -32,6 +32,7 @@
     </style>
     <![endif]-->
 
+    
     <title>
     Apache ActiveMQ &#8482; -- RightHeader
     </title>
@@ -50,8 +51,8 @@
       <div>
 
 <!-- Banner -->
-
-	<div id="asf_logo">
+<p>
+	</p><div id="asf_logo">
 	<div id="activemq_logo">
             <a shape="rect" style="float:left; width:280px;display:block;text-indent:-5000px;text-decoration:none;line-height:60px; margin-top:10px; margin-left:100px;" href="http://activemq.apache.org" title="The most popular and powerful open source Message Broker">ActiveMQ</a> &#8482;
             <a shape="rect" style="float:right; width:210px;display:block;text-indent:-5000px;text-decoration:none;line-height:60px; margin-top:15px; margin-right:10px;" href="http://www.apache.org" title="The Apache Software Foundation">ASF</a>
@@ -87,8 +88,8 @@
 
 <h3><a shape="rect" name="Navigation-Search"></a>Search</h3>
 
-
-<div>
+<p>
+</p><div>
 <form enctype="application/x-www-form-urlencoded" method="get" action="http://www.google.com/search" style="font-size: 10px;">
 <input type="hidden" name="ie" value="UTF-8">
 <input type="hidden" name="oe" value="UTF-8">

Modified: websites/production/activemq/content/rss-and-atom.html
==============================================================================
--- websites/production/activemq/content/rss-and-atom.html (original)
+++ websites/production/activemq/content/rss-and-atom.html Fri Jul 12 12:46:14 2013
@@ -32,6 +32,7 @@
     </style>
     <![endif]-->
 
+    
     <title>
     Apache ActiveMQ &#8482; -- RSS and Atom
     </title>
@@ -50,8 +51,8 @@
       <div>
 
 <!-- Banner -->
-
-	<div id="asf_logo">
+<p>
+	</p><div id="asf_logo">
 	<div id="activemq_logo">
             <a shape="rect" style="float:left; width:280px;display:block;text-indent:-5000px;text-decoration:none;line-height:60px; margin-top:10px; margin-left:100px;" href="http://activemq.apache.org" title="The most popular and powerful open source Message Broker">ActiveMQ</a> &#8482;
             <a shape="rect" style="float:right; width:210px;display:block;text-indent:-5000px;text-decoration:none;line-height:60px; margin-top:15px; margin-right:10px;" href="http://www.apache.org" title="The Apache Software Foundation">ASF</a>
@@ -106,8 +107,8 @@
 
 <h3><a shape="rect" name="Navigation-Search"></a>Search</h3>
 
-
-<div>
+<p>
+</p><div>
 <form enctype="application/x-www-form-urlencoded" method="get" action="http://www.google.com/search" style="font-size: 10px;">
 <input type="hidden" name="ie" value="UTF-8">
 <input type="hidden" name="oe" value="UTF-8">

Modified: websites/production/activemq/content/ruby.html
==============================================================================
--- websites/production/activemq/content/ruby.html (original)
+++ websites/production/activemq/content/ruby.html Fri Jul 12 12:46:14 2013
@@ -32,6 +32,16 @@
     </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; -- Ruby
     </title>
@@ -50,8 +60,8 @@
       <div>
 
 <!-- Banner -->
-
-	<div id="asf_logo">
+<p>
+	</p><div id="asf_logo">
 	<div id="activemq_logo">
             <a shape="rect" style="float:left; width:280px;display:block;text-indent:-5000px;text-decoration:none;line-height:60px; margin-top:10px; margin-left:100px;" href="http://activemq.apache.org" title="The most popular and powerful open source Message Broker">ActiveMQ</a> &#8482;
             <a shape="rect" style="float:right; width:210px;display:block;text-indent:-5000px;text-decoration:none;line-height:60px; margin-top:15px; margin-right:10px;" href="http://www.apache.org" title="The Apache Software Foundation">ASF</a>
@@ -85,8 +95,9 @@ Source: <a shape="rect" class="external-
 
 <p>Also package dup as a gem:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">gem install stomp
-</pre>
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+gem install stomp
+]]></script>
 </div></div>
 
 <h2><a shape="rect" name="Ruby-ActiveMessaging"></a>ActiveMessaging</h2>
@@ -105,8 +116,8 @@ Source: <a shape="rect" class="external-
 
 <h3><a shape="rect" name="Navigation-Search"></a>Search</h3>
 
-
-<div>
+<p>
+</p><div>
 <form enctype="application/x-www-form-urlencoded" method="get" action="http://www.google.com/search" style="font-size: 10px;">
 <input type="hidden" name="ie" value="UTF-8">
 <input type="hidden" name="oe" value="UTF-8">

Modified: websites/production/activemq/content/run-broker.html
==============================================================================
--- websites/production/activemq/content/run-broker.html (original)
+++ websites/production/activemq/content/run-broker.html Fri Jul 12 12:46:14 2013
@@ -32,6 +32,16 @@
     </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; -- Run Broker
     </title>
@@ -50,8 +60,8 @@
       <div>
 
 <!-- Banner -->
-
-	<div id="asf_logo">
+<p>
+	</p><div id="asf_logo">
 	<div id="activemq_logo">
             <a shape="rect" style="float:left; width:280px;display:block;text-indent:-5000px;text-decoration:none;line-height:60px; margin-top:10px; margin-left:100px;" href="http://activemq.apache.org" title="The most popular and powerful open source Message Broker">ActiveMQ</a> &#8482;
             <a shape="rect" style="float:right; width:210px;display:block;text-indent:-5000px;text-decoration:none;line-height:60px; margin-top:15px; margin-right:10px;" href="http://www.apache.org" title="The Apache Software Foundation">ASF</a>
@@ -80,35 +90,41 @@
 
 <p>The <a shape="rect" href="download.html" title="Download">binary distribution</a> of ActiveMQ comes with a script called 'activemq' which allows you to run a broker. Typing the following will run an ActiveMQ Broker using the out of the box configuration</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">activemq
-</pre>
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+activemq
+]]></script>
 </div></div>
 <p>There are a number of different command line options to be able to run a broker. To see them type</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">activemq -?
-</pre>
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+activemq -?
+]]></script>
 </div></div>
 <p>For more details regarding the activemq script file and other script files refer to <a shape="rect" href="activemq-command-line-tools-reference.html" title="ActiveMQ Command Line Tools Reference">ActiveMQ Command Line Tools Reference</a></p>
 
 <p>You can then use a <a shape="rect" href="broker-configuration-uri.html" title="Broker Configuration URI">Broker Configuration URI</a> to specify how to start and configure your broker using a single URI. For example</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">activemq broker:(tcp:<span class="code-comment">//localhost:61616,network:<span class="code-keyword">static</span>:tcp://remotehost:61616)?persistent=<span class="code-keyword">false</span>&amp;useJmx=<span class="code-keyword">true</span></span>
-</pre>
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+activemq broker:(tcp://localhost:61616,network:static:tcp://remotehost:61616)?persistent=false&amp;useJmx=true
+]]></script>
 </div></div>
 <p>Or you can a <a shape="rect" href="broker-xbean-uri.html" title="Broker XBean URI">Broker XBean URI</a> to customize the Message Broker using the <a shape="rect" href="xml-configuration.html" title="Xml Configuration">Xml Configuration</a> to suit your needs. You can run a broker with a specific XML configuration as</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">activemq xbean:foo.xml
-</pre>
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+activemq xbean:foo.xml
+]]></script>
 </div></div>
 <p>Or you can use a <a shape="rect" href="broker-properties-uri.html" title="Broker Properties URI">Broker Properties URI</a> to customize the Message Broker using a properties file; which avoids the dependency on Spring, xbean-spring and XML.</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">activemq properties:foo.properties
-</pre>
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+activemq properties:foo.properties
+]]></script>
 </div></div>
 <div class="panelMacro"><table class="warningMacro"><colgroup span="1"><col span="1" width="24"><col span="1"></colgroup><tr><td colspan="1" rowspan="1" valign="top"><img align="middle" src="https://cwiki.apache.org/confluence/images/icons/emoticons/forbidden.gif" width="16" height="16" alt="" border="0"></td><td colspan="1" rowspan="1"><b>Unix shell warning</b><br clear="none">If you are running a broker on a remote unix machine via telnet/ssh, when you exit your shell the broker will terminate too. If you want to keep the broker running you may want to use the /etc/init.d type services to run the broker. Or try use <b>nohup</b>. e.g.
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">nohup activemq &gt; /dev/<span class="code-keyword">null</span> &amp;
-</pre>
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+nohup activemq &gt; /dev/null &amp;
+]]></script>
 </div></div></td></tr></table></div>
 
 <h3><a shape="rect" name="RunBroker-RunningthebrokerasaUnixService"></a>Running the broker as a Unix Service</h3>
@@ -149,13 +165,15 @@ The default username and password is adm
 
 <p>You can download and install the ActiveMQ Startup Maven Plugin via the following command if you are in a directory with a pom.xml. More detailed usage <a shape="rect" href="maven2-activemq-broker-plugin.html" title="Maven2 ActiveMQ Broker Plugin">here</a></p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">mvn org.apache.activemq.tooling:maven-activemq-plugin:5.0-SNAPSHOT:run
-</pre>
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+mvn org.apache.activemq.tooling:maven-activemq-plugin:5.0-SNAPSHOT:run
+]]></script>
 </div></div>
 <p>You can also include it the pom and run it using:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">mvn activemq:run
-</pre>
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+mvn activemq:run
+]]></script>
 </div></div>
 
 <h2><a shape="rect" name="RunBroker-HandlingJMSbrokersgoingdown"></a>Handling JMS brokers going down</h2>
@@ -166,8 +184,9 @@ The default username and password is adm
 
 <p>Just change your connection URI in 4.x to</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">failover:tcp:<span class="code-comment">//host:port</span>
-</pre>
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+failover:tcp://host:port
+]]></script>
 </div></div>
 <p>And the JMS client will auto-reconnect to the broker if it is shutdown and restarted later on.</p>
           </div>
@@ -183,8 +202,8 @@ The default username and password is adm
 
 <h3><a shape="rect" name="Navigation-Search"></a>Search</h3>
 
-
-<div>
+<p>
+</p><div>
 <form enctype="application/x-www-form-urlencoded" method="get" action="http://www.google.com/search" style="font-size: 10px;">
 <input type="hidden" name="ie" value="UTF-8">
 <input type="hidden" name="oe" value="UTF-8">