You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ro...@apache.org on 2019/10/14 10:47:10 UTC

[activemq-website] 01/04: publish unbuilt changes added in d87afa8530b8984430b42731f6d89403196694a3

This is an automated email from the ASF dual-hosted git repository.

robbie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/activemq-website.git

commit 43091308f5ebaca779cfefdd7d670e03ce57969b
Author: Robbie Gemmell <ro...@apache.org>
AuthorDate: Mon Oct 14 11:32:18 2019 +0100

    publish unbuilt changes added in d87afa8530b8984430b42731f6d89403196694a3
---
 .../integrating-apache-activemq-with-jboss.html    | 126 ++++++------
 content/jboss-integration.html                     | 126 ++++++------
 content/jms-to-jms-bridge.html                     | 228 ++++++++++-----------
 content/sjsas-with-genericjmsra.html               |   4 +-
 content/weblogic-integration.html                  |  10 +-
 5 files changed, 247 insertions(+), 247 deletions(-)

diff --git a/content/integrating-apache-activemq-with-jboss.html b/content/integrating-apache-activemq-with-jboss.html
index 95e73f6..8b75f1b 100644
--- a/content/integrating-apache-activemq-with-jboss.html
+++ b/content/integrating-apache-activemq-with-jboss.html
@@ -284,38 +284,38 @@ drwxr-xr-x   6 bsnyder  bsnyder      204 Oct 16 16:27 META-INF
 <p>Open the <code class="highlighter-rouge">META-INF/ra.xml</code> file and look for the following section:</p>
 
 <p>`META-INF/ra.xml**</p>
-<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>&lt;config-property&gt;
-    &lt;description&gt;
+<div class="language-xml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nt">&lt;config-property&gt;</span>
+    <span class="nt">&lt;description&gt;</span>
       The URL to the ActiveMQ server that you want this connection to connect to.  If using
       an embedded broker, this value should be 'vm://localhost'.
-    &lt;/description&gt;
-    &lt;config-property-name&gt;ServerUrl&lt;/config-property-name&gt;
-    &lt;config-property-type&gt;java.lang.String&lt;/config-property-type&gt;
-    &lt;config-property-value&gt;tcp://localhost:61616&lt;/config-property-value&gt;
-&lt;!-- &lt;config-property-value&gt;vm://localhost&lt;/config-property-value&gt; --&gt;
-  &lt;/config-property&gt;
+    <span class="nt">&lt;/description&gt;</span>
+    <span class="nt">&lt;config-property-name&gt;</span>ServerUrl<span class="nt">&lt;/config-property-name&gt;</span>
+    <span class="nt">&lt;config-property-type&gt;</span>java.lang.String<span class="nt">&lt;/config-property-type&gt;</span>
+    <span class="nt">&lt;config-property-value&gt;</span>tcp://localhost:61616<span class="nt">&lt;/config-property-value&gt;</span>
+<span class="c">&lt;!-- &lt;config-property-value&gt;vm://localhost&lt;/config-property-value&gt; --&gt;</span>
+  <span class="nt">&lt;/config-property&gt;</span>
 </code></pre></div></div>
 <p>The section above is used to tell the ActiveMQ RAR where ActiveMQ is located. By default, the in-VM protocol is commented out in favor of the tcp protocol. This will find ActiveMQ running on any interface on the localhost on port 61616. It’s ok to just leave this alone if you don’t mind the inefficiency of communicating within the JVM via TCP. However, it is recommended that <code class="highlighter-rouge">vm://</code> transport be used for an embedded broker, so comment out the <code [...]
 
 <p>`META-INF/ra.xml**</p>
-<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>&lt;config-property&gt;
-    &lt;description&gt;
+<div class="language-xml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nt">&lt;config-property&gt;</span>
+    <span class="nt">&lt;description&gt;</span>
       The URL to the ActiveMQ server that you want this connection to connect to.  If using
       an embedded broker, this value should be 'vm://localhost'.
-    &lt;/description&gt;
-    &lt;config-property-name&gt;ServerUrl&lt;/config-property-name&gt;
-    &lt;config-property-type&gt;java.lang.String&lt;/config-property-type&gt;
-    &lt;!-- &lt;config-property-value&gt;tcp://localhost:61616&lt;/config-property-value&gt; --&gt;
-    &lt;config-property-value&gt;vm://localhost&lt;/config-property-value&gt;
-  &lt;/config-property&gt;
+    <span class="nt">&lt;/description&gt;</span>
+    <span class="nt">&lt;config-property-name&gt;</span>ServerUrl<span class="nt">&lt;/config-property-name&gt;</span>
+    <span class="nt">&lt;config-property-type&gt;</span>java.lang.String<span class="nt">&lt;/config-property-type&gt;</span>
+    <span class="c">&lt;!-- &lt;config-property-value&gt;tcp://localhost:61616&lt;/config-property-value&gt; --&gt;</span>
+    <span class="nt">&lt;config-property-value&gt;</span>vm://localhost<span class="nt">&lt;/config-property-value&gt;</span>
+  <span class="nt">&lt;/config-property&gt;</span>
 </code></pre></div></div>
 <p>Because we’re embedding ActiveMQ inside of JBoss, it is more efficient to use the <code class="highlighter-rouge">vm://</code> transport, rather than to perform messaging over the <code class="highlighter-rouge">tcp://</code> transport.</p>
 
 <p>Now look further down the <code class="highlighter-rouge">META-INF/ra.xml</code> file and locate the following section:</p>
 
 <p>`META-INF/ra.xml**</p>
-<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>&lt;config-property&gt;
-    &lt;description&gt;
+<div class="language-xml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nt">&lt;config-property&gt;</span>
+    <span class="nt">&lt;description&gt;</span>
       Sets the XML configuration file used to configure the embedded ActiveMQ broker via
       Spring if using embedded mode.
 
@@ -323,20 +323,20 @@ drwxr-xr-x   6 bsnyder  bsnyder      204 Oct 16 16:27 META-INF
       a URL is specified. So a value of foo/bar.xml would be assumed to be on the
       classpath whereas file:dir/file.xml would use the file system.
       Any valid URL string is supported.
-    &lt;/description&gt;
-    &lt;config-property-name&gt;BrokerXmlConfig&lt;/config-property-name&gt;
-    &lt;config-property-type&gt;java.lang.String&lt;/config-property-type&gt;
-    &lt;config-property-value&gt;&lt;/config-property-value&gt;
-    &lt;!--
+    <span class="nt">&lt;/description&gt;</span>
+    <span class="nt">&lt;config-property-name&gt;</span>BrokerXmlConfig<span class="nt">&lt;/config-property-name&gt;</span>
+    <span class="nt">&lt;config-property-type&gt;</span>java.lang.String<span class="nt">&lt;/config-property-type&gt;</span>
+    <span class="nt">&lt;config-property-value&gt;&lt;/config-property-value&gt;</span>
+    <span class="c">&lt;!--
     &lt;config-property-value&gt;xbean:broker-config.xml&lt;/config-property-value&gt;
-    --&gt;
-  &lt;/config-property&gt;
+    --&gt;</span>
+  <span class="nt">&lt;/config-property&gt;</span>
 </code></pre></div></div>
 <p>The section above needs to be changed to uncomment the second to last line and remove/replace the empty element that is above it. Below is an example of how this should be changed:</p>
 
 <p>`META-INF/ra.xml**</p>
-<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>&lt;config-property&gt;
-    &lt;description&gt;
+<div class="language-xml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nt">&lt;config-property&gt;</span>
+    <span class="nt">&lt;description&gt;</span>
       Sets the XML configuration file used to configure the embedded ActiveMQ broker via
       Spring if using embedded mode.
 
@@ -344,61 +344,61 @@ drwxr-xr-x   6 bsnyder  bsnyder      204 Oct 16 16:27 META-INF
       a URL is specified. So a value of foo/bar.xml would be assumed to be on the
       classpath whereas file:dir/file.xml would use the file system.
       Any valid URL string is supported.
-    &lt;/description&gt;
-    &lt;config-property-name&gt;BrokerXmlConfig&lt;/config-property-name&gt;
-    &lt;config-property-type&gt;java.lang.String&lt;/config-property-type&gt;
-    &lt;config-property-value&gt;xbean:broker-config.xml&lt;/config-property-value&gt;
-  &lt;/config-property&gt;
+    <span class="nt">&lt;/description&gt;</span>
+    <span class="nt">&lt;config-property-name&gt;</span>BrokerXmlConfig<span class="nt">&lt;/config-property-name&gt;</span>
+    <span class="nt">&lt;config-property-type&gt;</span>java.lang.String<span class="nt">&lt;/config-property-type&gt;</span>
+    <span class="nt">&lt;config-property-value&gt;</span>xbean:broker-config.xml<span class="nt">&lt;/config-property-value&gt;</span>
+  <span class="nt">&lt;/config-property&gt;</span>
 </code></pre></div></div>
 <p>This change tells the ActiveMQ RAR to read a configuration file named <code class="highlighter-rouge">broker-config.xml</code> (the <code class="highlighter-rouge">xbean:</code> that proceeds the filename is simply a hint to class doing the reading of the configuration file) which is located on the CLASSPATH. In this case, the <code class="highlighter-rouge">broker-config.xml</code> file is located in the <code class="highlighter-rouge">activemq-ra.rar</code> directory. Save the chang [...]
 
 <p>The <code class="highlighter-rouge">broker-config.xml</code> file <em>is</em> the ActiveMQ configuration file. This is the file used to configure ActiveMQ. The default contents of this file are usable, but should be customized to suit your environment. There are several items of note about this configuration. The most prominent sections to note in this file are the <code class="highlighter-rouge">&lt;persistenceAdapter&gt;</code> element and the <code class="highlighter-rouge">&lt;tra [...]
 
 <p>`broker-config.xml**</p>
-<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>&lt;beans xmlns="http://activemq.org/config/1.0"&gt;
+<div class="language-xml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nt">&lt;beans</span> <span class="na">xmlns=</span><span class="s">"http://activemq.org/config/1.0"</span><span class="nt">&gt;</span>
 
-  &lt;broker useJmx="true"&gt;
+  <span class="nt">&lt;broker</span> <span class="na">useJmx=</span><span class="s">"true"</span><span class="nt">&gt;</span>
   ...
-    &lt;persistenceAdapter&gt;
-      &lt;journaledJDBC journalLogFiles="5" dataDirectory="activemq-data"/&gt;
-      &lt;!-- To use a different datasource, use th following syntax : --&gt;
-      &lt;!--
+    <span class="nt">&lt;persistenceAdapter&gt;</span>
+      <span class="nt">&lt;journaledJDBC</span> <span class="na">journalLogFiles=</span><span class="s">"5"</span> <span class="na">dataDirectory=</span><span class="s">"activemq-data"</span><span class="nt">/&gt;</span>
+      <span class="c">&lt;!-- To use a different datasource, use th following syntax : --&gt;</span>
+      <span class="c">&lt;!--
       &lt;journaledJDBC journalLogFiles="5" dataDirectory="../data" dataSource="#postgres-ds"/&gt;
-       --&gt;
-    &lt;/persistenceAdapter&gt;
-
-    &lt;transportConnectors&gt;
-      &lt;!-- prefixing a connector with discovery: causes the connector to be advertiesed over rendezvous --&gt;
-      &lt;transportConnector uri="tcp://localhost:61616" discoveryUri="multicast://default"/&gt;
-    &lt;/transportConnectors&gt;
-
-    &lt;networkConnectors&gt;
-      &lt;!-- by default just auto discover the other brokers --&gt;
-      &lt;networkConnector uri="multicast://default"/&gt;
-      &lt;!--
+       --&gt;</span>
+    <span class="nt">&lt;/persistenceAdapter&gt;</span>
+
+    <span class="nt">&lt;transportConnectors&gt;</span>
+      <span class="c">&lt;!-- prefixing a connector with discovery: causes the connector to be advertiesed over rendezvous --&gt;</span>
+      <span class="nt">&lt;transportConnector</span> <span class="na">uri=</span><span class="s">"tcp://localhost:61616"</span> <span class="na">discoveryUri=</span><span class="s">"multicast://default"</span><span class="nt">/&gt;</span>
+    <span class="nt">&lt;/transportConnectors&gt;</span>
+
+    <span class="nt">&lt;networkConnectors&gt;</span>
+      <span class="c">&lt;!-- by default just auto discover the other brokers --&gt;</span>
+      <span class="nt">&lt;networkConnector</span> <span class="na">uri=</span><span class="s">"multicast://default"</span><span class="nt">/&gt;</span>
+      <span class="c">&lt;!--
       &lt;networkConnector uri="static://(tcp://host1:61616,tcp://host2:61616)"/&gt;
-      --&gt;
-    &lt;/networkConnectors&gt;
+      --&gt;</span>
+    <span class="nt">&lt;/networkConnectors&gt;</span>
 
-  &lt;/broker&gt;
+  <span class="nt">&lt;/broker&gt;</span>
 
-&lt;/beans&gt;
+<span class="nt">&lt;/beans&gt;</span>
 </code></pre></div></div>
 <p>The first change to this file is to add the brokerName attribute to the broker element and provide a name:</p>
-<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>&lt;broker useJmx="true" brokerName="bruce.broker1"&gt;
+<div class="language-xml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nt">&lt;broker</span> <span class="na">useJmx=</span><span class="s">"true"</span> <span class="na">brokerName=</span><span class="s">"bruce.broker1"</span><span class="nt">&gt;</span>
 </code></pre></div></div>
 <p>In addition, this same name is used further down the configuration to provide a name for the <code class="highlighter-rouge">&lt;transportConnector&gt;</code> element:</p>
-<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>&lt;transportConnector name="bruce.broker1" uri="tcp://localhost:61616" discoveryUri="multicast://default"/&gt;
+<div class="language-xml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nt">&lt;transportConnector</span> <span class="na">name=</span><span class="s">"bruce.broker1"</span> <span class="na">uri=</span><span class="s">"tcp://localhost:61616"</span> <span class="na">discoveryUri=</span><span class="s">"multicast://default"</span><span class="nt">/&gt;</span>
 </code></pre></div></div>
 <p>Now we’ll tell ActiveMQ not to initialize JMX because we’ll use the existing one that JBoss has:</p>
-<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>&lt;!-- put the following as the first child of the broker tag --&gt;
-&lt;managementContext&gt;&lt;!-- we'll use an existing one (JBoss) instead of creating one --&gt;
-  &lt;managementContext createConnector="false"/&gt;
-&lt;/managementContext&gt;
+<div class="language-xml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="c">&lt;!-- put the following as the first child of the broker tag --&gt;</span>
+<span class="nt">&lt;managementContext&gt;</span><span class="c">&lt;!-- we'll use an existing one (JBoss) instead of creating one --&gt;</span>
+  <span class="nt">&lt;managementContext</span> <span class="na">createConnector=</span><span class="s">"false"</span><span class="nt">/&gt;</span>
+<span class="nt">&lt;/managementContext&gt;</span>
 </code></pre></div></div>
 <p>The <code class="highlighter-rouge">&lt;persistenceAdapter&gt;</code> element should be reconfigured to store its data in an appropriate place. On JBoss, that’s most likely within the “data” directory of the server configuration you’re using. We’re going to set this dynamically using an XBean and Spring feature that allows us to inject system properties values into the configuration. First this needs to be enabled:</p>
-<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>&lt;!-- put the following as the first child of the beans element --&gt;
-&lt;bean xmlns="" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"/&gt;
+<div class="language-xml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="c">&lt;!-- put the following as the first child of the beans element --&gt;</span>
+<span class="nt">&lt;bean</span> <span class="na">xmlns=</span><span class="s">""</span> <span class="na">class=</span><span class="s">"org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"</span><span class="nt">/&gt;</span>
 </code></pre></div></div>
 <p>Now, modify the <code class="highlighter-rouge">dataDirectory</code> attribute of the <code class="highlighter-rouge">journaledJDBC</code> element to be the following: <code class="highlighter-rouge">${jboss.server.data.dir}/activemq</code>.</p>
 
@@ -446,7 +446,7 @@ Started in 28s:576ms
 <p>The sixth step is to configure JBoss to initialize and start ActiveMQ whenever JBoss starts up. This is accomplished using an XML file that abides by the <a href="http://www.jboss.org/j2ee/dtd/jboss-ds_1_5.dtd">JBoss JCA DTD</a> for data sources. Like most other Java application servers on the market, the JBoss architecture uses the J2EE Connector Architecture to manage connections of any kind including JDBC, JMS, etc. and the JBoss JCA DTD denotes the allowed contents for creating an [...]
 
 <p>`activemq-jms-ds.xml**</p>
-<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="cp">&lt;?xml version="1.0" encoding="UTF-8"?&gt;</span>
+<div class="language-xml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="cp">&lt;?xml version="1.0" encoding="UTF-8"?&gt;</span>
 
 <span class="cp">&lt;!DOCTYPE connection-factories
     PUBLIC "-//JBoss//DTD JBOSS JCA Config 1.5//EN"
diff --git a/content/jboss-integration.html b/content/jboss-integration.html
index 95e73f6..8b75f1b 100644
--- a/content/jboss-integration.html
+++ b/content/jboss-integration.html
@@ -284,38 +284,38 @@ drwxr-xr-x   6 bsnyder  bsnyder      204 Oct 16 16:27 META-INF
 <p>Open the <code class="highlighter-rouge">META-INF/ra.xml</code> file and look for the following section:</p>
 
 <p>`META-INF/ra.xml**</p>
-<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>&lt;config-property&gt;
-    &lt;description&gt;
+<div class="language-xml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nt">&lt;config-property&gt;</span>
+    <span class="nt">&lt;description&gt;</span>
       The URL to the ActiveMQ server that you want this connection to connect to.  If using
       an embedded broker, this value should be 'vm://localhost'.
-    &lt;/description&gt;
-    &lt;config-property-name&gt;ServerUrl&lt;/config-property-name&gt;
-    &lt;config-property-type&gt;java.lang.String&lt;/config-property-type&gt;
-    &lt;config-property-value&gt;tcp://localhost:61616&lt;/config-property-value&gt;
-&lt;!-- &lt;config-property-value&gt;vm://localhost&lt;/config-property-value&gt; --&gt;
-  &lt;/config-property&gt;
+    <span class="nt">&lt;/description&gt;</span>
+    <span class="nt">&lt;config-property-name&gt;</span>ServerUrl<span class="nt">&lt;/config-property-name&gt;</span>
+    <span class="nt">&lt;config-property-type&gt;</span>java.lang.String<span class="nt">&lt;/config-property-type&gt;</span>
+    <span class="nt">&lt;config-property-value&gt;</span>tcp://localhost:61616<span class="nt">&lt;/config-property-value&gt;</span>
+<span class="c">&lt;!-- &lt;config-property-value&gt;vm://localhost&lt;/config-property-value&gt; --&gt;</span>
+  <span class="nt">&lt;/config-property&gt;</span>
 </code></pre></div></div>
 <p>The section above is used to tell the ActiveMQ RAR where ActiveMQ is located. By default, the in-VM protocol is commented out in favor of the tcp protocol. This will find ActiveMQ running on any interface on the localhost on port 61616. It’s ok to just leave this alone if you don’t mind the inefficiency of communicating within the JVM via TCP. However, it is recommended that <code class="highlighter-rouge">vm://</code> transport be used for an embedded broker, so comment out the <code [...]
 
 <p>`META-INF/ra.xml**</p>
-<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>&lt;config-property&gt;
-    &lt;description&gt;
+<div class="language-xml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nt">&lt;config-property&gt;</span>
+    <span class="nt">&lt;description&gt;</span>
       The URL to the ActiveMQ server that you want this connection to connect to.  If using
       an embedded broker, this value should be 'vm://localhost'.
-    &lt;/description&gt;
-    &lt;config-property-name&gt;ServerUrl&lt;/config-property-name&gt;
-    &lt;config-property-type&gt;java.lang.String&lt;/config-property-type&gt;
-    &lt;!-- &lt;config-property-value&gt;tcp://localhost:61616&lt;/config-property-value&gt; --&gt;
-    &lt;config-property-value&gt;vm://localhost&lt;/config-property-value&gt;
-  &lt;/config-property&gt;
+    <span class="nt">&lt;/description&gt;</span>
+    <span class="nt">&lt;config-property-name&gt;</span>ServerUrl<span class="nt">&lt;/config-property-name&gt;</span>
+    <span class="nt">&lt;config-property-type&gt;</span>java.lang.String<span class="nt">&lt;/config-property-type&gt;</span>
+    <span class="c">&lt;!-- &lt;config-property-value&gt;tcp://localhost:61616&lt;/config-property-value&gt; --&gt;</span>
+    <span class="nt">&lt;config-property-value&gt;</span>vm://localhost<span class="nt">&lt;/config-property-value&gt;</span>
+  <span class="nt">&lt;/config-property&gt;</span>
 </code></pre></div></div>
 <p>Because we’re embedding ActiveMQ inside of JBoss, it is more efficient to use the <code class="highlighter-rouge">vm://</code> transport, rather than to perform messaging over the <code class="highlighter-rouge">tcp://</code> transport.</p>
 
 <p>Now look further down the <code class="highlighter-rouge">META-INF/ra.xml</code> file and locate the following section:</p>
 
 <p>`META-INF/ra.xml**</p>
-<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>&lt;config-property&gt;
-    &lt;description&gt;
+<div class="language-xml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nt">&lt;config-property&gt;</span>
+    <span class="nt">&lt;description&gt;</span>
       Sets the XML configuration file used to configure the embedded ActiveMQ broker via
       Spring if using embedded mode.
 
@@ -323,20 +323,20 @@ drwxr-xr-x   6 bsnyder  bsnyder      204 Oct 16 16:27 META-INF
       a URL is specified. So a value of foo/bar.xml would be assumed to be on the
       classpath whereas file:dir/file.xml would use the file system.
       Any valid URL string is supported.
-    &lt;/description&gt;
-    &lt;config-property-name&gt;BrokerXmlConfig&lt;/config-property-name&gt;
-    &lt;config-property-type&gt;java.lang.String&lt;/config-property-type&gt;
-    &lt;config-property-value&gt;&lt;/config-property-value&gt;
-    &lt;!--
+    <span class="nt">&lt;/description&gt;</span>
+    <span class="nt">&lt;config-property-name&gt;</span>BrokerXmlConfig<span class="nt">&lt;/config-property-name&gt;</span>
+    <span class="nt">&lt;config-property-type&gt;</span>java.lang.String<span class="nt">&lt;/config-property-type&gt;</span>
+    <span class="nt">&lt;config-property-value&gt;&lt;/config-property-value&gt;</span>
+    <span class="c">&lt;!--
     &lt;config-property-value&gt;xbean:broker-config.xml&lt;/config-property-value&gt;
-    --&gt;
-  &lt;/config-property&gt;
+    --&gt;</span>
+  <span class="nt">&lt;/config-property&gt;</span>
 </code></pre></div></div>
 <p>The section above needs to be changed to uncomment the second to last line and remove/replace the empty element that is above it. Below is an example of how this should be changed:</p>
 
 <p>`META-INF/ra.xml**</p>
-<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>&lt;config-property&gt;
-    &lt;description&gt;
+<div class="language-xml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nt">&lt;config-property&gt;</span>
+    <span class="nt">&lt;description&gt;</span>
       Sets the XML configuration file used to configure the embedded ActiveMQ broker via
       Spring if using embedded mode.
 
@@ -344,61 +344,61 @@ drwxr-xr-x   6 bsnyder  bsnyder      204 Oct 16 16:27 META-INF
       a URL is specified. So a value of foo/bar.xml would be assumed to be on the
       classpath whereas file:dir/file.xml would use the file system.
       Any valid URL string is supported.
-    &lt;/description&gt;
-    &lt;config-property-name&gt;BrokerXmlConfig&lt;/config-property-name&gt;
-    &lt;config-property-type&gt;java.lang.String&lt;/config-property-type&gt;
-    &lt;config-property-value&gt;xbean:broker-config.xml&lt;/config-property-value&gt;
-  &lt;/config-property&gt;
+    <span class="nt">&lt;/description&gt;</span>
+    <span class="nt">&lt;config-property-name&gt;</span>BrokerXmlConfig<span class="nt">&lt;/config-property-name&gt;</span>
+    <span class="nt">&lt;config-property-type&gt;</span>java.lang.String<span class="nt">&lt;/config-property-type&gt;</span>
+    <span class="nt">&lt;config-property-value&gt;</span>xbean:broker-config.xml<span class="nt">&lt;/config-property-value&gt;</span>
+  <span class="nt">&lt;/config-property&gt;</span>
 </code></pre></div></div>
 <p>This change tells the ActiveMQ RAR to read a configuration file named <code class="highlighter-rouge">broker-config.xml</code> (the <code class="highlighter-rouge">xbean:</code> that proceeds the filename is simply a hint to class doing the reading of the configuration file) which is located on the CLASSPATH. In this case, the <code class="highlighter-rouge">broker-config.xml</code> file is located in the <code class="highlighter-rouge">activemq-ra.rar</code> directory. Save the chang [...]
 
 <p>The <code class="highlighter-rouge">broker-config.xml</code> file <em>is</em> the ActiveMQ configuration file. This is the file used to configure ActiveMQ. The default contents of this file are usable, but should be customized to suit your environment. There are several items of note about this configuration. The most prominent sections to note in this file are the <code class="highlighter-rouge">&lt;persistenceAdapter&gt;</code> element and the <code class="highlighter-rouge">&lt;tra [...]
 
 <p>`broker-config.xml**</p>
-<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>&lt;beans xmlns="http://activemq.org/config/1.0"&gt;
+<div class="language-xml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nt">&lt;beans</span> <span class="na">xmlns=</span><span class="s">"http://activemq.org/config/1.0"</span><span class="nt">&gt;</span>
 
-  &lt;broker useJmx="true"&gt;
+  <span class="nt">&lt;broker</span> <span class="na">useJmx=</span><span class="s">"true"</span><span class="nt">&gt;</span>
   ...
-    &lt;persistenceAdapter&gt;
-      &lt;journaledJDBC journalLogFiles="5" dataDirectory="activemq-data"/&gt;
-      &lt;!-- To use a different datasource, use th following syntax : --&gt;
-      &lt;!--
+    <span class="nt">&lt;persistenceAdapter&gt;</span>
+      <span class="nt">&lt;journaledJDBC</span> <span class="na">journalLogFiles=</span><span class="s">"5"</span> <span class="na">dataDirectory=</span><span class="s">"activemq-data"</span><span class="nt">/&gt;</span>
+      <span class="c">&lt;!-- To use a different datasource, use th following syntax : --&gt;</span>
+      <span class="c">&lt;!--
       &lt;journaledJDBC journalLogFiles="5" dataDirectory="../data" dataSource="#postgres-ds"/&gt;
-       --&gt;
-    &lt;/persistenceAdapter&gt;
-
-    &lt;transportConnectors&gt;
-      &lt;!-- prefixing a connector with discovery: causes the connector to be advertiesed over rendezvous --&gt;
-      &lt;transportConnector uri="tcp://localhost:61616" discoveryUri="multicast://default"/&gt;
-    &lt;/transportConnectors&gt;
-
-    &lt;networkConnectors&gt;
-      &lt;!-- by default just auto discover the other brokers --&gt;
-      &lt;networkConnector uri="multicast://default"/&gt;
-      &lt;!--
+       --&gt;</span>
+    <span class="nt">&lt;/persistenceAdapter&gt;</span>
+
+    <span class="nt">&lt;transportConnectors&gt;</span>
+      <span class="c">&lt;!-- prefixing a connector with discovery: causes the connector to be advertiesed over rendezvous --&gt;</span>
+      <span class="nt">&lt;transportConnector</span> <span class="na">uri=</span><span class="s">"tcp://localhost:61616"</span> <span class="na">discoveryUri=</span><span class="s">"multicast://default"</span><span class="nt">/&gt;</span>
+    <span class="nt">&lt;/transportConnectors&gt;</span>
+
+    <span class="nt">&lt;networkConnectors&gt;</span>
+      <span class="c">&lt;!-- by default just auto discover the other brokers --&gt;</span>
+      <span class="nt">&lt;networkConnector</span> <span class="na">uri=</span><span class="s">"multicast://default"</span><span class="nt">/&gt;</span>
+      <span class="c">&lt;!--
       &lt;networkConnector uri="static://(tcp://host1:61616,tcp://host2:61616)"/&gt;
-      --&gt;
-    &lt;/networkConnectors&gt;
+      --&gt;</span>
+    <span class="nt">&lt;/networkConnectors&gt;</span>
 
-  &lt;/broker&gt;
+  <span class="nt">&lt;/broker&gt;</span>
 
-&lt;/beans&gt;
+<span class="nt">&lt;/beans&gt;</span>
 </code></pre></div></div>
 <p>The first change to this file is to add the brokerName attribute to the broker element and provide a name:</p>
-<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>&lt;broker useJmx="true" brokerName="bruce.broker1"&gt;
+<div class="language-xml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nt">&lt;broker</span> <span class="na">useJmx=</span><span class="s">"true"</span> <span class="na">brokerName=</span><span class="s">"bruce.broker1"</span><span class="nt">&gt;</span>
 </code></pre></div></div>
 <p>In addition, this same name is used further down the configuration to provide a name for the <code class="highlighter-rouge">&lt;transportConnector&gt;</code> element:</p>
-<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>&lt;transportConnector name="bruce.broker1" uri="tcp://localhost:61616" discoveryUri="multicast://default"/&gt;
+<div class="language-xml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nt">&lt;transportConnector</span> <span class="na">name=</span><span class="s">"bruce.broker1"</span> <span class="na">uri=</span><span class="s">"tcp://localhost:61616"</span> <span class="na">discoveryUri=</span><span class="s">"multicast://default"</span><span class="nt">/&gt;</span>
 </code></pre></div></div>
 <p>Now we’ll tell ActiveMQ not to initialize JMX because we’ll use the existing one that JBoss has:</p>
-<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>&lt;!-- put the following as the first child of the broker tag --&gt;
-&lt;managementContext&gt;&lt;!-- we'll use an existing one (JBoss) instead of creating one --&gt;
-  &lt;managementContext createConnector="false"/&gt;
-&lt;/managementContext&gt;
+<div class="language-xml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="c">&lt;!-- put the following as the first child of the broker tag --&gt;</span>
+<span class="nt">&lt;managementContext&gt;</span><span class="c">&lt;!-- we'll use an existing one (JBoss) instead of creating one --&gt;</span>
+  <span class="nt">&lt;managementContext</span> <span class="na">createConnector=</span><span class="s">"false"</span><span class="nt">/&gt;</span>
+<span class="nt">&lt;/managementContext&gt;</span>
 </code></pre></div></div>
 <p>The <code class="highlighter-rouge">&lt;persistenceAdapter&gt;</code> element should be reconfigured to store its data in an appropriate place. On JBoss, that’s most likely within the “data” directory of the server configuration you’re using. We’re going to set this dynamically using an XBean and Spring feature that allows us to inject system properties values into the configuration. First this needs to be enabled:</p>
-<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>&lt;!-- put the following as the first child of the beans element --&gt;
-&lt;bean xmlns="" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"/&gt;
+<div class="language-xml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="c">&lt;!-- put the following as the first child of the beans element --&gt;</span>
+<span class="nt">&lt;bean</span> <span class="na">xmlns=</span><span class="s">""</span> <span class="na">class=</span><span class="s">"org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"</span><span class="nt">/&gt;</span>
 </code></pre></div></div>
 <p>Now, modify the <code class="highlighter-rouge">dataDirectory</code> attribute of the <code class="highlighter-rouge">journaledJDBC</code> element to be the following: <code class="highlighter-rouge">${jboss.server.data.dir}/activemq</code>.</p>
 
@@ -446,7 +446,7 @@ Started in 28s:576ms
 <p>The sixth step is to configure JBoss to initialize and start ActiveMQ whenever JBoss starts up. This is accomplished using an XML file that abides by the <a href="http://www.jboss.org/j2ee/dtd/jboss-ds_1_5.dtd">JBoss JCA DTD</a> for data sources. Like most other Java application servers on the market, the JBoss architecture uses the J2EE Connector Architecture to manage connections of any kind including JDBC, JMS, etc. and the JBoss JCA DTD denotes the allowed contents for creating an [...]
 
 <p>`activemq-jms-ds.xml**</p>
-<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="cp">&lt;?xml version="1.0" encoding="UTF-8"?&gt;</span>
+<div class="language-xml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="cp">&lt;?xml version="1.0" encoding="UTF-8"?&gt;</span>
 
 <span class="cp">&lt;!DOCTYPE connection-factories
     PUBLIC "-//JBoss//DTD JBOSS JCA Config 1.5//EN"
diff --git a/content/jms-to-jms-bridge.html b/content/jms-to-jms-bridge.html
index 25e6af8..a50ec38 100644
--- a/content/jms-to-jms-bridge.html
+++ b/content/jms-to-jms-bridge.html
@@ -429,135 +429,135 @@
 <h3 id="example-xbean-configuration">Example XBean Configuration</h3>
 
 <p>The following <a href="http://svn.apache.org/repos/asf/activemq/trunk/activemq-unit-tests/src/test/resources/org/apache/activemq/network/jms/queue-xbean.xml">example config file</a> shows how to use the regular <a href="xml-configuration">Xml Configuration</a> to configure a JMS to JMS bridge.</p>
-<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>&lt;broker xmlns="http://activemq.apache.org/schema/core" id="localbroker"
-  brokerName="localBroker" persistent="false"&gt;
-  &lt;jmsBridgeConnectors&gt;
-    &lt;jmsQueueConnector
-      outboundQueueConnectionFactory="#remoteFactory"&gt;
-      &lt;inboundQueueBridges&gt;
-        &lt;inboundQueueBridge
-          inboundQueueName="org.apache.activemq.network.jms.QueueBridgeXBeanTest" /&gt;
-      &lt;/inboundQueueBridges&gt;
-    &lt;/jmsQueueConnector&gt;
-  &lt;/jmsBridgeConnectors&gt;
-  &lt;transportConnectors&gt;
-    &lt;transportConnector uri="tcp://localhost:61234" /&gt;
-  &lt;/transportConnectors&gt;
-&lt;/broker&gt;
-&lt;!-- JMS ConnectionFactory to use remote --&gt;
-&lt;bean id="remoteFactory"
-  class="org.apache.activemq.ActiveMQConnectionFactory"&gt;
-  &lt;property name="brokerURL" value="tcp://localhost:61666" /&gt;
-&lt;/bean&gt;
+<div class="language-xml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nt">&lt;broker</span> <span class="na">xmlns=</span><span class="s">"http://activemq.apache.org/schema/core"</span> <span class="na">id=</span><span class="s">"localbroker"</span>
+  <span class="na">brokerName=</span><span class="s">"localBroker"</span> <span class="na">persistent=</span><span class="s">"false"</span><span class="nt">&gt;</span>
+  <span class="nt">&lt;jmsBridgeConnectors&gt;</span>
+    <span class="nt">&lt;jmsQueueConnector</span>
+      <span class="na">outboundQueueConnectionFactory=</span><span class="s">"#remoteFactory"</span><span class="nt">&gt;</span>
+      <span class="nt">&lt;inboundQueueBridges&gt;</span>
+        <span class="nt">&lt;inboundQueueBridge</span>
+          <span class="na">inboundQueueName=</span><span class="s">"org.apache.activemq.network.jms.QueueBridgeXBeanTest"</span> <span class="nt">/&gt;</span>
+      <span class="nt">&lt;/inboundQueueBridges&gt;</span>
+    <span class="nt">&lt;/jmsQueueConnector&gt;</span>
+  <span class="nt">&lt;/jmsBridgeConnectors&gt;</span>
+  <span class="nt">&lt;transportConnectors&gt;</span>
+    <span class="nt">&lt;transportConnector</span> <span class="na">uri=</span><span class="s">"tcp://localhost:61234"</span> <span class="nt">/&gt;</span>
+  <span class="nt">&lt;/transportConnectors&gt;</span>
+<span class="nt">&lt;/broker&gt;</span>
+<span class="c">&lt;!-- JMS ConnectionFactory to use remote --&gt;</span>
+<span class="nt">&lt;bean</span> <span class="na">id=</span><span class="s">"remoteFactory"</span>
+  <span class="na">class=</span><span class="s">"org.apache.activemq.ActiveMQConnectionFactory"</span><span class="nt">&gt;</span>
+  <span class="nt">&lt;property</span> <span class="na">name=</span><span class="s">"brokerURL"</span> <span class="na">value=</span><span class="s">"tcp://localhost:61666"</span> <span class="nt">/&gt;</span>
+<span class="nt">&lt;/bean&gt;</span>
 </code></pre></div></div>
 
 <h3 id="example-pure-spring-configuration">Example pure Spring Configuration</h3>
 
 <p>The following example shows how to use raw Spring XML to wire together a broker - bridging to a Foreign JMS provider</p>
-<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>&lt;!-- local broker with embedded Jms to Jms bridge (ok - it's contrived) --&gt;
-&lt;bean id="localbroker" class="org.apache.activemq.broker.BrokerService"
-  init-method="start"&gt;
-  &lt;property name="brokerName" value = "localBroker"/&gt;
-    &lt;property name="persistent" value = "false"/&gt;
-  &lt;property name="transportConnectorURIs"&gt;
-    &lt;list&gt;
-      &lt;value&gt;tcp://localhost:61234&lt;/value&gt;
-    &lt;/list&gt;
-  &lt;/property&gt;
-  &lt;property name="jmsBridgeConnectors"&gt;
-    &lt;list&gt;
-      &lt;ref bean="jmsConnector"/&gt;
-    &lt;/list&gt;
-  &lt;/property&gt;
-&lt;/bean&gt;
-
-&lt;!-- JMS ConnectionFactory to use local broker (the one with the bridge) --&gt;
-&lt;bean id="localFactory"
-  class="org.apache.activemq.ActiveMQConnectionFactory"&gt;
-  &lt;property name="brokerURL" value="tcp://localhost:61234" /&gt;
-&lt;/bean&gt;
-
-&lt;!--JmsTopicConnector - the Jms bridge --&gt;
-&lt;bean id="jmsConnector"
-  class="org.apache.activemq.network.jms.JmsTopicConnector"&gt;
-  &lt;property name = "outboundTopicConnectionFactory" ref = "remoteFactory"/&gt;
-
-  &lt;property name = "inboundTopicBridges"&gt;
-    &lt;list&gt;
-      &lt;ref bean="InboundTopicBridge" /&gt;
-    &lt;/list&gt;
-  &lt;/property&gt;
-
-&lt;/bean&gt;
-
-&lt;bean id ="InboundTopicBridge" class="org.apache.activemq.network.jms.InboundTopicBridge"&gt;
-  &lt;property name = "inboundTopicName" value = "org.apache.activemq.network.jms.TopicBridgeSpringTest"/&gt;
-&lt;/bean&gt;
+<div class="language-xml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="c">&lt;!-- local broker with embedded Jms to Jms bridge (ok - it's contrived) --&gt;</span>
+<span class="nt">&lt;bean</span> <span class="na">id=</span><span class="s">"localbroker"</span> <span class="na">class=</span><span class="s">"org.apache.activemq.broker.BrokerService"</span>
+  <span class="na">init-method=</span><span class="s">"start"</span><span class="nt">&gt;</span>
+  <span class="nt">&lt;property</span> <span class="na">name=</span><span class="s">"brokerName"</span> <span class="na">value =</span> <span class="s">"localBroker"</span><span class="nt">/&gt;</span>
+    <span class="nt">&lt;property</span> <span class="na">name=</span><span class="s">"persistent"</span> <span class="na">value =</span> <span class="s">"false"</span><span class="nt">/&gt;</span>
+  <span class="nt">&lt;property</span> <span class="na">name=</span><span class="s">"transportConnectorURIs"</span><span class="nt">&gt;</span>
+    <span class="nt">&lt;list&gt;</span>
+      <span class="nt">&lt;value&gt;</span>tcp://localhost:61234<span class="nt">&lt;/value&gt;</span>
+    <span class="nt">&lt;/list&gt;</span>
+  <span class="nt">&lt;/property&gt;</span>
+  <span class="nt">&lt;property</span> <span class="na">name=</span><span class="s">"jmsBridgeConnectors"</span><span class="nt">&gt;</span>
+    <span class="nt">&lt;list&gt;</span>
+      <span class="nt">&lt;ref</span> <span class="na">bean=</span><span class="s">"jmsConnector"</span><span class="nt">/&gt;</span>
+    <span class="nt">&lt;/list&gt;</span>
+  <span class="nt">&lt;/property&gt;</span>
+<span class="nt">&lt;/bean&gt;</span>
+
+<span class="c">&lt;!-- JMS ConnectionFactory to use local broker (the one with the bridge) --&gt;</span>
+<span class="nt">&lt;bean</span> <span class="na">id=</span><span class="s">"localFactory"</span>
+  <span class="na">class=</span><span class="s">"org.apache.activemq.ActiveMQConnectionFactory"</span><span class="nt">&gt;</span>
+  <span class="nt">&lt;property</span> <span class="na">name=</span><span class="s">"brokerURL"</span> <span class="na">value=</span><span class="s">"tcp://localhost:61234"</span> <span class="nt">/&gt;</span>
+<span class="nt">&lt;/bean&gt;</span>
+
+<span class="c">&lt;!--JmsTopicConnector - the Jms bridge --&gt;</span>
+<span class="nt">&lt;bean</span> <span class="na">id=</span><span class="s">"jmsConnector"</span>
+  <span class="na">class=</span><span class="s">"org.apache.activemq.network.jms.JmsTopicConnector"</span><span class="nt">&gt;</span>
+  <span class="nt">&lt;property</span> <span class="na">name =</span> <span class="s">"outboundTopicConnectionFactory"</span> <span class="na">ref =</span> <span class="s">"remoteFactory"</span><span class="nt">/&gt;</span>
+
+  <span class="nt">&lt;property</span> <span class="na">name =</span> <span class="s">"inboundTopicBridges"</span><span class="nt">&gt;</span>
+    <span class="nt">&lt;list&gt;</span>
+      <span class="nt">&lt;ref</span> <span class="na">bean=</span><span class="s">"InboundTopicBridge"</span> <span class="nt">/&gt;</span>
+    <span class="nt">&lt;/list&gt;</span>
+  <span class="nt">&lt;/property&gt;</span>
+
+<span class="nt">&lt;/bean&gt;</span>
+
+<span class="nt">&lt;bean</span> <span class="na">id =</span><span class="s">"InboundTopicBridge"</span> <span class="na">class=</span><span class="s">"org.apache.activemq.network.jms.InboundTopicBridge"</span><span class="nt">&gt;</span>
+  <span class="nt">&lt;property</span> <span class="na">name =</span> <span class="s">"inboundTopicName"</span> <span class="na">value =</span> <span class="s">"org.apache.activemq.network.jms.TopicBridgeSpringTest"</span><span class="nt">/&gt;</span>
+<span class="nt">&lt;/bean&gt;</span>
 </code></pre></div></div>
 
 <h3 id="example-xbean-configuration-to-bridge-activemq-to-provider-with-no-url-setter">Example XBean Configuration to Bridge ActiveMQ to Provider With No URL Setter</h3>
 
 <p>Some JMS providers, WebLogic for instance, do not expose a setter for connection properties like host and port (setBrokerUrl) on their ConnectionFactory object. In this case you need to set outboundQueueConnectionFactoryName and jndiOutboundTemplate in your activemq.xml config file.</p>
-<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>&lt;!-- START SNIPPET: example --&gt;
-&lt;beans&gt;
-
-  &lt;!-- Allows us to use system properties as variables in this configuration file --&gt;
-  &lt;bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"/&gt;
-
-  &lt;broker useJmx="true" xmlns="http://activemq.org/config/1.0"&gt;
-
-    &lt;persistenceAdapter&gt;
-        &lt;journaledJDBC journalLogFiles="5" dataDirectory="${activemq.home}/activemq-data"/&gt;
-    &lt;/persistenceAdapter&gt;
-
-    &lt;transportConnectors&gt;
-       &lt;transportConnector name="default" uri="tcp://localhost:61616" discoveryUri="multicast://default"/&gt;
-       &lt;transportConnector name="stomp"   uri="stomp://localhost:61613"/&gt;
-    &lt;/transportConnectors&gt;
-
-    &lt;networkConnectors&gt;
-      &lt;networkConnector name="default" uri="multicast://default"/&gt;
-    &lt;/networkConnectors&gt;
-
-    &lt;jmsBridgeConnectors&gt;
-     &lt;jmsQueueConnector name="JreportRequestBridge-Inbound"
-        jndiOutboundTemplate="#remoteJndi"
-        outboundQueueConnectionFactoryName="jms/ConnectionFactory"
-        localQueueConnectionFactory="#localFactory"&gt;
-        &lt;inboundQueueBridges&gt;
-          &lt;inboundQueueBridge inboundQueueName="jms/queue/jreport/request"/&gt;
-        &lt;/inboundQueueBridges&gt;
-      &lt;/jmsQueueConnector&gt;
-    &lt;/jmsBridgeConnectors&gt;
-
-  &lt;/broker&gt;
-
-    &lt;!-- Set up the template for connecting to Weblogic --&gt;
-    &lt;bean id="remoteJndi" class="org.springframework.jndi.JndiTemplate"&gt;
-        &lt;property name="environment"&gt;
-                &lt;props&gt;
-                        &lt;prop key="java.naming.factory.initial"&gt;weblogic.jndi.WLInitialContextFactory&lt;/prop&gt;
-                        &lt;prop key="java.naming.provider.url"&gt;t3://&lt;your ip here&gt;:7001&lt;/prop&gt;
-                &lt;/props&gt;
-        &lt;/property&gt;
-    &lt;/bean&gt;
-
-  &lt;bean id="localFactory"
-    class="org.apache.activemq.ActiveMQConnectionFactory"&gt;
-    &lt;property name="brokerURL" value="tcp://localhost:61616" /&gt;
-  &lt;/bean&gt;
-
-  &lt;bean id="localQueue" class="org.apache.activemq.command.ActiveMQQueue"&gt;
-    &lt;constructor-arg value="dynamic/jms.queue.jreport.request"/&gt;
-  &lt;/bean&gt;
-&lt;/beans&gt;
-&lt;!-- END SNIPPET: xbean --&gt;
+<div class="language-xml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="c">&lt;!-- START SNIPPET: example --&gt;</span>
+<span class="nt">&lt;beans&gt;</span>
+
+  <span class="c">&lt;!-- Allows us to use system properties as variables in this configuration file --&gt;</span>
+  <span class="nt">&lt;bean</span> <span class="na">class=</span><span class="s">"org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"</span><span class="nt">/&gt;</span>
+
+  <span class="nt">&lt;broker</span> <span class="na">useJmx=</span><span class="s">"true"</span> <span class="na">xmlns=</span><span class="s">"http://activemq.org/config/1.0"</span><span class="nt">&gt;</span>
+
+    <span class="nt">&lt;persistenceAdapter&gt;</span>
+        <span class="nt">&lt;journaledJDBC</span> <span class="na">journalLogFiles=</span><span class="s">"5"</span> <span class="na">dataDirectory=</span><span class="s">"${activemq.home}/activemq-data"</span><span class="nt">/&gt;</span>
+    <span class="nt">&lt;/persistenceAdapter&gt;</span>
+
+    <span class="nt">&lt;transportConnectors&gt;</span>
+       <span class="nt">&lt;transportConnector</span> <span class="na">name=</span><span class="s">"default"</span> <span class="na">uri=</span><span class="s">"tcp://localhost:61616"</span> <span class="na">discoveryUri=</span><span class="s">"multicast://default"</span><span class="nt">/&gt;</span>
+       <span class="nt">&lt;transportConnector</span> <span class="na">name=</span><span class="s">"stomp"</span>   <span class="na">uri=</span><span class="s">"stomp://localhost:61613"</span><span class="nt">/&gt;</span>
+    <span class="nt">&lt;/transportConnectors&gt;</span>
+
+    <span class="nt">&lt;networkConnectors&gt;</span>
+      <span class="nt">&lt;networkConnector</span> <span class="na">name=</span><span class="s">"default"</span> <span class="na">uri=</span><span class="s">"multicast://default"</span><span class="nt">/&gt;</span>
+    <span class="nt">&lt;/networkConnectors&gt;</span>
+
+    <span class="nt">&lt;jmsBridgeConnectors&gt;</span>
+     <span class="nt">&lt;jmsQueueConnector</span> <span class="na">name=</span><span class="s">"JreportRequestBridge-Inbound"</span>
+        <span class="na">jndiOutboundTemplate=</span><span class="s">"#remoteJndi"</span>
+        <span class="na">outboundQueueConnectionFactoryName=</span><span class="s">"jms/ConnectionFactory"</span>
+        <span class="na">localQueueConnectionFactory=</span><span class="s">"#localFactory"</span><span class="nt">&gt;</span>
+        <span class="nt">&lt;inboundQueueBridges&gt;</span>
+          <span class="nt">&lt;inboundQueueBridge</span> <span class="na">inboundQueueName=</span><span class="s">"jms/queue/jreport/request"</span><span class="nt">/&gt;</span>
+        <span class="nt">&lt;/inboundQueueBridges&gt;</span>
+      <span class="nt">&lt;/jmsQueueConnector&gt;</span>
+    <span class="nt">&lt;/jmsBridgeConnectors&gt;</span>
+
+  <span class="nt">&lt;/broker&gt;</span>
+
+    <span class="c">&lt;!-- Set up the template for connecting to Weblogic --&gt;</span>
+    <span class="nt">&lt;bean</span> <span class="na">id=</span><span class="s">"remoteJndi"</span> <span class="na">class=</span><span class="s">"org.springframework.jndi.JndiTemplate"</span><span class="nt">&gt;</span>
+        <span class="nt">&lt;property</span> <span class="na">name=</span><span class="s">"environment"</span><span class="nt">&gt;</span>
+                <span class="nt">&lt;props&gt;</span>
+                        <span class="nt">&lt;prop</span> <span class="na">key=</span><span class="s">"java.naming.factory.initial"</span><span class="nt">&gt;</span>weblogic.jndi.WLInitialContextFactory<span class="nt">&lt;/prop&gt;</span>
+                        <span class="nt">&lt;prop</span> <span class="na">key=</span><span class="s">"java.naming.provider.url"</span><span class="nt">&gt;</span>t3://<span class="nt">&lt;your</span> <span class="err">ip</span> <span class="err">here</span><span class="nt">&gt;</span>:7001<span class="nt">&lt;/prop&gt;</span>
+                <span class="nt">&lt;/props&gt;</span>
+        <span class="nt">&lt;/property&gt;</span>
+    <span class="nt">&lt;/bean&gt;</span>
+
+  <span class="nt">&lt;bean</span> <span class="na">id=</span><span class="s">"localFactory"</span>
+    <span class="na">class=</span><span class="s">"org.apache.activemq.ActiveMQConnectionFactory"</span><span class="nt">&gt;</span>
+    <span class="nt">&lt;property</span> <span class="na">name=</span><span class="s">"brokerURL"</span> <span class="na">value=</span><span class="s">"tcp://localhost:61616"</span> <span class="nt">/&gt;</span>
+  <span class="nt">&lt;/bean&gt;</span>
+
+  <span class="nt">&lt;bean</span> <span class="na">id=</span><span class="s">"localQueue"</span> <span class="na">class=</span><span class="s">"org.apache.activemq.command.ActiveMQQueue"</span><span class="nt">&gt;</span>
+    <span class="nt">&lt;constructor-arg</span> <span class="na">value=</span><span class="s">"dynamic/jms.queue.jreport.request"</span><span class="nt">/&gt;</span>
+  <span class="nt">&lt;/bean&gt;</span>
+<span class="nt">&lt;/beans&gt;</span>
+<span class="c">&lt;!-- END SNIPPET: xbean --&gt;</span>
 </code></pre></div></div>
 
 <h3 id="example-pure-spring-configuration-for-sending-messages-to-external-activemq-destination-through-bridge">Example pure Spring Configuration for sending messages to external ActiveMQ destination through bridge</h3>
 
 <p>Spring beans:</p>
-<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="cp">&lt;?xml version="1.0" encoding="UTF-8"?&gt;</span>
+<div class="language-xml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="cp">&lt;?xml version="1.0" encoding="UTF-8"?&gt;</span>
 <span class="cp">&lt;!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd"&gt;</span>
 
 <span class="nt">&lt;beans&gt;</span>
diff --git a/content/sjsas-with-genericjmsra.html b/content/sjsas-with-genericjmsra.html
index b0a6bec..fb0a90a 100644
--- a/content/sjsas-with-genericjmsra.html
+++ b/content/sjsas-with-genericjmsra.html
@@ -152,7 +152,7 @@ genericra.rar
 mymodules.jar
 </code></pre></div></div>
 <p>Inside the mymodules.jar (where I put my MDB), the sun-ejb-jar.xml should look like this:</p>
-<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="cp">&lt;?xml version="1.0" encoding="UTF-8"?&gt;</span>
+<div class="language-xml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="cp">&lt;?xml version="1.0" encoding="UTF-8"?&gt;</span>
 <span class="cp">&lt;!DOCTYPE sun-ejb-jar
   PUBLIC "-//Sun Microsystems, Inc.//DTD Application Server 8.1 EJB 2.1//EN"
     "http://www.sun.com/software/appserver/dtds/sun-ejb-jar\_2\_1-1.dtd"&gt;</span>
@@ -181,7 +181,7 @@ mymodules.jar
 <span class="nt">&lt;/sun-ejb-jar&gt;</span>
 </code></pre></div></div>
 <p>And the application.xml should look like this:</p>
-<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="cp">&lt;?xml version="1.0" encoding="UTF-8"?&gt;</span>
+<div class="language-xml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="cp">&lt;?xml version="1.0" encoding="UTF-8"?&gt;</span>
 <span class="nt">&lt;application</span>
     <span class="na">xmlns=</span><span class="s">"http://java.sun.com/xml/ns/javaee"</span>
     <span class="na">xmlns:xsi=</span><span class="s">"http://www.w3.org/2001/XMLSchema-instance"</span>
diff --git a/content/weblogic-integration.html b/content/weblogic-integration.html
index 3b7e6f4..d69acef 100644
--- a/content/weblogic-integration.html
+++ b/content/weblogic-integration.html
@@ -249,7 +249,7 @@ An ActiveMQ broker may be run within WebLogic to provide JMS features while avoi
 <p>ActiveMQ needs to start when the web application is deployed or started, and stop when the web application is stopped or undeployed. The easiest way to do this is to a use the commonly available Spring listeners, which start a Spring context, which can point ActiveMQ to an XBean configuration file, which starts ActiveMQ. A little roundabout, but it works well in practice with very little configuration.</p>
 
 <p><strong>J2EE WEB-INF/web.xml</strong></p>
-<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="cp">&lt;?xml version="1.0" encoding="UTF-8"?&gt;</span>
+<div class="language-xml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="cp">&lt;?xml version="1.0" encoding="UTF-8"?&gt;</span>
 
 <span class="nt">&lt;web-app</span> <span class="na">version=</span><span class="s">"2.4"</span>
          <span class="na">xmlns=</span><span class="s">"http://java.sun.com/xml/ns/j2ee"</span>
@@ -261,7 +261,7 @@ An ActiveMQ broker may be run within WebLogic to provide JMS features while avoi
 <span class="nt">&lt;/web-app&gt;</span>
 </code></pre></div></div>
 <p><strong>Spring WEB-INF/applicationContext.xml</strong></p>
-<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="cp">&lt;?xml version="1.0" encoding="UTF-8" ?&gt;</span>
+<div class="language-xml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="cp">&lt;?xml version="1.0" encoding="UTF-8" ?&gt;</span>
 <span class="cp">&lt;!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd"&gt;</span>
 <span class="nt">&lt;beans&gt;</span>
     <span class="nt">&lt;bean</span> <span class="na">id=</span><span class="s">"brokerService"</span> <span class="na">class=</span><span class="s">"org.apache.activemq.xbean.BrokerFactoryBean"</span><span class="nt">&gt;</span>
@@ -461,7 +461,7 @@ public class ActiveMQWebLogicAuthenticationFilter extends BrokerFilter {
 <p>It also shows a Log4J configuration file, which controls the ActiveMQ log output.</p>
 
 <p><strong>Single Broker</strong></p>
-<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="cp">&lt;?xml version="1.0" encoding="UTF-8"?&gt;</span>
+<div class="language-xml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="cp">&lt;?xml version="1.0" encoding="UTF-8"?&gt;</span>
 <span class="nt">&lt;beans</span> <span class="na">xmlns=</span><span class="s">"http://activemq.org/config/1.0"</span><span class="nt">&gt;</span>
   <span class="c">&lt;!-- Allows us to use system properties as variables in this configuration file --&gt;</span>
   <span class="nt">&lt;bean</span> <span class="na">class=</span><span class="s">"org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"</span><span class="nt">/&gt;</span>
@@ -516,7 +516,7 @@ public class ActiveMQWebLogicAuthenticationFilter extends BrokerFilter {
 </code></pre></div></div>
 
 <p><strong>Network of Brokers (Broker 1/2)</strong></p>
-<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="cp">&lt;?xml version="1.0" encoding="UTF-8"?&gt;</span>
+<div class="language-xml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="cp">&lt;?xml version="1.0" encoding="UTF-8"?&gt;</span>
 <span class="nt">&lt;beans</span> <span class="na">xmlns=</span><span class="s">"http://activemq.org/config/1.0"</span><span class="nt">&gt;</span>
   <span class="c">&lt;!-- Allows us to use system properties as variables in this configuration file --&gt;</span>
   <span class="nt">&lt;bean</span> <span class="na">class=</span><span class="s">"org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"</span><span class="nt">/&gt;</span>
@@ -577,7 +577,7 @@ public class ActiveMQWebLogicAuthenticationFilter extends BrokerFilter {
 </code></pre></div></div>
 
 <p><strong>Network of Brokers (Broker 2/2)</strong></p>
-<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="cp">&lt;?xml version="1.0" encoding="UTF-8"?&gt;</span>
+<div class="language-xml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="cp">&lt;?xml version="1.0" encoding="UTF-8"?&gt;</span>
 <span class="nt">&lt;beans</span> <span class="na">xmlns=</span><span class="s">"http://activemq.org/config/1.0"</span><span class="nt">&gt;</span>
   <span class="c">&lt;!-- Allows us to use system properties as variables in this configuration file --&gt;</span>
   <span class="nt">&lt;bean</span> <span class="na">class=</span><span class="s">"org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"</span><span class="nt">/&gt;</span>