activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dej...@apache.org
Subject svn commit: r869232 [27/44] - in /websites/production/activemq/content: ./ cache/ cms/ nms/ styles/highlighter/ styles/highlighter/scripts/ styles/highlighter/styles/ visualisation.thumbs/ web-console.thumbs/
Date Fri, 12 Jul 2013 12:46:31 GMT
Modified: websites/production/activemq/content/outbound-communication.html
==============================================================================
--- websites/production/activemq/content/outbound-communication.html (original)
+++ websites/production/activemq/content/outbound-communication.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; -- Outbound Communication
     </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>
@@ -76,166 +87,164 @@
 
 
 <h2><a shape="rect" name="OutboundCommunication-ConfiguringaSessionBeantosendmessagestoActiveMQ"></a>Configuring a Session Bean to send messages to ActiveMQ</h2>
-<p>In the attached <a shape="rect" href="outbound-communication.data/activemq-jboss-test.zip?version=3&amp;modificationDate=1117035755000">example application</a>, the three MDBs use the <tt>SenderEJB</tt> to send JMS messages to an ActiveMQ queue.  In this example, I will be explaining how to:</p>
+<p>In the attached <a shape="rect" href="outbound-communication.data/activemq-jboss-test.zip?version=3&amp;modificationDate=1117021355000">example application</a>, the three MDBs use the <tt>SenderEJB</tt> to send JMS messages to an ActiveMQ queue.  In this example, I will be explaining how to:</p>
 <ol><li>Configure and deploy an ActiveMQ <tt>Queue</tt> to JBoss</li><li>Configure and deploy an ActiveMQ <tt>QueueConnectionFactory</tt> to JBoss</li><li>Configure an EJB, deployed to JBoss, to reference the above two.</li></ol>
 
 
 <h3><a shape="rect" name="OutboundCommunication-TheBean"></a>The Bean</h3>
-<p>In the <a shape="rect" href="outbound-communication.data/ejb-jar.xml?version=3&amp;modificationDate=1117035888000">ejb-jar.xml</a> deployment descriptor, the <tt>SenderEJB</tt> is declared as follows:<br clear="none">
-<a shape="rect" name="OutboundCommunication-ejbSenderEJB"></a></p>
-<div class="code panel" style="border-width: 1px;"><div class="codeHeader panelHeader" style="border-bottom-width: 1px;"><b>ejb-jar.xml &#8211; session bean declaration</b></div><div class="codeContent panelContent">
-<pre class="code-xml"> 
-<span class="code-tag">&lt;session&gt;</span>
+<p>In the <a shape="rect" href="outbound-communication.data/ejb-jar.xml?version=3&amp;modificationDate=1117021488000">ejb-jar.xml</a> deployment descriptor, the <tt>SenderEJB</tt> is declared as follows:<br clear="none">
+<a shape="rect" name="OutboundCommunication-ejbSenderEJB"></a></p><div class="code panel" style="border-width: 1px;"><div class="codeHeader panelHeader" style="border-bottom-width: 1px;"><b>ejb-jar.xml &#8211; session bean declaration</b></div><div class="codeContent panelContent">
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[ 
+&lt;session&gt;
    ...
-   <span class="code-tag">&lt;ejb-name&gt;</span>SenderEJB<span class="code-tag">&lt;/ejb-name&gt;</span>
+   &lt;ejb-name&gt;SenderEJB&lt;/ejb-name&gt;
    ...
-   <span class="code-tag">&lt;ejb-class&gt;</span>com.panacya.platform.service.bus.sender.SenderBean<span class="code-tag">&lt;/ejb-class&gt;</span>
+   &lt;ejb-class&gt;com.panacya.platform.service.bus.sender.SenderBean&lt;/ejb-class&gt;
    ...
-   <span class="code-tag">&lt;resource-ref&gt;</span>
-      <span class="code-tag">&lt;res-ref-name&gt;</span>jms/MyQueueConnectionFactory<span class="code-tag">&lt;/res-ref-name&gt;</span>
-      <span class="code-tag">&lt;res-type&gt;</span>javax.jms.QueueConnectionFactory<span class="code-tag">&lt;/res-type&gt;</span>
+   &lt;resource-ref&gt;
+      &lt;res-ref-name&gt;jms/MyQueueConnectionFactory&lt;/res-ref-name&gt;
+      &lt;res-type&gt;javax.jms.QueueConnectionFactory&lt;/res-type&gt;
       ...
-   <span class="code-tag">&lt;/resource-ref&gt;</span>
-   <span class="code-tag">&lt;message-destination-ref&gt;</span>
-      <span class="code-tag">&lt;message-destination-ref-name&gt;</span>jms/LogQueue<span class="code-tag">&lt;/message-destination-ref-name&gt;</span>
-      <span class="code-tag">&lt;message-destination-type&gt;</span>javax.jms.Queue<span class="code-tag">&lt;/message-destination-type&gt;</span>
+   &lt;/resource-ref&gt;
+   &lt;message-destination-ref&gt;
+      &lt;message-destination-ref-name&gt;jms/LogQueue&lt;/message-destination-ref-name&gt;
+      &lt;message-destination-type&gt;javax.jms.Queue&lt;/message-destination-type&gt;
       ...
-      <span class="code-tag">&lt;message-destination-link&gt;</span>LoggingQueue<span class="code-tag">&lt;/message-destination-link&gt;</span>
-   <span class="code-tag">&lt;/message-destination-ref&gt;</span>
-<span class="code-tag">&lt;/session&gt;</span>
-</pre>
+      &lt;message-destination-link&gt;LoggingQueue&lt;/message-destination-link&gt;
+   &lt;/message-destination-ref&gt;
+&lt;/session&gt;
+]]></script>
 </div></div>
 
 <p>The <tt>jms/MyQueueConnectionFactory</tt> is the JNDI name the <tt>SenderEJB</tt> will use to lookup a <tt>javax.jms.QueueConnectionFactory</tt>.  We will configure it to point to an ActiveMQ <tt>QueueConnectionFactory</tt>.</p>
 
-<p>The <tt>jms/LogQueue</tt> is the JNDI name the <tt>SenderEJB</tt> will use to lookup the <tt>javax.jms.Queue</tt> it will send messages to.  We use the <tt>message-destination-link</tt> element to refer to the <tt>LoggingQueue</tt> which is declared in the <tt>assembly-descriptor</tt> section of the <a shape="rect" href="outbound-communication.data/ejb-jar.xml?version=3&amp;modificationDate=1117035888000">ejb-jar.xml</a> deployment descriptor as: <br clear="none">
-<a shape="rect" name="OutboundCommunication-ejbLoggingQueue"></a></p>
-<div class="code panel" style="border-width: 1px;"><div class="codeHeader panelHeader" style="border-bottom-width: 1px;"><b>ejb-jar.xml &#8211; assembly descriptor section</b></div><div class="codeContent panelContent">
-<pre class="code-xml"> 
-<span class="code-tag">&lt;assembly-descriptor&gt;</span>
+<p>The <tt>jms/LogQueue</tt> is the JNDI name the <tt>SenderEJB</tt> will use to lookup the <tt>javax.jms.Queue</tt> it will send messages to.  We use the <tt>message-destination-link</tt> element to refer to the <tt>LoggingQueue</tt> which is declared in the <tt>assembly-descriptor</tt> section of the <a shape="rect" href="outbound-communication.data/ejb-jar.xml?version=3&amp;modificationDate=1117021488000">ejb-jar.xml</a> deployment descriptor as: <br clear="none">
+<a shape="rect" name="OutboundCommunication-ejbLoggingQueue"></a></p><div class="code panel" style="border-width: 1px;"><div class="codeHeader panelHeader" style="border-bottom-width: 1px;"><b>ejb-jar.xml &#8211; assembly descriptor section</b></div><div class="codeContent panelContent">
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[ 
+&lt;assembly-descriptor&gt;
    ...
-   <span class="code-tag">&lt;message-destination&gt;</span>
-      <span class="code-tag">&lt;message-destination-name&gt;</span>LoggingQueue<span class="code-tag">&lt;/message-destination-name&gt;</span>
-   <span class="code-tag">&lt;/message-destination&gt;</span>
+   &lt;message-destination&gt;
+      &lt;message-destination-name&gt;LoggingQueue&lt;/message-destination-name&gt;
+   &lt;/message-destination&gt;
    ...
-<span class="code-tag">&lt;/assembly-descriptor&gt;</span>
-</pre>
+&lt;/assembly-descriptor&gt;
+]]></script>
 </div></div>
 
 <p>This is a standard EJB deployment descriptor, nothing special.  </p>
 
 <h3><a shape="rect" name="OutboundCommunication-TheConnector"></a>The Connector</h3>
 <p>The <tt>resource-ref</tt> element <a shape="rect" href="#OutboundCommunication-ejbSenderEJB" title="SenderEJB snippet from the ejb-jar.xml file">shown above</a>, will be linked to the following element in the <a shape="rect" class="external-link" href="http://activemq.codehaus.org/checkout/activemq/modules/ra/src/rar/META-INF/ra.xml" rel="nofollow">ra.xml</a> file, which is contained within the <a shape="rect" href="jboss-integration.html#JBossIntegration-rarfile" title="The ActiveMQ JCA">activemq-ra-1.2.rar</a> file:<br clear="none">
-<a shape="rect" name="OutboundCommunication-raQueueConnectionFactory"></a></p>
-<div class="code panel" style="border-width: 1px;"><div class="codeHeader panelHeader" style="border-bottom-width: 1px;"><b>ra.xml &#8211; The QueueConnectionFactory</b></div><div class="codeContent panelContent">
-<pre class="code-xml"><span class="code-tag">&lt;outbound-resourceadapter&gt;</span>
+<a shape="rect" name="OutboundCommunication-raQueueConnectionFactory"></a></p><div class="code panel" style="border-width: 1px;"><div class="codeHeader panelHeader" style="border-bottom-width: 1px;"><b>ra.xml &#8211; The QueueConnectionFactory</b></div><div class="codeContent panelContent">
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;outbound-resourceadapter&gt;
    ...
-   <span class="code-tag">&lt;connection-definition&gt;</span>
+   &lt;connection-definition&gt;
       ...
-      <span class="code-tag">&lt;connectionfactory-interface&gt;</span>javax.jms.QueueConnectionFactory<span class="code-tag">&lt;/connectionfactory-interface&gt;</span>
-      <span class="code-tag">&lt;connectionfactory-impl-class&gt;</span>org.activemq.ra.ActiveMQConnectionFactory<span class="code-tag">&lt;/connectionfactory-impl-class&gt;</span>
-      <span class="code-tag">&lt;connection-interface&gt;</span>javax.jms.QueueConnection<span class="code-tag">&lt;/connection-interface&gt;</span>
+      &lt;connectionfactory-interface&gt;javax.jms.QueueConnectionFactory&lt;/connectionfactory-interface&gt;
+      &lt;connectionfactory-impl-class&gt;org.activemq.ra.ActiveMQConnectionFactory&lt;/connectionfactory-impl-class&gt;
+      &lt;connection-interface&gt;javax.jms.QueueConnection&lt;/connection-interface&gt;
       ...
-   <span class="code-tag">&lt;/connection-definition&gt;</span>
+   &lt;/connection-definition&gt;
    ...
-<span class="code-tag">&lt;/outbound-resourceadapter&gt;</span>
-</pre>
+&lt;/outbound-resourceadapter&gt;
+]]></script>
 </div></div>
 
 <p>The <tt>message-destination</tt> element <a shape="rect" href="#OutboundCommunication-ejbLoggingQueue" title="LoggingQueue snippet from the ejb-jar.xml file">shown above</a>, will be linked to the following element in the <a shape="rect" class="external-link" href="http://activemq.codehaus.org/checkout/activemq/modules/ra/src/rar/META-INF/ra.xml" rel="nofollow">ra.xml</a> file:<br clear="none">
-<a shape="rect" name="OutboundCommunication-raQueue"></a></p>
-<div class="code panel" style="border-width: 1px;"><div class="codeHeader panelHeader" style="border-bottom-width: 1px;"><b>ra.xml &#8211; The Queue</b></div><div class="codeContent panelContent">
-<pre class="code-xml"><span class="code-tag">&lt;adminobject&gt;</span>
-   <span class="code-tag">&lt;adminobject-interface&gt;</span>javax.jms.Queue<span class="code-tag">&lt;/adminobject-interface&gt;</span>
-   <span class="code-tag">&lt;adminobject-class&gt;</span>org.activemq.message.ActiveMQQueue<span class="code-tag">&lt;/adminobject-class&gt;</span>
-   <span class="code-tag">&lt;config-property&gt;</span>
-      <span class="code-tag">&lt;config-property-name&gt;</span>PhysicalName<span class="code-tag">&lt;/config-property-name&gt;</span>
-      <span class="code-tag">&lt;config-property-type&gt;</span>java.lang.String<span class="code-tag">&lt;/config-property-type&gt;</span>
-   <span class="code-tag">&lt;/config-property&gt;</span>
-<span class="code-tag">&lt;/adminobject&gt;</span>
-</pre>
+<a shape="rect" name="OutboundCommunication-raQueue"></a></p><div class="code panel" style="border-width: 1px;"><div class="codeHeader panelHeader" style="border-bottom-width: 1px;"><b>ra.xml &#8211; The Queue</b></div><div class="codeContent panelContent">
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;adminobject&gt;
+   &lt;adminobject-interface&gt;javax.jms.Queue&lt;/adminobject-interface&gt;
+   &lt;adminobject-class&gt;org.activemq.message.ActiveMQQueue&lt;/adminobject-class&gt;
+   &lt;config-property&gt;
+      &lt;config-property-name&gt;PhysicalName&lt;/config-property-name&gt;
+      &lt;config-property-type&gt;java.lang.String&lt;/config-property-type&gt;
+   &lt;/config-property&gt;
+&lt;/adminobject&gt;
+]]></script>
 </div></div>
 
 <h3><a shape="rect" name="OutboundCommunication-TheGlue"></a>The Glue</h3>
-<p>In JBoss, connecting the resources needed by the <a shape="rect" href="outbound-communication.data/ejb-jar.xml?version=3&amp;modificationDate=1117035888000">ejb-jar.xml</a> file to resources provided by the <a shape="rect" class="external-link" href="http://activemq.codehaus.org/checkout/activemq/modules/ra/src/rar/META-INF/ra.xml" rel="nofollow">ra.xml</a> file involves two additional files:</p>
-<ol><li><b><a shape="rect" href="outbound-communication.data/panacya-jms-ds.xml?version=5&amp;modificationDate=1117035848000">panacya-jms-ds.xml</a></b> - This is a JBoss data source file.  It specifies which connector objects JBoss should instantiate and where in JNDI JBoss should place those objects.</li><li><b><a shape="rect" href="outbound-communication.data/jboss.xml?version=3&amp;modificationDate=1117035888000">jboss.xml</a></b> - This is a JBoss deployment descriptor which is contained within the <a shape="rect" href="jboss-integration.html#JBossIntegration-ejbjarfile" title="The standalone ejb module">panacya-mdb-test-1.0.jar</a> file.  It links resources needed by the EJBs to the JNDI names of resources available in JBoss.</li></ol>
+<p>In JBoss, connecting the resources needed by the <a shape="rect" href="outbound-communication.data/ejb-jar.xml?version=3&amp;modificationDate=1117021488000">ejb-jar.xml</a> file to resources provided by the <a shape="rect" class="external-link" href="http://activemq.codehaus.org/checkout/activemq/modules/ra/src/rar/META-INF/ra.xml" rel="nofollow">ra.xml</a> file involves two additional files:</p>
+<ol><li><b><a shape="rect" href="outbound-communication.data/panacya-jms-ds.xml?version=5&amp;modificationDate=1117021448000">panacya-jms-ds.xml</a></b> - This is a JBoss data source file.  It specifies which connector objects JBoss should instantiate and where in JNDI JBoss should place those objects.</li><li><b><a shape="rect" href="outbound-communication.data/jboss.xml?version=3&amp;modificationDate=1117021488000">jboss.xml</a></b> - This is a JBoss deployment descriptor which is contained within the <a shape="rect" href="jboss-integration.html#JBossIntegration-ejbjarfile" title="The standalone ejb module">panacya-mdb-test-1.0.jar</a> file.  It links resources needed by the EJBs to the JNDI names of resources available in JBoss.</li></ol>
 
 
-<h5><a shape="rect" name="OutboundCommunication-panacyajmsds.xmlJBossIntegrationpanacyajmsds.xmlTheJBossDataSourceFile"></a><a shape="rect" href="outbound-communication.data/panacya-jms-ds.xml?version=5&amp;modificationDate=1117035848000">panacya-jms-ds.xml</a> &#8211; <em>The JBoss Data Source File</em></h5>
+<h5><a shape="rect" name="OutboundCommunication-panacyajmsds.xmlJBossIntegrationpanacyajmsds.xmlTheJBossDataSourceFile"></a><a shape="rect" href="outbound-communication.data/panacya-jms-ds.xml?version=5&amp;modificationDate=1117021448000">panacya-jms-ds.xml</a> &#8211; <em>The JBoss Data Source File</em></h5>
 <p>This first snippet configures the <tt>QueueConnectionFactory</tt>, <a shape="rect" href="#OutboundCommunication-raQueueConnectionFactory" title="QueueConnectionFactory snippet from the ra.xml file">declared above</a>, and places it in JNDI at <tt>activemq/QueueConnectionFactory</tt>:<br clear="none">
-<a shape="rect" name="OutboundCommunication-dsQueueConnectionFactory"></a></p>
-<div class="code panel" style="border-width: 1px;"><div class="codeHeader panelHeader" style="border-bottom-width: 1px;"><b>panacya-jms-ds.xml &#8211; The QueueConnectionFactory</b></div><div class="codeContent panelContent">
-<pre class="code-xml"><span class="code-tag">&lt;tx-connection-factory&gt;</span>
-   <span class="code-tag">&lt;jndi-name&gt;</span>activemq/QueueConnectionFactory<span class="code-tag">&lt;/jndi-name&gt;</span>
-   <span class="code-tag">&lt;xa-transaction/&gt;</span>
-   <span class="code-tag">&lt;rar-name&gt;</span>activemq-ra-1.2-SNAPSHOT.rar<span class="code-tag">&lt;/rar-name&gt;</span>
-   <span class="code-tag">&lt;connection-definition&gt;</span>javax.jms.QueueConnectionFactory<span class="code-tag">&lt;/connection-definition&gt;</span>
-   <span class="code-tag">&lt;security-domain-and-application&gt;</span>JmsXARealm<span class="code-tag">&lt;/security-domain-and-application&gt;</span>
-<span class="code-tag">&lt;/tx-connection-factory&gt;</span>
-</pre>
+<a shape="rect" name="OutboundCommunication-dsQueueConnectionFactory"></a></p><div class="code panel" style="border-width: 1px;"><div class="codeHeader panelHeader" style="border-bottom-width: 1px;"><b>panacya-jms-ds.xml &#8211; The QueueConnectionFactory</b></div><div class="codeContent panelContent">
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;tx-connection-factory&gt;
+   &lt;jndi-name&gt;activemq/QueueConnectionFactory&lt;/jndi-name&gt;
+   &lt;xa-transaction/&gt;
+   &lt;rar-name&gt;activemq-ra-1.2-SNAPSHOT.rar&lt;/rar-name&gt;
+   &lt;connection-definition&gt;javax.jms.QueueConnectionFactory&lt;/connection-definition&gt;
+   &lt;security-domain-and-application&gt;JmsXARealm&lt;/security-domain-and-application&gt;
+&lt;/tx-connection-factory&gt;
+]]></script>
 </div></div>
 
 <p>This second snippet configures the <tt>Queue</tt>, <a shape="rect" href="#OutboundCommunication-raQueue" title="Queue snippet from the ra.xml file">declared above</a>, and places it in JNDI at <tt>activemq/queue/outbound</tt>:<br clear="none">
-<a shape="rect" name="OutboundCommunication-dsQueue"></a></p>
-<div class="code panel" style="border-width: 1px;"><div class="codeHeader panelHeader" style="border-bottom-width: 1px;"><b>panacya-jms-ds.xml &#8211; The Queue</b></div><div class="codeContent panelContent">
-<pre class="code-xml"><span class="code-tag">&lt;mbean code=<span class="code-quote">"org.jboss.resource.deployment.AdminObject"</span> name=<span class="code-quote">"activemq.queue:name=outboundQueue"</span>&gt;</span>
-   <span class="code-tag">&lt;attribute name=<span class="code-quote">"JNDIName"</span>&gt;</span>activemq/queue/outbound<span class="code-tag">&lt;/attribute&gt;</span>
-   <span class="code-tag">&lt;depends optional-attribute-name=<span class="code-quote">"RARName"</span>&gt;</span>jboss.jca:service=RARDeployment,name='activemq-ra-1.2-SNAPSHOT.rar'<span class="code-tag">&lt;/depends&gt;</span>
-   <span class="code-tag">&lt;attribute name=<span class="code-quote">"Type"</span>&gt;</span>javax.jms.Queue<span class="code-tag">&lt;/attribute&gt;</span>
-   <span class="code-tag">&lt;attribute name=<span class="code-quote">"Properties"</span>&gt;</span>
+<a shape="rect" name="OutboundCommunication-dsQueue"></a></p><div class="code panel" style="border-width: 1px;"><div class="codeHeader panelHeader" style="border-bottom-width: 1px;"><b>panacya-jms-ds.xml &#8211; The Queue</b></div><div class="codeContent panelContent">
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;mbean code="org.jboss.resource.deployment.AdminObject" name="activemq.queue:name=outboundQueue"&gt;
+   &lt;attribute name="JNDIName"&gt;activemq/queue/outbound&lt;/attribute&gt;
+   &lt;depends optional-attribute-name="RARName"&gt;jboss.jca:service=RARDeployment,name='activemq-ra-1.2-SNAPSHOT.rar'&lt;/depends&gt;
+   &lt;attribute name="Type"&gt;javax.jms.Queue&lt;/attribute&gt;
+   &lt;attribute name="Properties"&gt;
       PhysicalName=queue.outbound
-   <span class="code-tag">&lt;/attribute&gt;</span>
-<span class="code-tag">&lt;/mbean&gt;</span>
-</pre>
+   &lt;/attribute&gt;
+&lt;/mbean&gt;
+]]></script>
 </div></div>
 
-<p>In the <a shape="rect" href="outbound-communication.data/panacya-jms-ds.xml?version=5&amp;modificationDate=1117035848000">panacya-jms-ds.xml</a> file section shown above, the value of the <tt>Properties</tt> element is set to <tt>PhysicalName=queue.outbound</tt>.  This value is the physical name of the ActiveMQ destination the <tt>SenderEJB</tt> will be sending messages to and not a JNDI name.  In other words, the value of the <tt>PhysicalName</tt> property has no meaning to JBoss.  It is purely an ActiveMQ setting. </p>
+<p>In the <a shape="rect" href="outbound-communication.data/panacya-jms-ds.xml?version=5&amp;modificationDate=1117021448000">panacya-jms-ds.xml</a> file section shown above, the value of the <tt>Properties</tt> element is set to <tt>PhysicalName=queue.outbound</tt>.  This value is the physical name of the ActiveMQ destination the <tt>SenderEJB</tt> will be sending messages to and not a JNDI name.  In other words, the value of the <tt>PhysicalName</tt> property has no meaning to JBoss.  It is purely an ActiveMQ setting. </p>
 
-<h5><a shape="rect" name="OutboundCommunication-jboss.xmlJBossIntegrationjboss.xmlTheJBossDeploymentDescriptor"></a><a shape="rect" href="outbound-communication.data/jboss.xml?version=3&amp;modificationDate=1117035888000">jboss.xml</a> &#8211; <em>The JBoss Deployment Descriptor</em></h5>
-<p>This first snippet links the <tt><a shape="rect" href="#OutboundCommunication-ejbSenderEJB" title="SenderEJB snippet from the ejb-jar.xml file">jms/MyQueueConnectionFactory</a></tt> JNDI name used by the <tt>SenderEJB</tt> to the resource name <tt>queuefactoryref</tt> which is local to the <a shape="rect" href="outbound-communication.data/jboss.xml?version=3&amp;modificationDate=1117035888000">jboss.xml</a> file: <br clear="none">
-<a shape="rect" name="OutboundCommunication-jbossQueuefactoryref"></a></p>
-<div class="code panel" style="border-width: 1px;"><div class="codeHeader panelHeader" style="border-bottom-width: 1px;"><b>jboss.xml &#8211; The QueueConnectionFactory for the SenderEJB</b></div><div class="codeContent panelContent">
-<pre class="code-xml"><span class="code-tag">&lt;enterprise-beans&gt;</span>
-   <span class="code-tag">&lt;session&gt;</span>
-      <span class="code-tag">&lt;ejb-name&gt;</span>SenderEJB<span class="code-tag">&lt;/ejb-name&gt;</span>
-      <span class="code-tag">&lt;resource-ref&gt;</span>
-         <span class="code-tag">&lt;res-ref-name&gt;</span>jms/MyQueueConnectionFactory<span class="code-tag">&lt;/res-ref-name&gt;</span>
-         <span class="code-tag">&lt;resource-name&gt;</span>queuefactoryref<span class="code-tag">&lt;/resource-name&gt;</span>
-      <span class="code-tag">&lt;/resource-ref&gt;</span>
-   <span class="code-tag">&lt;/session&gt;</span>
+<h5><a shape="rect" name="OutboundCommunication-jboss.xmlJBossIntegrationjboss.xmlTheJBossDeploymentDescriptor"></a><a shape="rect" href="outbound-communication.data/jboss.xml?version=3&amp;modificationDate=1117021488000">jboss.xml</a> &#8211; <em>The JBoss Deployment Descriptor</em></h5>
+<p>This first snippet links the <tt><a shape="rect" href="#OutboundCommunication-ejbSenderEJB" title="SenderEJB snippet from the ejb-jar.xml file">jms/MyQueueConnectionFactory</a></tt> JNDI name used by the <tt>SenderEJB</tt> to the resource name <tt>queuefactoryref</tt> which is local to the <a shape="rect" href="outbound-communication.data/jboss.xml?version=3&amp;modificationDate=1117021488000">jboss.xml</a> file: <br clear="none">
+<a shape="rect" name="OutboundCommunication-jbossQueuefactoryref"></a></p><div class="code panel" style="border-width: 1px;"><div class="codeHeader panelHeader" style="border-bottom-width: 1px;"><b>jboss.xml &#8211; The QueueConnectionFactory for the SenderEJB</b></div><div class="codeContent panelContent">
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;enterprise-beans&gt;
+   &lt;session&gt;
+      &lt;ejb-name&gt;SenderEJB&lt;/ejb-name&gt;
+      &lt;resource-ref&gt;
+         &lt;res-ref-name&gt;jms/MyQueueConnectionFactory&lt;/res-ref-name&gt;
+         &lt;resource-name&gt;queuefactoryref&lt;/resource-name&gt;
+      &lt;/resource-ref&gt;
+   &lt;/session&gt;
    ...
-<span class="code-tag">&lt;/enterprise-beans&gt;</span>
-</pre>
+&lt;/enterprise-beans&gt;
+]]></script>
 </div></div>
 
 <p>This second snippet links the local <tt>queuefactoryref</tt> name to the global JNDI name <tt>java:/activemq/QueueConnectionFactory</tt> which was <a shape="rect" href="#OutboundCommunication-dsQueueConnectionFactory" title="QueueConnectionFactory snippet from the panacya-jms-ds.xml file">declared above</a>: <br clear="none">
-<a shape="rect" name="OutboundCommunication-jbossQueueConnectionFactory"></a></p>
-<div class="code panel" style="border-width: 1px;"><div class="codeHeader panelHeader" style="border-bottom-width: 1px;"><b>jboss.xml &#8211; Linking queuefactoryref to the global JNDI namespace</b></div><div class="codeContent panelContent">
-<pre class="code-xml"><span class="code-tag">&lt;resource-managers&gt;</span>
-   <span class="code-tag">&lt;resource-manager&gt;</span>
-      <span class="code-tag">&lt;res-name&gt;</span>queuefactoryref<span class="code-tag">&lt;/res-name&gt;</span>
-      <span class="code-tag">&lt;res-jndi-name&gt;</span>java:/activemq/QueueConnectionFactory<span class="code-tag">&lt;/res-jndi-name&gt;</span>
-   <span class="code-tag">&lt;/resource-manager&gt;</span>
+<a shape="rect" name="OutboundCommunication-jbossQueueConnectionFactory"></a></p><div class="code panel" style="border-width: 1px;"><div class="codeHeader panelHeader" style="border-bottom-width: 1px;"><b>jboss.xml &#8211; Linking queuefactoryref to the global JNDI namespace</b></div><div class="codeContent panelContent">
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;resource-managers&gt;
+   &lt;resource-manager&gt;
+      &lt;res-name&gt;queuefactoryref&lt;/res-name&gt;
+      &lt;res-jndi-name&gt;java:/activemq/QueueConnectionFactory&lt;/res-jndi-name&gt;
+   &lt;/resource-manager&gt;
    ...
-<span class="code-tag">&lt;/resource-managers&gt;</span>
-</pre>
+&lt;/resource-managers&gt;
+]]></script>
 </div></div>
 
-<p>This third snippet links the <tt>LoggingQueue</tt>, which was <a shape="rect" href="#OutboundCommunication-ejbLoggingQueue" title="LoggingQueue snippet from the ejb-jar.xml file">declared</a> in the <tt>assembly-descriptor</tt> section of the <a shape="rect" href="outbound-communication.data/ejb-jar.xml?version=3&amp;modificationDate=1117035888000">ejb-jar.xml</a>, to the global JNDI name <tt>activemq/queue/outbound</tt> which was <a shape="rect" href="#OutboundCommunication-dsQueue" title="Queue snippet from the panacya-jms-ds.xml file">declared above</a>: <br clear="none">
-<a shape="rect" name="OutboundCommunication-jbossQueue"></a></p>
-<div class="code panel" style="border-width: 1px;"><div class="codeHeader panelHeader" style="border-bottom-width: 1px;"><b>jboss.xml &#8211; Linking LoggingQueue to the global JNDI namespace</b></div><div class="codeContent panelContent">
-<pre class="code-xml"><span class="code-tag">&lt;assembly-descriptor&gt;</span>
-   <span class="code-tag">&lt;message-destination&gt;</span>
-      <span class="code-tag">&lt;message-destination-name&gt;</span>LoggingQueue<span class="code-tag">&lt;/message-destination-name&gt;</span>
-      <span class="code-tag">&lt;jndi-name&gt;</span>activemq/queue/outbound<span class="code-tag">&lt;/jndi-name&gt;</span>
-   <span class="code-tag">&lt;/message-destination&gt;</span>
-<span class="code-tag">&lt;/assembly-descriptor&gt;</span>
-</pre>
+<p>This third snippet links the <tt>LoggingQueue</tt>, which was <a shape="rect" href="#OutboundCommunication-ejbLoggingQueue" title="LoggingQueue snippet from the ejb-jar.xml file">declared</a> in the <tt>assembly-descriptor</tt> section of the <a shape="rect" href="outbound-communication.data/ejb-jar.xml?version=3&amp;modificationDate=1117021488000">ejb-jar.xml</a>, to the global JNDI name <tt>activemq/queue/outbound</tt> which was <a shape="rect" href="#OutboundCommunication-dsQueue" title="Queue snippet from the panacya-jms-ds.xml file">declared above</a>: <br clear="none">
+<a shape="rect" name="OutboundCommunication-jbossQueue"></a></p><div class="code panel" style="border-width: 1px;"><div class="codeHeader panelHeader" style="border-bottom-width: 1px;"><b>jboss.xml &#8211; Linking LoggingQueue to the global JNDI namespace</b></div><div class="codeContent panelContent">
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;assembly-descriptor&gt;
+   &lt;message-destination&gt;
+      &lt;message-destination-name&gt;LoggingQueue&lt;/message-destination-name&gt;
+      &lt;jndi-name&gt;activemq/queue/outbound&lt;/jndi-name&gt;
+   &lt;/message-destination&gt;
+&lt;/assembly-descriptor&gt;
+]]></script>
 </div></div>
 
 <p>The above example highlights the key configuration settings needed to enable EJBs deployed in JBoss to send JMS messages to an ActiveMQ destination.  </p>
 
-<p>You can try the above example, plus a few more, by downloading the <a shape="rect" href="outbound-communication.data/activemq-jboss-test.zip?version=3&amp;modificationDate=1117035755000">activemq-jboss-test.zip</a> file which contains the complete sample project.</p>
+<p>You can try the above example, plus a few more, by downloading the <a shape="rect" href="outbound-communication.data/activemq-jboss-test.zip?version=3&amp;modificationDate=1117021355000">activemq-jboss-test.zip</a> file which contains the complete sample project.</p>
           </div>
         </td>
         <td valign="top">
@@ -249,8 +258,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/overview.html
==============================================================================
--- websites/production/activemq/content/overview.html (original)
+++ websites/production/activemq/content/overview.html Fri Jul 12 12:46:14 2013
@@ -32,6 +32,7 @@
     </style>
     <![endif]-->
 
+    
     <title>
     Apache ActiveMQ &#8482; -- Overview
     </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/peer-transport-reference.html
==============================================================================
--- websites/production/activemq/content/peer-transport-reference.html (original)
+++ websites/production/activemq/content/peer-transport-reference.html Fri Jul 12 12:46:14 2013
@@ -32,6 +32,7 @@
     </style>
     <![endif]-->
 
+    
     <title>
     Apache ActiveMQ &#8482; -- Peer Transport Reference
     </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>
@@ -102,8 +103,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/per-destination-policies.html
==============================================================================
--- websites/production/activemq/content/per-destination-policies.html (original)
+++ websites/production/activemq/content/per-destination-policies.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/shBrushXml.js' type='text/javascript'></script> 
+         
+      <script type="text/javascript"> 
+        SyntaxHighlighter.defaults['toolbar'] = false; 
+        SyntaxHighlighter.all(); 
+      </script> 
+    
     <title>
     Apache ActiveMQ &#8482; -- Per Destination Policies
     </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>
@@ -108,63 +118,64 @@
 <p>Here is an <a shape="rect" class="external-link" href="http://svn.apache.org/repos/asf/activemq/trunk/activemq-unit-tests/src/test/resources/org/apache/activemq/xbean/activemq-policy.xml">example</a> of this in use.</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">&lt;beans 
-  xmlns=<span class="code-quote">"http://www.springframework.org/schema/beans"</span> 
-  <span class="code-keyword">xmlns:amq</span>=<span class="code-quote">"http://activemq.apache.org/schema/core"</span>
-  <span class="code-keyword">xmlns:xsi</span>=<span class="code-quote">"http://www.w3.org/2001/XMLSchema-instance"</span>
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;beans 
+  xmlns="http://www.springframework.org/schema/beans" 
+  xmlns:amq="http://activemq.apache.org/schema/core"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
   http://activemq.apache.org/schema/core http://activemq.apache.org/schema/core/activemq-core.xsd"&gt;
 
-  <span class="code-tag">&lt;bean class=<span class="code-quote">"org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"</span>/&gt;</span>
+  &lt;bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"/&gt;
 
-  <span class="code-tag">&lt;broker persistent=<span class="code-quote">"false"</span> brokerName=<span class="code-quote">"${brokername}"</span> xmlns=<span class="code-quote">"http://activemq.apache.org/schema/core"</span>&gt;</span>
+  &lt;broker persistent="false" brokerName="${brokername}" xmlns="http://activemq.apache.org/schema/core"&gt;
 
-    <span class="code-tag"><span class="code-comment">&lt;!--  lets define the dispatch policy --&gt;</span></span>
-    <span class="code-tag">&lt;destinationPolicy&gt;</span>
-      <span class="code-tag">&lt;policyMap&gt;</span>
-        <span class="code-tag">&lt;policyEntries&gt;</span>
-          <span class="code-tag">&lt;policyEntry topic=<span class="code-quote">"FOO.&gt;</span>"</span>&gt;
-            <span class="code-tag">&lt;dispatchPolicy&gt;</span>
-              <span class="code-tag">&lt;roundRobinDispatchPolicy /&gt;</span>
-            <span class="code-tag">&lt;/dispatchPolicy&gt;</span>
-            <span class="code-tag">&lt;subscriptionRecoveryPolicy&gt;</span>
-              <span class="code-tag">&lt;lastImageSubscriptionRecoveryPolicy /&gt;</span>
-            <span class="code-tag">&lt;/subscriptionRecoveryPolicy&gt;</span>
-          <span class="code-tag">&lt;/policyEntry&gt;</span>
-
-          <span class="code-tag">&lt;policyEntry topic=<span class="code-quote">"ORDERS.&gt;</span>"</span>&gt;
-            <span class="code-tag">&lt;dispatchPolicy&gt;</span>
-              <span class="code-tag">&lt;strictOrderDispatchPolicy /&gt;</span>
-            <span class="code-tag">&lt;/dispatchPolicy&gt;</span>
-            <span class="code-tag"><span class="code-comment">&lt;!--  1 minutes worth --&gt;</span></span>
-            <span class="code-tag">&lt;subscriptionRecoveryPolicy&gt;</span>
-              <span class="code-tag">&lt;timedSubscriptionRecoveryPolicy recoverDuration=<span class="code-quote">"60000"</span> /&gt;</span>
-            <span class="code-tag">&lt;/subscriptionRecoveryPolicy&gt;</span>
-          <span class="code-tag">&lt;/policyEntry&gt;</span>
-
-          <span class="code-tag">&lt;policyEntry topic=<span class="code-quote">"PRICES.&gt;</span>"</span>&gt;
-
-            <span class="code-tag"><span class="code-comment">&lt;!-- lets force old messages to be discarded for slow consumers --&gt;</span></span>
-            <span class="code-tag">&lt;pendingMessageLimitStrategy&gt;</span>
-              <span class="code-tag">&lt;constantPendingMessageLimitStrategy limit=<span class="code-quote">"10"</span>/&gt;</span>
-            <span class="code-tag">&lt;/pendingMessageLimitStrategy&gt;</span>
-
-            <span class="code-tag"><span class="code-comment">&lt;!--  10 seconds worth --&gt;</span></span>
-            <span class="code-tag">&lt;subscriptionRecoveryPolicy&gt;</span>
-              <span class="code-tag">&lt;timedSubscriptionRecoveryPolicy recoverDuration=<span class="code-quote">"10000"</span> /&gt;</span>
-            <span class="code-tag">&lt;/subscriptionRecoveryPolicy&gt;</span>
+    &lt;!--  lets define the dispatch policy --&gt;
+    &lt;destinationPolicy&gt;
+      &lt;policyMap&gt;
+        &lt;policyEntries&gt;
+          &lt;policyEntry topic="FOO.&gt;"&gt;
+            &lt;dispatchPolicy&gt;
+              &lt;roundRobinDispatchPolicy /&gt;
+            &lt;/dispatchPolicy&gt;
+            &lt;subscriptionRecoveryPolicy&gt;
+              &lt;lastImageSubscriptionRecoveryPolicy /&gt;
+            &lt;/subscriptionRecoveryPolicy&gt;
+          &lt;/policyEntry&gt;
+
+          &lt;policyEntry topic="ORDERS.&gt;"&gt;
+            &lt;dispatchPolicy&gt;
+              &lt;strictOrderDispatchPolicy /&gt;
+            &lt;/dispatchPolicy&gt;
+            &lt;!--  1 minutes worth --&gt;
+            &lt;subscriptionRecoveryPolicy&gt;
+              &lt;timedSubscriptionRecoveryPolicy recoverDuration="60000" /&gt;
+            &lt;/subscriptionRecoveryPolicy&gt;
+          &lt;/policyEntry&gt;
+
+          &lt;policyEntry topic="PRICES.&gt;"&gt;
+
+            &lt;!-- lets force old messages to be discarded for slow consumers --&gt;
+            &lt;pendingMessageLimitStrategy&gt;
+              &lt;constantPendingMessageLimitStrategy limit="10"/&gt;
+            &lt;/pendingMessageLimitStrategy&gt;
+
+            &lt;!--  10 seconds worth --&gt;
+            &lt;subscriptionRecoveryPolicy&gt;
+              &lt;timedSubscriptionRecoveryPolicy recoverDuration="10000" /&gt;
+            &lt;/subscriptionRecoveryPolicy&gt;
             
-          <span class="code-tag">&lt;/policyEntry&gt;</span>
-          <span class="code-tag">&lt;policyEntry tempTopic=<span class="code-quote">"true"</span> advisoryForConsumed=<span class="code-quote">"true"</span> /&gt;</span>
+          &lt;/policyEntry&gt;
+          &lt;policyEntry tempTopic="true" advisoryForConsumed="true" /&gt;
 
-          <span class="code-tag">&lt;policyEntry tempQueue=<span class="code-quote">"true"</span> advisoryForConsumed=<span class="code-quote">"true"</span> /&gt;</span>
-        <span class="code-tag">&lt;/policyEntries&gt;</span>
-      <span class="code-tag">&lt;/policyMap&gt;</span>
-    <span class="code-tag">&lt;/destinationPolicy&gt;</span>
-  <span class="code-tag">&lt;/broker&gt;</span>
+          &lt;policyEntry tempQueue="true" advisoryForConsumed="true" /&gt;
+        &lt;/policyEntries&gt;
+      &lt;/policyMap&gt;
+    &lt;/destinationPolicy&gt;
+  &lt;/broker&gt;
 
-<span class="code-tag">&lt;/beans&gt;</span>
-</pre>
+&lt;/beans&gt;
+]]></script>
 </div></div>
           </div>
         </td>
@@ -179,8 +190,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/performance-report.html
==============================================================================
--- websites/production/activemq/content/performance-report.html (original)
+++ websites/production/activemq/content/performance-report.html Fri Jul 12 12:46:14 2013
@@ -32,6 +32,7 @@
     </style>
     <![endif]-->
 
+    
     <title>
     Apache ActiveMQ &#8482; -- Performance report
     </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>
@@ -91,8 +92,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/performance-tuning.html
==============================================================================
--- websites/production/activemq/content/performance-tuning.html (original)
+++ websites/production/activemq/content/performance-tuning.html Fri Jul 12 12:46:14 2013
@@ -32,6 +32,7 @@
     </style>
     <![endif]-->
 
+    
     <title>
     Apache ActiveMQ &#8482; -- Performance Tuning
     </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>
@@ -132,8 +133,8 @@ By default, activemq strikes a balance b
 
 <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/performance.html
==============================================================================
--- websites/production/activemq/content/performance.html (original)
+++ websites/production/activemq/content/performance.html Fri Jul 12 12:46:14 2013
@@ -32,6 +32,7 @@
     </style>
     <![endif]-->
 
+    
     <title>
     Apache ActiveMQ &#8482; -- Performance
     </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>
@@ -111,8 +112,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/perl.html
==============================================================================
--- websites/production/activemq/content/perl.html (original)
+++ websites/production/activemq/content/perl.html Fri Jul 12 12:46:14 2013
@@ -32,6 +32,7 @@
     </style>
     <![endif]-->
 
+    
     <title>
     Apache ActiveMQ &#8482; -- Perl
     </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>
@@ -98,8 +99,8 @@ There are various Perl Stomp clients ava
 
 <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/persistence-questions.html
==============================================================================
--- websites/production/activemq/content/persistence-questions.html (original)
+++ websites/production/activemq/content/persistence-questions.html Fri Jul 12 12:46:14 2013
@@ -32,6 +32,7 @@
     </style>
     <![endif]-->
 
+    
     <title>
     Apache ActiveMQ &#8482; -- Persistence Questions
     </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/persistence.html
==============================================================================
--- websites/production/activemq/content/persistence.html (original)
+++ websites/production/activemq/content/persistence.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; -- Persistence
     </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>
@@ -102,30 +113,30 @@ The <a shape="rect" href="amq-message-st
 
 <p>For full explict control over configuration check out the <a shape="rect" href="xml-configuration.html" title="Xml Configuration">Xml Configuration</a>. However a quick way to set which persistence adapter to use is to set the following system property to be the class name of the PersistenceAdapter implementation.</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[
 activemq.persistenceAdapter
-</pre>
+]]></script>
 </div></div>
 <p>When running the broker from the command line, we look for the activemq.xml on the classpath unless you specify one to use. e.g.<br clear="none">
 <b>AMQ 4.x</b></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[
 activemq xbean:file:myconfig.xml
-</pre>
+]]></script>
 </div></div>
 <p><b>AMQ 3.x</b></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[
 activemq myconfig.xml
-</pre>
+]]></script>
 </div></div>
 
 <p>or just<br clear="none">
 <b>AMQ3.x/AMQ4.x</b></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[
 activemq
-</pre>
+]]></script>
 </div></div>
 <p>Here is a sample XML configuration which shows how to configure the journal and the JDBC persistence.</p>
 
@@ -140,40 +151,40 @@ activemq
 <b>AMQ 4.x</b></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;persistenceAdapter&gt;
-      &lt;journaledJDBC journalLogFiles=<span class="code-quote">"5"</span> dataDirectory=<span class="code-quote">"../activemq-data"</span>/&gt;
+      &lt;journaledJDBC journalLogFiles="5" dataDirectory="../activemq-data"/&gt;
 &lt;/persistenceAdapter&gt;
-</pre>
+]]></script>
 </div></div>
 <p>to</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;persistenceAdapter&gt;
-      &lt;jdbcPersistenceAdapter dataSource=<span class="code-quote">"#my-ds"</span>/&gt;
+      &lt;jdbcPersistenceAdapter dataSource="#my-ds"/&gt;
 &lt;/persistenceAdapter&gt;
-</pre>
+]]></script>
 </div></div>
 
 
 <p><b>For AMQ 3.x</b></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;persistence&gt;
-  &lt;journalPersistence directory=<span class="code-quote">"../<span class="code-keyword">var</span>/journal"</span>&gt;
-      &lt;jdbcPersistence dataSourceRef=<span class="code-quote">"derby-ds"</span>/&gt;
+  &lt;journalPersistence directory="../var/journal"&gt;
+      &lt;jdbcPersistence dataSourceRef="derby-ds"/&gt;
   &lt;/journalPersistence&gt;
 &lt;/persistence&gt;
-</pre>
+]]></script>
 </div></div>
 <p>to</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;persistence&gt;
-     &lt;jdbcPersistence dataSourceRef=<span class="code-quote">"derby-ds"</span>/&gt;
+     &lt;jdbcPersistence dataSourceRef="derby-ds"/&gt;
  &lt;/persistence&gt;
-</pre>
+]]></script>
 </div></div>
 <p>Make sure to send durable messages so that it will be persisted in the database server while waiting to be consumed by clients. More information on configuration JDBC persistence at <a shape="rect" href="jdbc-support.html" title="JDBC Support">JDBC Support</a></p>
 
@@ -190,32 +201,32 @@ activemq
 <p>ActiveMQ 5.0 and above:</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
- &lt;broker brokerName=<span class="code-quote">"broker"</span> persistent=<span class="code-quote">"<span class="code-keyword">true</span>"</span> useShutdownHook=<span class="code-quote">"<span class="code-keyword">false</span>"</span>&gt;
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+ &lt;broker brokerName="broker" persistent="true" useShutdownHook="false"&gt;
     &lt;transportConnectors&gt;
-      &lt;transportConnector uri=<span class="code-quote">"tcp:<span class="code-comment">//localhost:61616"</span>/&gt;
-</span>    &lt;/transportConnectors&gt;
+      &lt;transportConnector uri="tcp://localhost:61616"/&gt;
+    &lt;/transportConnectors&gt;
     &lt;persistenceAdapter&gt;
-      &lt;kahaPersistenceAdapter directory=<span class="code-quote">"activemq-data"</span> maxDataFileLength=<span class="code-quote">"33554432"</span>/&gt;
+      &lt;kahaPersistenceAdapter directory="activemq-data" maxDataFileLength="33554432"/&gt;
     &lt;/persistenceAdapter&gt;
   &lt;/broker&gt;
-</pre>
+]]></script>
 </div></div>
 
 
 <p>ActiveMQ 4.1 and earlier:</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
- &lt;broker brokerName=<span class="code-quote">"broker"</span> persistent=<span class="code-quote">"<span class="code-keyword">true</span>"</span> useShutdownHook=<span class="code-quote">"<span class="code-keyword">false</span>"</span>&gt;
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+ &lt;broker brokerName="broker" persistent="true" useShutdownHook="false"&gt;
     &lt;transportConnectors&gt;
-      &lt;transportConnector uri=<span class="code-quote">"tcp:<span class="code-comment">//localhost:61616"</span>/&gt;
-</span>    &lt;/transportConnectors&gt;
+      &lt;transportConnector uri="tcp://localhost:61616"/&gt;
+    &lt;/transportConnectors&gt;
     &lt;persistenceAdapter&gt;
-      &lt;kahaPersistenceAdapter dir=<span class="code-quote">"activemq-data"</span> maxDataFileLength=<span class="code-quote">"33554432"</span>/&gt;
+      &lt;kahaPersistenceAdapter dir="activemq-data" maxDataFileLength="33554432"/&gt;
     &lt;/persistenceAdapter&gt;
   &lt;/broker&gt;
-</pre>
+]]></script>
 </div></div>
 
 <h2><a shape="rect" name="Persistence-DisasterRecoveryoptions"></a>Disaster Recovery options</h2>
@@ -227,10 +238,10 @@ activemq
 <p>If you don't want persistence at all you can disable it easily via the <a shape="rect" href="xml-configuration.html" title="Xml Configuration">Xml Configuration</a>. e.g.</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-&lt;broker persistent=<span class="code-quote">"<span class="code-keyword">false</span>"</span>&gt;
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;broker persistent="false"&gt;
 &lt;/broker&gt;
-</pre>
+]]></script>
 </div></div>
 <p>This will make the broker use the <a shape="rect" class="external-link" href="http://activemq.apache.org/maven/activemq-core/apidocs/org/apache/activemq/store/memory/MemoryPersistenceAdapter.html">&lt;memoryPersistenceAdapter&gt;</a><br clear="none">
 For an example of using a configuration URI see <a shape="rect" href="how-to-unit-test-jms-code.html" title="How to unit test JMS code">How to unit test JMS code</a></p>
@@ -252,8 +263,8 @@ For an example of using a configuration 
 
 <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/php.html
==============================================================================
--- websites/production/activemq/content/php.html (original)
+++ websites/production/activemq/content/php.html Fri Jul 12 12:46:14 2013
@@ -32,6 +32,7 @@
     </style>
     <![endif]-->
 
+    
     <title>
     Apache ActiveMQ &#8482; -- PHP
     </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>
@@ -89,8 +90,8 @@ Among others you can grab a stomp-php cl
 
 <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/pike.html
==============================================================================
--- websites/production/activemq/content/pike.html (original)
+++ websites/production/activemq/content/pike.html Fri Jul 12 12:46:14 2013
@@ -32,6 +32,7 @@
     </style>
     <![endif]-->
 
+    
     <title>
     Apache ActiveMQ &#8482; -- Pike
     </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>
@@ -89,8 +90,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/pluggable-storage-lockers.html
==============================================================================
--- websites/production/activemq/content/pluggable-storage-lockers.html (original)
+++ websites/production/activemq/content/pluggable-storage-lockers.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; -- Pluggable storage lockers
     </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>
@@ -101,13 +111,13 @@
 <p>Shared File Locker is a default locker used by KahaDB. It locks a file to ensure that only single resource is used. You can configure it like this:</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">&lt;persistenceAdapter&gt;
-	&lt;kahaDB directory = <span class="code-quote">"target/activemq-data"</span>&gt;
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[&lt;persistenceAdapter&gt;
+	&lt;kahaDB directory = "target/activemq-data"&gt;
 		&lt;locker&gt;
-			&lt;shared-file-locker lockAcquireSleepInterval=<span class="code-quote">"5000"</span>/&gt;
+			&lt;shared-file-locker lockAcquireSleepInterval="5000"/&gt;
 		&lt;/locker&gt;
 	&lt;/kahaDB&gt;
-&lt;/persistenceAdapter&gt;</pre>
+&lt;/persistenceAdapter&gt;]]></script>
 </div></div>
 
 <p>This locker doesn't implement keep alive function so there's no point in using <tt>lockKeepAliverPeriod</tt> settings</p>
@@ -118,13 +128,13 @@
 
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">&lt;persistenceAdapter&gt;
-       &lt;jdbcPersistenceAdapter dataDirectory=<span class="code-quote">"${activemq.data}"</span> dataSource=<span class="code-quote">"#mysql-ds"</span> lockKeepAlivePeriod=<span class="code-quote">"10000"</span>&gt;
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[&lt;persistenceAdapter&gt;
+       &lt;jdbcPersistenceAdapter dataDirectory="${activemq.data}" dataSource="#mysql-ds" lockKeepAlivePeriod="10000"&gt;
           &lt;locker&gt;
-            &lt;database-locker lockAcquireSleepInterval=<span class="code-quote">"5000"</span>/&gt;
+            &lt;database-locker lockAcquireSleepInterval="5000"/&gt;
           &lt;/locker&gt;
        &lt;/jdbcPersistenceAdapter&gt;
-    &lt;/persistenceAdapter&gt;</pre>
+    &lt;/persistenceAdapter&gt;]]></script>
 </div></div>
 
 <p>Database locker uses keep alive to make sure broker still holds a lock. You can set keep alive period with <tt>lockKeepAlivePeriod</tt> property. Default value is 30000 (meaning 30 seconds).</p>
@@ -137,13 +147,13 @@ In addition, where the database supports
 <p>Lease database locker solves master/slave problem of the default database locker. Master acquires a lock only for a certain period and must extend it's lease from time to time. Slave also checks periodically to see if the lease has expired. The lease can survive a db replica failover. You can configure it like this:</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">&lt;persistenceAdapter&gt;
-	&lt;jdbcPersistenceAdapter dataDirectory=<span class="code-quote">"${activemq.data}"</span> dataSource=<span class="code-quote">"#mysql-ds"</span> lockKeepAlivePeriod=<span class="code-quote">"5000"</span>&gt;
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[&lt;persistenceAdapter&gt;
+	&lt;jdbcPersistenceAdapter dataDirectory="${activemq.data}" dataSource="#mysql-ds" lockKeepAlivePeriod="5000"&gt;
 		&lt;locker&gt;
-			&lt;lease-database-locker lockAcquireSleepInterval=<span class="code-quote">"10000"</span>/&gt;
+			&lt;lease-database-locker lockAcquireSleepInterval="10000"/&gt;
 		&lt;/locker&gt;
 	&lt;/jdbcPersistenceAdapter&gt;
-&lt;/persistenceAdapter&gt;</pre>
+&lt;/persistenceAdapter&gt;]]></script>
 </div></div>
 
 <p>The lease based lock is acquired by blocking at start and retained by the keepAlivePeriod. To retain, the lease is extended by the lockAcquireSleepInterval, so in theory the master is always (lockAcquireSleepInterval-lockKeepAlivePeriod) ahead of the slave w.r.t the lease. It is imperative that lockAcquireSleepInterval &gt; lockKeepAlivePeriod, to ensure the lease is always current.<br clear="none">
@@ -161,8 +171,8 @@ In the simplest case, the clocks between
 
 <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/point-to-point-with-multiple-consumers.html
==============================================================================
--- websites/production/activemq/content/point-to-point-with-multiple-consumers.html (original)
+++ websites/production/activemq/content/point-to-point-with-multiple-consumers.html Fri Jul 12 12:46:14 2013
@@ -32,6 +32,7 @@
     </style>
     <![endif]-->
 
+    
     <title>
     Apache ActiveMQ &#8482; -- Point to Point with multiple Consumers
     </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>
@@ -99,8 +100,8 @@ bmason@chrome.com</p>
 
 <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/polo-page.html
==============================================================================
--- websites/production/activemq/content/polo-page.html (original)
+++ websites/production/activemq/content/polo-page.html Fri Jul 12 12:46:14 2013
@@ -32,6 +32,7 @@
     </style>
     <![endif]-->
 
+    
     <title>
     Apache ActiveMQ &#8482; -- polo page
     </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>
@@ -74,14 +75,17 @@
           <div class="wiki-content maincontent">
 
 
-<map name="GLIFFY_MAP_50841_test"></map>
-<table width="100%"><tr><td align="left" colspan="1" rowspan="1">
-            <table><caption align="bottom">
+<map id="gliffy-map-4120-9175" name="gliffy-map-4120-9175"></map>
+<table class="gliffy-macro-table" width="100%"><tr><td align="left" colspan="1" rowspan="1">
+            <table class="gliffy-macro-inner-table"><caption align="bottom">
                     
                         
-                        <a shape="rect" href="https://cwiki.apache.org/confluence/plugins/gliffy/viewlargediagram.action?name=test&amp;ceoid=50841&amp;key=ACTIVEMQ&amp;pageId=50841" target="">Full Size</a>
+                        <a shape="rect" href="https://cwiki.apache.org/confluence/plugins/gliffy/showgliffyeditor.action?name=test&amp;ceoid=50841&amp;key=ACTIVEMQ&amp;lastPage=%2Fpages%2Fviewpage.action%3FpageId%3D50841&amp;pageId=50841&amp;inline=false" target="">Edit Diagram</a>
+                    
+                         | 
+                        <a shape="rect" href="https://cwiki.apache.org/confluence/plugins/gliffy/viewlargediagram.action?name=test&amp;ceoid=50841&amp;key=ACTIVEMQ&amp;pageId=50841" target="_self">Full Size</a>
                                     </caption><tr><td colspan="1" rowspan="1">
-                        <img style="border: none; width: 384px; height: 502px;" usemap="#GLIFFY_MAP_50841_test" src="https://cwiki.apache.org/confluence/plugins/servlet/gliffyapi/clientdiagram?cb=106536819&amp;pk=pub&amp;name=test&amp;ceoid=50841&amp;key=ACTIVEMQ" alt="A&amp;#32;Gliffy&amp;#32;Diagram&amp;#32;named&amp;#58;&amp;#32;test">
+                        <img class="gliffy-macro-image" style="border: none; width: 384px;" usemap="#gliffy-map-4120-9175" src="https://cwiki.apache.org/confluence/download/attachments/50841/test.png?version=2&amp;modificationDate=1372086219000" alt="">
                     </td></tr></table>
         </td></tr></table>
 
@@ -101,8 +105,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/previous-versions.html
==============================================================================
--- websites/production/activemq/content/previous-versions.html (original)
+++ websites/production/activemq/content/previous-versions.html Fri Jul 12 12:46:14 2013
@@ -32,6 +32,7 @@
     </style>
     <![endif]-->
 
+    
     <title>
     Apache ActiveMQ &#8482; -- Previous Versions
     </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/privacy-policy.html
==============================================================================
--- websites/production/activemq/content/privacy-policy.html (original)
+++ websites/production/activemq/content/privacy-policy.html Fri Jul 12 12:46:14 2013
@@ -32,6 +32,7 @@
     </style>
     <![endif]-->
 
+    
     <title>
     Apache ActiveMQ &#8482; -- Privacy Policy
     </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/producer-flow-control.html
==============================================================================
--- websites/production/activemq/content/producer-flow-control.html (original)
+++ websites/production/activemq/content/producer-flow-control.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; -- Producer Flow Control
     </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>
@@ -87,10 +98,10 @@
 
 
 <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[
 ActiveMQConnectionFactory connctionFactory = ...
 connctionFactory.setProducerWindowSize(1024000);
-</pre>
+]]></script>
 </div></div>
 
 <p>The ProducerWindowSize is the maximum number of bytes of data that a producer will transmit to a broker before waiting for acknowledgment messages from the broker that it has accepted the previously sent messages.  </p>
@@ -100,15 +111,15 @@ connctionFactory.setProducerWindowSize(1
 <p>If you like, you can disable flow control for specific JMS queues and topics on the broker by setting the <tt>producerFlowControl</tt> flag to false on the appropriate destination policy in the Broker configuration - e.g.</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-<span class="code-tag">&lt;destinationPolicy&gt;</span>
-  <span class="code-tag">&lt;policyMap&gt;</span>
-    <span class="code-tag">&lt;policyEntries&gt;</span>
-      <span class="code-tag">&lt;policyEntry topic=<span class="code-quote">"FOO.&gt;</span>"</span> producerFlowControl=<span class="code-quote">"false"</span>/&gt;
-    <span class="code-tag">&lt;/policyEntries&gt;</span>
-  <span class="code-tag">&lt;/policyMap&gt;</span>
-<span class="code-tag">&lt;/destinationPolicy&gt;</span>
-</pre>
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;destinationPolicy&gt;
+  &lt;policyMap&gt;
+    &lt;policyEntries&gt;
+      &lt;policyEntry topic="FOO.&gt;" producerFlowControl="false"/&gt;
+    &lt;/policyEntries&gt;
+  &lt;/policyMap&gt;
+&lt;/destinationPolicy&gt;
+]]></script>
 </div></div>
 
 <p>see <a shape="rect" href="xml-configuration.html" title="Xml Configuration">Broker Configuration</a>. </p>
@@ -116,13 +127,13 @@ connctionFactory.setProducerWindowSize(1
 <p>Note that, since the introduction of the new file cursor in ActiveMQ 5.x, non-persisted messages are shunted into the temporary file store to reduce the amount of memory used for non-persistent messaging. As a result, you may find that a queue's memoryLimit is never reached, as the cursor doesn't use very much memory. If you really do want to keep all your non-persistent messages in memory, and stop producers when the limit is reached, you should configure the <tt>&lt;vmQueueCursor&gt;</tt>. </p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-<span class="code-tag">&lt;policyEntry queue=<span class="code-quote">"&gt;</span>"</span> producerFlowControl=<span class="code-quote">"true"</span> memoryLimit=<span class="code-quote">"1mb"</span>&gt;    
-  <span class="code-tag">&lt;pendingQueuePolicy&gt;</span>
-    <span class="code-tag">&lt;vmQueueCursor/&gt;</span>
-  <span class="code-tag">&lt;/pendingQueuePolicy&gt;</span>
-<span class="code-tag">&lt;/policyEntry&gt;</span>
-</pre>
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;policyEntry queue="&gt;" producerFlowControl="true" memoryLimit="1mb"&gt;    
+  &lt;pendingQueuePolicy&gt;
+    &lt;vmQueueCursor/&gt;
+  &lt;/pendingQueuePolicy&gt;
+&lt;/policyEntry&gt;
+]]></script>
 </div></div> 
 
 <p>The fragment above will ensure that all non-persistent queue messages are kept in memory, with each queue having a limit of 1Mb. </p>
@@ -142,13 +153,13 @@ connctionFactory.setProducerWindowSize(1
 <p>An alternative to the indefinite blocking of the <tt>send()</tt> operation when no space is free on the broker is to instead configure that an exception to be thrown on the client-side. By configuring the <tt>sendFailIfNoSpace</tt> property to <tt>true</tt>, the broker will cause the <tt>send()</tt> operation to fail with a <tt>javax.jms.ResourceAllocationException</tt>, which will propagate to the client. Below is an example of this configuration:</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">&lt;systemUsage&gt;
- &lt;systemUsage sendFailIfNoSpace=<span class="code-quote">"<span class="code-keyword">true</span>"</span>&gt;
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[&lt;systemUsage&gt;
+ &lt;systemUsage sendFailIfNoSpace="true"&gt;
    &lt;memoryUsage&gt;
-     &lt;memoryUsage limit=<span class="code-quote">"20 mb"</span>/&gt;
+     &lt;memoryUsage limit="20 mb"/&gt;
    &lt;/memoryUsage&gt;
  &lt;/systemUsage&gt;
-&lt;/systemUsage&gt;</pre>
+&lt;/systemUsage&gt;]]></script>
 </div></div>
 
 <p>The advantage of this property is that the client can catch the <tt>javax.jms.ResourceAllocationException</tt>, wait a bit and retry the <tt>send()</tt> operation instead of just hanging indefinitely. </p>
@@ -156,13 +167,13 @@ connctionFactory.setProducerWindowSize(1
 <p>Starting in version 5.3.1 the <tt>sendFailIfNoSpaceAfterTimeout</tt> property has been added. This property causes the <tt>send()</tt> operation to fail with an exception on the client-side, but only after waiting the given amount of time. If space on the broker is still not freed after the configured amount of time, only then does the <tt>send()</tt> operation fail with an exception to the client-side. Below is an example: </p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">&lt;systemUsage&gt;
- &lt;systemUsage sendFailIfNoSpaceAfterTimeout=<span class="code-quote">"3000"</span>&gt;
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[&lt;systemUsage&gt;
+ &lt;systemUsage sendFailIfNoSpaceAfterTimeout="3000"&gt;
    &lt;memoryUsage&gt;
-     &lt;memoryUsage limit=<span class="code-quote">"20 mb"</span>/&gt;
+     &lt;memoryUsage limit="20 mb"/&gt;
    &lt;/memoryUsage&gt;
  &lt;/systemUsage&gt;
-&lt;/systemUsage&gt;</pre>
+&lt;/systemUsage&gt;]]></script>
 </div></div>
 
 <p>The timeout is defined in milliseconds so the example above waits for three seconds before failing the <tt>send()</tt> operation with an exception to the client-side. The advantage of this property is that it will block for the configured amount of time instead of failing immediately or blocking indefinitely. This property offers not only an improvement on the broker-side, but also an improvement for the client so it can catch the exception, wait a bit and retry the <tt>send()</tt> operation. </p>
@@ -177,19 +188,19 @@ connctionFactory.setProducerWindowSize(1
 <p>You can also slow down producers via some attributes on the <tt>&lt;systemUsage&gt;</tt> element. Take a look at the following example:</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">&lt;systemUsage&gt;
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[&lt;systemUsage&gt;
   &lt;systemUsage&gt;
     &lt;memoryUsage&gt;
-      &lt;memoryUsage limit=<span class="code-quote">"64 mb"</span> /&gt;
+      &lt;memoryUsage limit="64 mb" /&gt;
     &lt;/memoryUsage&gt;
     &lt;storeUsage&gt;
-      &lt;storeUsage limit=<span class="code-quote">"100 gb"</span> /&gt;
+      &lt;storeUsage limit="100 gb" /&gt;
     &lt;/storeUsage&gt;
     &lt;tempUsage&gt;
-      &lt;tempUsage limit=<span class="code-quote">"10 gb"</span> /&gt;
+      &lt;tempUsage limit="10 gb" /&gt;
     &lt;/tempUsage&gt;
   &lt;/systemUsage&gt;
-&lt;/systemUsage&gt;</pre>
+&lt;/systemUsage&gt;]]></script>
 </div></div>
 
 <p>You can set limits of memory for <tt>NON_PERSISTENT</tt> messages, disk storage for <tt>PERSITENT</tt> messages and total usage for temporary messages, the broker will use before it slowdown producers. <em>Using the default settings shown above, the broker will block the <tt>send()</tt> call until some messages are consumed and space becomes available on the broker.</em>  The default values are shown above, you will probably need to increase these values for your environment. </p>
@@ -206,8 +217,8 @@ connctionFactory.setProducerWindowSize(1
 
 <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/projects-using-activemq.html
==============================================================================
--- websites/production/activemq/content/projects-using-activemq.html (original)
+++ websites/production/activemq/content/projects-using-activemq.html Fri Jul 12 12:46:14 2013
@@ -32,6 +32,7 @@
     </style>
     <![endif]-->
 
+    
     <title>
     Apache ActiveMQ &#8482; -- Projects Using ActiveMQ
     </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">



Mime
View raw message