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

svn commit: r383851 [18/31] - in /incubator/activemq/site: ./ rpc/

Modified: incubator/activemq/site/How+fast+is+ActiveMQ
URL: http://svn.apache.org/viewcvs/incubator/activemq/site/How%2Bfast%2Bis%2BActiveMQ?rev=383851&r1=383850&r2=383851&view=diff
==============================================================================
--- incubator/activemq/site/How+fast+is+ActiveMQ (original)
+++ incubator/activemq/site/How+fast+is+ActiveMQ Tue Mar  7 03:47:01 2006
@@ -1,21 +1,280 @@
-Server returned HTTP response code: 500 for URL: http://docs.codehaus.org/rpc/xmlrpc com.openxource.unity.providers.confluence.ConfluencePageProviderImpl.getPage(ConfluencePageProviderImpl.java:78)
- com.openxource.unity.beans.impl.UnityPageRendererImpl.getFragment(UnityPageRendererImpl.java:249)
- com.openxource.unity.beans.impl.UnityPageRendererImpl.renderPage(UnityPageRendererImpl.java:155)
- com.openxource.unity.servlets.ContentServlet.doGet(ContentServlet.java:69)
- javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
- javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
- org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
- org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
- org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
- org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
- org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
- org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
- org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
- org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
- org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199)
- org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282)
- org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:744)
- org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:674)
- org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:866)
- org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
- java.lang.Thread.run(Thread.java:595)
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
+<head profile="http://www.w3.org/2000/08/w3c-synd/#">
+    <link rel="stylesheet" href="/__unity__/styles/unity-blue.css" type="text/css"/>
+    <title>ActiveMQ - How fast is ActiveMQ</title>
+</head>
+
+<body>
+
+  <table id="ulayout">
+    <tr id="ulayout_top">
+      <td colspan="2" valign="bottom">
+        <table width="100%">
+          <tr id="utop">
+            <td id="utop_left">
+              <a href="http://www.codehaus.org/"><img src="/__unity__/images/logo.png" style="border: none;"/></a>
+            </td>
+            <td id="utop_right" style="text-align: right; vertical-align: middle;padding-right:10px;">
+              <a href="/"><img src="http://www.logicblaze.com/images/logos/products/ActiveMQ/ActiveMQ_logo_200.jpg" alt="ActiveMQ" class="spaceLogo" border="0"/></a>
+            </td>
+          </tr>
+          <tr>
+            <td colspan="2" id="uadvertising_top">
+            </td>
+          </tr>
+        </table>
+      </td>
+    </tr>
+    <tr>
+      <td colspan="2">
+        <table id="utop_nav">
+          <tr>
+            <td align="left" valign="middle">
+              <div id="ubreadcrumbs">
+                <p>
+                  <a href="/">Home</a>
+                                     		                  </p>
+              </div>
+            </td>
+            <td align="right" valign="middle">
+              <div id="uquicklinks">
+                                  <p><a href="/Download" title="Download">Download</a> | <span class="nobr"><a href="http://activemq.codehaus.org/maven/apidocs/">JavaDocs for 4.x</a></span> <span class="nobr"><a href="http://activemq.org/maven/activemq-3/activemq-core/apidocs/">3.x</a></span> | <a href="/Source" title="Source">Source</a> | <span class="nobr"><a href="http://docs.codehaus.org/pages/listpages.action?key=ACTIVEMQ">Wiki</a></span> |<span class="nobr"><a href="irc://irc.codehaus.org/activemq">IRC</a></span> | <span class="nobr"><a href="http://servlet.uwyn.com/drone/log/hausbot/activemq">IRC Log</a></span> | <a href="/Mailing+Lists" title="Mailing Lists">Mailing Lists</a> | <span class="nobr"><a href="http://forums.logicblaze.com/forums/show/1.page">Discussion Forum</a></span> | <span class="nobr"><a href="http://jira.logicblaze.com/jira/browse/AMQ">Support</a></span></p>
+                              </div>
+            </td>
+          </tr>
+        </table>
+      </td>
+    </tr>
+    <tr>
+      <td colspan="2"></td>
+    </tr>
+    <tr id="ulayout_middle">
+      <td id="uleft">
+        <div class="content">
+                      <div class="section_3"><h3><a name="Navigation-Overview"></a>Overview</h3>
+
+<ul class="alternate" type="square">
+	<li><a href="/Home" title="Home">Home</a></li>
+	<li><a href="/News" title="News">News</a></li>
+	<li><a href="/Changes+in+4.0" title="Changes in 4.0">New in 4.0</a></li>
+	<li><a href="/FAQ" title="FAQ">FAQ</a></li>
+	<li><a href="/Articles" title="Articles">Articles</a></li>
+	<li><a href="/Download" title="Download">Download</a></li>
+</ul>
+
+
+</div><div class="section_3"><h3><a name="Navigation-Community"></a>Community</h3>
+
+<ul class="alternate" type="square">
+	<li><span class="nobr"><a href="http://forums.logicblaze.com/forums/show/1.page">Discussion Forum</a></span></li>
+	<li><a href="/Mailing+Lists" title="Mailing Lists">Mailing Lists</a></li>
+	<li><span class="nobr"><a href="http://gmane.org/find.php?list=activemq">News Reader</a></span></li>
+	<li><span class="nobr"><a href="http://docs.codehaus.org/pages/listpages.action?key=ACTIVEMQ">Wiki</a></span></li>
+	<li><a href="/Projects+Using+ActiveMQ" title="Projects Using ActiveMQ">Projects Using ActiveMQ</a></li>
+	<li><a href="/Users" title="Users">Users</a></li>
+	<li><a href="/Contributing" title="Contributing">Contributing</a></li>
+	<li><a href="/Team" title="Team">Team</a></li>
+</ul>
+
+
+</div><div class="section_3"><h3><a name="Navigation-UsingActiveMQ"></a>Using ActiveMQ</h3>
+
+<ul class="alternate" type="square">
+	<li><a href="/Getting+Started" title="Getting Started">Getting Started</a></li>
+	<li><a href="/Initial+Configuration" title="Initial Configuration">Initial Configuration</a></li>
+	<li><a href="/Run+Broker" title="Run Broker">Running a Broker</a></li>
+	<li><a href="/Configuring+Transports" title="Configuring Transports">Configuring Transports</a></li>
+	<li><a href="/Examples" title="Examples">Examples</a></li>
+	<li><a href="/How+can+I+monitor+ActiveMQ" title="How can I monitor ActiveMQ">Monitoring the Broker</a></li>
+	<li><a href="/Xml+Configuration" title="Xml Configuration">Xml Configuration</a></li>
+	<li><a href="/Xml+Reference" title="Xml Reference">Xml Reference</a></li>
+	<li><a href="/Web+Samples" title="Web Samples">Web Samples</a></li>
+	<li><a href="/Hello+World" title="Hello World">Hello World</a></li>
+	<li><a href="/Use+Cases" title="Use Cases">Use Cases</a></li>
+	<li><a href="/Topologies" title="Topologies">Topologies</a></li>
+	<li><a href="/How+do+I+embed+a+Broker+inside+a+Connection" title="How do I embed a Broker inside a Connection">Embedded Brokers</a></li>
+	<li><a href="/JMeter+Performance+Tests" title="JMeter Performance Tests">Performance Testing</a></li>
+	<li><span class="nobr"><a href="http://docs.codehaus.org/x/yK4">Command Line Tools Reference</a></span></li>
+</ul>
+
+
+</div><div class="section_3"><h3><a name="Navigation-Features"></a>Features</h3>
+
+<ul class="alternate" type="square">
+	<li><a href="/JMX" title="JMX">JMX</a></li>
+	<li><a href="/Performance" title="Performance">Performance</a></li>
+	<li><a href="/Protocols" title="Protocols">Protocols</a></li>
+	<li><a href="/Persistence" title="Persistence">Persistence</a></li>
+	<li><a href="/JDBC+Support" title="JDBC Support">JDBC Support</a></li>
+	<li><a href="/Security" title="Security">Security</a></li>
+	<li><a href="/Interceptors" title="Interceptors">Interceptors</a></li>
+	<li><a href="/Clustering" title="Clustering">Clustering</a></li>
+	<li><a href="/Discovery" title="Discovery">Discovery</a></li>
+	<li><a href="/Composite+Destinations" title="Composite Destinations">Composite Destinations</a></li>
+	<li><a href="/JMS+Streams" title="JMS Streams">JMS Streams</a></li>
+	<li><a href="/Advisory+Message" title="Advisory Message">Advisory Message</a></li>
+	<li><a href="/Resource+Adapter" title="Resource Adapter">JCA 1.5 Resource Adapter</a></li>
+</ul>
+
+
+</div><div class="section_3"><h3><a name="Navigation-Featuresin4.x"></a>Features in 4.x</h3>
+
+<ul class="alternate" type="square">
+	<li><a href="/Message+Groups" title="Message Groups">Message Groups</a></li>
+	<li><a href="/MasterSlave" title="MasterSlave">MasterSlave</a></li>
+	<li><a href="/Networks+of+Brokers" title="Networks of Brokers">Networks of Brokers</a></li>
+	<li><a href="/Exclusive+Consumer" title="Exclusive Consumer">Exclusive Consumer</a></li>
+	<li><a href="/Total+Ordering" title="Total Ordering">Total Ordering</a></li>
+	<li><a href="/Consumer+Priority" title="Consumer Priority">Consumer Priority</a></li>
+	<li><a href="/Retroactive+Consumer" title="Retroactive Consumer">Retroactive Consumer</a></li>
+	<li><a href="/JMS+to+JMS+Bridge" title="JMS to JMS Bridge">JMS to JMS Bridge</a></li>
+	<li><a href="/Changes+in+4.0" title="Changes in 4.0">Other new features</a></li>
+</ul>
+
+
+</div><div class="section_3"><h3><a name="Navigation-Connectivitiy"></a>Connectivitiy</h3>
+
+<ul class="alternate" type="square">
+	<li><a href="/Ajax" title="Ajax">Ajax</a></li>
+	<li><a href="/Axis+Support" title="Axis Support">Axis Support</a></li>
+	<li><a href="/C+Integration" title="C Integration">C Integration</a></li>
+	<li><a href="/dot+Net" title="dot Net">.Net Integration</a></li>
+	<li><a href="/Geronimo" title="Geronimo">Geronimo</a></li>
+	<li><a href="/J2EE" title="J2EE">J2EE</a></li>
+	<li><a href="/JBoss+Integration" title="JBoss Integration">JBoss Integration</a></li>
+	<li><a href="/JNDI+Support" title="JNDI Support">JNDI Support</a></li>
+	<li><a href="/OpenWire" title="OpenWire">OpenWire</a></li>
+	<li><a href="/REST" title="REST">REST</a></li>
+	<li><a href="/Spring+Support" title="Spring Support">Spring Support</a></li>
+	<li><a href="/Stomp" title="Stomp">Stomp</a></li>
+	<li><a href="/Tomcat" title="Tomcat">Tomcat</a></li>
+	<li><a href="/WSIF" title="WSIF">WSIF</a></li>
+</ul>
+
+
+</div><div class="section_3"><h3><a name="Navigation-Utilities"></a>Utilities</h3>
+
+<ul class="alternate" type="square">
+	<li><a href="/JCA+Container" title="JCA Container">JCA Container</a></li>
+</ul>
+
+
+</div><div class="section_3"><h3><a name="Navigation-ExternalTools"></a>External Tools</h3>
+
+<ul class="alternate" type="square">
+	<li><a href="/Hermes+Jms" title="Hermes Jms">Hermes Jms</a></li>
+	<li><a href="/Sun+JNDI" title="Sun JNDI">Sun JNDI</a></li>
+	<li><span class="nobr"><a href="http://jakarta.apache.org/jmeter">JMeter</a></span></li>
+</ul>
+
+
+</div><div class="section_3"><h3><a name="Navigation-RelatedProjects"></a>Related Projects</h3>
+
+<ul class="alternate" type="square">
+	<li><span class="nobr"><a href="http://servicemix.org/">ServiceMix</a></span></li>
+	<li><span class="nobr"><a href="http://lingo.codehaus.org/">Lingo</a></span></li>
+	<li><span class="nobr"><a href="http://jencks.org/">Jencks</a></span></li>
+	<li><span class="nobr"><a href="http://stomp.codehaus.org/">Stomp</a></span></li>
+	<li><span class="nobr"><a href="http://activecluster.codehaus.org/">ActiveCluster</a></span></li>
+	<li><span class="nobr"><a href="http://activespace.codehaus.org/">ActiveSpace</a></span></li>
+	<li><span class="nobr"><a href="http://activesoap.codehaus.org/">ActiveSOAP</a></span></li>
+	<li><span class="nobr"><a href="http://www.springframework.org/">Spring</a></span></li>
+	<li><span class="nobr"><a href="http://geronimo.apache.org/">Geronimo</a></span></li>
+</ul>
+
+
+</div><div class="section_3"><h3><a name="Navigation-Support"></a>Support</h3>
+
+<ul class="alternate" type="square">
+	<li><span class="nobr"><a href="http://jira.logicblaze.com/jira/browse/AMQ">Issues</a></span></li>
+	<li><span class="nobr"><a href="http://jira.logicblaze.com/jira/browse/AMQ?report=com.atlassian.jira.plugin.system.project:roadmap-panel">Roadmap</a></span></li>
+	<li><span class="nobr"><a href="http://jira.logicblaze.com/jira/browse/AMQ?report=com.atlassian.jira.plugin.system.project:changelog-panel">Change log</a></span></li>
+</ul>
+
+
+</div><div class="section_3"><h3><a name="Navigation-Developers"></a>Developers</h3>
+
+<ul class="alternate" type="square">
+	<li><a href="/Source" title="Source">Source</a></li>
+	<li><a href="/Code+Overview" title="Code Overview">Code Overview</a></li>
+	<li><a href="/Wire+Protocol" title="Wire Protocol">Wire Protocol</a></li>
+	<li><a href="/ActiveMQ+4.0" title="ActiveMQ 4.0">ActiveMQ 4.0</a></li>
+	<li><a href="/Becoming+a+committer" title="Becoming a committer">Becoming a committer</a></li>
+	<li><a href="/Integration+Tests" title="Integration Tests">Integration Tests</a></li>
+	<li><a href="/Benchmark+Tests" title="Benchmark Tests">Benchmark Tests</a></li>
+	<li><a href="/JMeter+Performance+Tests" title="JMeter Performance Tests">JMeter Performance Tests</a></li>
+	<li><a href="/Release+Guide" title="Release Guide">Release Guide</a></li>
+	<li><a href="/JUnit+Reports" title="JUnit Reports">JUnit Reports</a></li>
+	<li><span class="nobr"><a href="http://activemq.codehaus.org/maven/clover/">Clover Report</a></span></li>
+	<li><a href="/Source+XRef" title="Source XRef">Source XRef</a></li>
+	<li><a href="/Test+Source+XRef" title="Test Source XRef">Test Source XRef</a></li>
+	<li><span class="nobr"><a href="http://activemq.codehaus.org/maven/activemq.xsd.html">XSD</a></span></li>
+</ul>
+
+
+</div><div class="section_3"><h3><a name="Navigation-Toolsweuse"></a>Tools we use</h3>
+
+<p><span class="nobr"><a href="http://www.yourkit.com"><img src="/download/attachments/23786/yourkit.jpg" align="absmiddle" border="0"/></a></span></p></div>
+          
+          <div class="section_3">
+            <h3>Feeds</h3>
+            <ul class="feedList">
+              <li><a class="rss" href="http://docs.codehaus.org/spaces/rss.action?key=ACTIVEMQ&amp;newPages=false">Site</a></li>
+              <li><a class="rss" href="http://docs.codehaus.org/spaces/blogrss.action?key=ACTIVEMQ">News</a></li>
+            </ul>
+          </div>
+        </div>
+      </td>
+      <td id="umain">
+        <div class="content">
+          <a href="/How+fast+is+ActiveMQ?print=1" style="float:right"><img src="http://www.codehaus.org/print.gif" class="print" alt="Print" border="0"/></a>
+          <div id="upage_title">How fast is ActiveMQ</div>
+          <div id="uads">
+
+<script type="text/javascript"><!--
+google_ad_client = "pub-3023399591478482";
+google_ad_width = 468;
+google_ad_height = 60;
+google_ad_format = "468x60_as";
+google_ad_type = "text_image";
+google_ad_channel = "7321085054"; //unity-top
+google_color_border = "FFFFFF";
+google_color_bg = "FFFFFF";
+google_color_link = "557755";
+google_color_url = "557755";
+google_color_text = "333333";
+//--></script>
+<center>
+<script type="text/javascript"
+  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
+</script>
+</center>
+
+          </div>
+          <p>It all depends on the configuration, the operating system, hardware, JVM, JVM configuration and what you're doing. For more details see <a href="/Performance" title="Performance">Performance</a></p>
+
+<div class="section_2"><h2><a name="HowfastisActiveMQ-Performancereport"></a>Performance report</h2>
+
+<p>We have a performance report comparing ActiveMQ against a number of other commercial and open source JMS providers. You can get the report <span class="nobr"><a href="http://logicblaze.com/product_information.jsp">here</a></span> alternatively if you'd like a copy of our performance report comparing ourselves against various other open source and commercial JMS providers please send an email to <b>dev at logicblaze.com</b>.</p>
+
+<p>If you're not convinced by performance reports - try running our open source <a href="/JMeter+Performance+Tests" title="JMeter Performance Tests">JMS performance benchmark</a> yourself.</p></div>
+        </div>
+</div>
+</td>
+    <tr>
+    <tr id="ulayout_bottom">
+      <td colspan="2" id="ufooter">
+        <div class="content">
+          <div class="copyright">Copyright 2003-2006. All rights reserved unless otherwise noted.</div>
+          <div class="credits">Powered by <a href="http://atlassian.com/">Atlassian</a>&nbsp;<a href="http://atlassian.com/confluence/">Confluence</a></div>
+          <div>
+            <a class="editPage" href="http://docs.codehaus.org/pages/editpage.action?spaceKey=ACTIVEMQ&amp;title=How+fast+is+ActiveMQ"><img src="http://www.codehaus.org/edit.gif" border="0">[&nbsp;edit&nbsp;]</a>
+          </div>
+        </div>
+      </td>
+    </tr>
+  </table>
+</html>

Modified: incubator/activemq/site/How+should+I+implement+request+response+with+JMS
URL: http://svn.apache.org/viewcvs/incubator/activemq/site/How%2Bshould%2BI%2Bimplement%2Brequest%2Bresponse%2Bwith%2BJMS?rev=383851&r1=383850&r2=383851&view=diff
==============================================================================
--- incubator/activemq/site/How+should+I+implement+request+response+with+JMS (original)
+++ incubator/activemq/site/How+should+I+implement+request+response+with+JMS Tue Mar  7 03:47:01 2006
@@ -1,21 +1,303 @@
-Server returned HTTP response code: 500 for URL: http://docs.codehaus.org/rpc/xmlrpc com.openxource.unity.providers.confluence.ConfluencePageProviderImpl.getPage(ConfluencePageProviderImpl.java:78)
- com.openxource.unity.beans.impl.UnityPageRendererImpl.getFragment(UnityPageRendererImpl.java:249)
- com.openxource.unity.beans.impl.UnityPageRendererImpl.renderPage(UnityPageRendererImpl.java:155)
- com.openxource.unity.servlets.ContentServlet.doGet(ContentServlet.java:69)
- javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
- javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
- org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
- org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
- org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
- org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
- org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
- org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
- org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
- org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
- org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199)
- org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282)
- org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:744)
- org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:674)
- org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:866)
- org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
- java.lang.Thread.run(Thread.java:595)
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
+<head profile="http://www.w3.org/2000/08/w3c-synd/#">
+    <link rel="stylesheet" href="/__unity__/styles/unity-blue.css" type="text/css"/>
+    <title>ActiveMQ - How should I implement request response with JMS</title>
+</head>
+
+<body>
+
+  <table id="ulayout">
+    <tr id="ulayout_top">
+      <td colspan="2" valign="bottom">
+        <table width="100%">
+          <tr id="utop">
+            <td id="utop_left">
+              <a href="http://www.codehaus.org/"><img src="/__unity__/images/logo.png" style="border: none;"/></a>
+            </td>
+            <td id="utop_right" style="text-align: right; vertical-align: middle;padding-right:10px;">
+              <a href="/"><img src="http://www.logicblaze.com/images/logos/products/ActiveMQ/ActiveMQ_logo_200.jpg" alt="ActiveMQ" class="spaceLogo" border="0"/></a>
+            </td>
+          </tr>
+          <tr>
+            <td colspan="2" id="uadvertising_top">
+            </td>
+          </tr>
+        </table>
+      </td>
+    </tr>
+    <tr>
+      <td colspan="2">
+        <table id="utop_nav">
+          <tr>
+            <td align="left" valign="middle">
+              <div id="ubreadcrumbs">
+                <p>
+                  <a href="/">Home</a>
+                                     		                  </p>
+              </div>
+            </td>
+            <td align="right" valign="middle">
+              <div id="uquicklinks">
+                                  <p><a href="/Download" title="Download">Download</a> | <span class="nobr"><a href="http://activemq.codehaus.org/maven/apidocs/">JavaDocs for 4.x</a></span> <span class="nobr"><a href="http://activemq.org/maven/activemq-3/activemq-core/apidocs/">3.x</a></span> | <a href="/Source" title="Source">Source</a> | <span class="nobr"><a href="http://docs.codehaus.org/pages/listpages.action?key=ACTIVEMQ">Wiki</a></span> |<span class="nobr"><a href="irc://irc.codehaus.org/activemq">IRC</a></span> | <span class="nobr"><a href="http://servlet.uwyn.com/drone/log/hausbot/activemq">IRC Log</a></span> | <a href="/Mailing+Lists" title="Mailing Lists">Mailing Lists</a> | <span class="nobr"><a href="http://forums.logicblaze.com/forums/show/1.page">Discussion Forum</a></span> | <span class="nobr"><a href="http://jira.logicblaze.com/jira/browse/AMQ">Support</a></span></p>
+                              </div>
+            </td>
+          </tr>
+        </table>
+      </td>
+    </tr>
+    <tr>
+      <td colspan="2"></td>
+    </tr>
+    <tr id="ulayout_middle">
+      <td id="uleft">
+        <div class="content">
+                      <div class="section_3"><h3><a name="Navigation-Overview"></a>Overview</h3>
+
+<ul class="alternate" type="square">
+	<li><a href="/Home" title="Home">Home</a></li>
+	<li><a href="/News" title="News">News</a></li>
+	<li><a href="/Changes+in+4.0" title="Changes in 4.0">New in 4.0</a></li>
+	<li><a href="/FAQ" title="FAQ">FAQ</a></li>
+	<li><a href="/Articles" title="Articles">Articles</a></li>
+	<li><a href="/Download" title="Download">Download</a></li>
+</ul>
+
+
+</div><div class="section_3"><h3><a name="Navigation-Community"></a>Community</h3>
+
+<ul class="alternate" type="square">
+	<li><span class="nobr"><a href="http://forums.logicblaze.com/forums/show/1.page">Discussion Forum</a></span></li>
+	<li><a href="/Mailing+Lists" title="Mailing Lists">Mailing Lists</a></li>
+	<li><span class="nobr"><a href="http://gmane.org/find.php?list=activemq">News Reader</a></span></li>
+	<li><span class="nobr"><a href="http://docs.codehaus.org/pages/listpages.action?key=ACTIVEMQ">Wiki</a></span></li>
+	<li><a href="/Projects+Using+ActiveMQ" title="Projects Using ActiveMQ">Projects Using ActiveMQ</a></li>
+	<li><a href="/Users" title="Users">Users</a></li>
+	<li><a href="/Contributing" title="Contributing">Contributing</a></li>
+	<li><a href="/Team" title="Team">Team</a></li>
+</ul>
+
+
+</div><div class="section_3"><h3><a name="Navigation-UsingActiveMQ"></a>Using ActiveMQ</h3>
+
+<ul class="alternate" type="square">
+	<li><a href="/Getting+Started" title="Getting Started">Getting Started</a></li>
+	<li><a href="/Initial+Configuration" title="Initial Configuration">Initial Configuration</a></li>
+	<li><a href="/Run+Broker" title="Run Broker">Running a Broker</a></li>
+	<li><a href="/Configuring+Transports" title="Configuring Transports">Configuring Transports</a></li>
+	<li><a href="/Examples" title="Examples">Examples</a></li>
+	<li><a href="/How+can+I+monitor+ActiveMQ" title="How can I monitor ActiveMQ">Monitoring the Broker</a></li>
+	<li><a href="/Xml+Configuration" title="Xml Configuration">Xml Configuration</a></li>
+	<li><a href="/Xml+Reference" title="Xml Reference">Xml Reference</a></li>
+	<li><a href="/Web+Samples" title="Web Samples">Web Samples</a></li>
+	<li><a href="/Hello+World" title="Hello World">Hello World</a></li>
+	<li><a href="/Use+Cases" title="Use Cases">Use Cases</a></li>
+	<li><a href="/Topologies" title="Topologies">Topologies</a></li>
+	<li><a href="/How+do+I+embed+a+Broker+inside+a+Connection" title="How do I embed a Broker inside a Connection">Embedded Brokers</a></li>
+	<li><a href="/JMeter+Performance+Tests" title="JMeter Performance Tests">Performance Testing</a></li>
+	<li><span class="nobr"><a href="http://docs.codehaus.org/x/yK4">Command Line Tools Reference</a></span></li>
+</ul>
+
+
+</div><div class="section_3"><h3><a name="Navigation-Features"></a>Features</h3>
+
+<ul class="alternate" type="square">
+	<li><a href="/JMX" title="JMX">JMX</a></li>
+	<li><a href="/Performance" title="Performance">Performance</a></li>
+	<li><a href="/Protocols" title="Protocols">Protocols</a></li>
+	<li><a href="/Persistence" title="Persistence">Persistence</a></li>
+	<li><a href="/JDBC+Support" title="JDBC Support">JDBC Support</a></li>
+	<li><a href="/Security" title="Security">Security</a></li>
+	<li><a href="/Interceptors" title="Interceptors">Interceptors</a></li>
+	<li><a href="/Clustering" title="Clustering">Clustering</a></li>
+	<li><a href="/Discovery" title="Discovery">Discovery</a></li>
+	<li><a href="/Composite+Destinations" title="Composite Destinations">Composite Destinations</a></li>
+	<li><a href="/JMS+Streams" title="JMS Streams">JMS Streams</a></li>
+	<li><a href="/Advisory+Message" title="Advisory Message">Advisory Message</a></li>
+	<li><a href="/Resource+Adapter" title="Resource Adapter">JCA 1.5 Resource Adapter</a></li>
+</ul>
+
+
+</div><div class="section_3"><h3><a name="Navigation-Featuresin4.x"></a>Features in 4.x</h3>
+
+<ul class="alternate" type="square">
+	<li><a href="/Message+Groups" title="Message Groups">Message Groups</a></li>
+	<li><a href="/MasterSlave" title="MasterSlave">MasterSlave</a></li>
+	<li><a href="/Networks+of+Brokers" title="Networks of Brokers">Networks of Brokers</a></li>
+	<li><a href="/Exclusive+Consumer" title="Exclusive Consumer">Exclusive Consumer</a></li>
+	<li><a href="/Total+Ordering" title="Total Ordering">Total Ordering</a></li>
+	<li><a href="/Consumer+Priority" title="Consumer Priority">Consumer Priority</a></li>
+	<li><a href="/Retroactive+Consumer" title="Retroactive Consumer">Retroactive Consumer</a></li>
+	<li><a href="/JMS+to+JMS+Bridge" title="JMS to JMS Bridge">JMS to JMS Bridge</a></li>
+	<li><a href="/Changes+in+4.0" title="Changes in 4.0">Other new features</a></li>
+</ul>
+
+
+</div><div class="section_3"><h3><a name="Navigation-Connectivitiy"></a>Connectivitiy</h3>
+
+<ul class="alternate" type="square">
+	<li><a href="/Ajax" title="Ajax">Ajax</a></li>
+	<li><a href="/Axis+Support" title="Axis Support">Axis Support</a></li>
+	<li><a href="/C+Integration" title="C Integration">C Integration</a></li>
+	<li><a href="/dot+Net" title="dot Net">.Net Integration</a></li>
+	<li><a href="/Geronimo" title="Geronimo">Geronimo</a></li>
+	<li><a href="/J2EE" title="J2EE">J2EE</a></li>
+	<li><a href="/JBoss+Integration" title="JBoss Integration">JBoss Integration</a></li>
+	<li><a href="/JNDI+Support" title="JNDI Support">JNDI Support</a></li>
+	<li><a href="/OpenWire" title="OpenWire">OpenWire</a></li>
+	<li><a href="/REST" title="REST">REST</a></li>
+	<li><a href="/Spring+Support" title="Spring Support">Spring Support</a></li>
+	<li><a href="/Stomp" title="Stomp">Stomp</a></li>
+	<li><a href="/Tomcat" title="Tomcat">Tomcat</a></li>
+	<li><a href="/WSIF" title="WSIF">WSIF</a></li>
+</ul>
+
+
+</div><div class="section_3"><h3><a name="Navigation-Utilities"></a>Utilities</h3>
+
+<ul class="alternate" type="square">
+	<li><a href="/JCA+Container" title="JCA Container">JCA Container</a></li>
+</ul>
+
+
+</div><div class="section_3"><h3><a name="Navigation-ExternalTools"></a>External Tools</h3>
+
+<ul class="alternate" type="square">
+	<li><a href="/Hermes+Jms" title="Hermes Jms">Hermes Jms</a></li>
+	<li><a href="/Sun+JNDI" title="Sun JNDI">Sun JNDI</a></li>
+	<li><span class="nobr"><a href="http://jakarta.apache.org/jmeter">JMeter</a></span></li>
+</ul>
+
+
+</div><div class="section_3"><h3><a name="Navigation-RelatedProjects"></a>Related Projects</h3>
+
+<ul class="alternate" type="square">
+	<li><span class="nobr"><a href="http://servicemix.org/">ServiceMix</a></span></li>
+	<li><span class="nobr"><a href="http://lingo.codehaus.org/">Lingo</a></span></li>
+	<li><span class="nobr"><a href="http://jencks.org/">Jencks</a></span></li>
+	<li><span class="nobr"><a href="http://stomp.codehaus.org/">Stomp</a></span></li>
+	<li><span class="nobr"><a href="http://activecluster.codehaus.org/">ActiveCluster</a></span></li>
+	<li><span class="nobr"><a href="http://activespace.codehaus.org/">ActiveSpace</a></span></li>
+	<li><span class="nobr"><a href="http://activesoap.codehaus.org/">ActiveSOAP</a></span></li>
+	<li><span class="nobr"><a href="http://www.springframework.org/">Spring</a></span></li>
+	<li><span class="nobr"><a href="http://geronimo.apache.org/">Geronimo</a></span></li>
+</ul>
+
+
+</div><div class="section_3"><h3><a name="Navigation-Support"></a>Support</h3>
+
+<ul class="alternate" type="square">
+	<li><span class="nobr"><a href="http://jira.logicblaze.com/jira/browse/AMQ">Issues</a></span></li>
+	<li><span class="nobr"><a href="http://jira.logicblaze.com/jira/browse/AMQ?report=com.atlassian.jira.plugin.system.project:roadmap-panel">Roadmap</a></span></li>
+	<li><span class="nobr"><a href="http://jira.logicblaze.com/jira/browse/AMQ?report=com.atlassian.jira.plugin.system.project:changelog-panel">Change log</a></span></li>
+</ul>
+
+
+</div><div class="section_3"><h3><a name="Navigation-Developers"></a>Developers</h3>
+
+<ul class="alternate" type="square">
+	<li><a href="/Source" title="Source">Source</a></li>
+	<li><a href="/Code+Overview" title="Code Overview">Code Overview</a></li>
+	<li><a href="/Wire+Protocol" title="Wire Protocol">Wire Protocol</a></li>
+	<li><a href="/ActiveMQ+4.0" title="ActiveMQ 4.0">ActiveMQ 4.0</a></li>
+	<li><a href="/Becoming+a+committer" title="Becoming a committer">Becoming a committer</a></li>
+	<li><a href="/Integration+Tests" title="Integration Tests">Integration Tests</a></li>
+	<li><a href="/Benchmark+Tests" title="Benchmark Tests">Benchmark Tests</a></li>
+	<li><a href="/JMeter+Performance+Tests" title="JMeter Performance Tests">JMeter Performance Tests</a></li>
+	<li><a href="/Release+Guide" title="Release Guide">Release Guide</a></li>
+	<li><a href="/JUnit+Reports" title="JUnit Reports">JUnit Reports</a></li>
+	<li><span class="nobr"><a href="http://activemq.codehaus.org/maven/clover/">Clover Report</a></span></li>
+	<li><a href="/Source+XRef" title="Source XRef">Source XRef</a></li>
+	<li><a href="/Test+Source+XRef" title="Test Source XRef">Test Source XRef</a></li>
+	<li><span class="nobr"><a href="http://activemq.codehaus.org/maven/activemq.xsd.html">XSD</a></span></li>
+</ul>
+
+
+</div><div class="section_3"><h3><a name="Navigation-Toolsweuse"></a>Tools we use</h3>
+
+<p><span class="nobr"><a href="http://www.yourkit.com"><img src="/download/attachments/23786/yourkit.jpg" align="absmiddle" border="0"/></a></span></p></div>
+          
+          <div class="section_3">
+            <h3>Feeds</h3>
+            <ul class="feedList">
+              <li><a class="rss" href="http://docs.codehaus.org/spaces/rss.action?key=ACTIVEMQ&amp;newPages=false">Site</a></li>
+              <li><a class="rss" href="http://docs.codehaus.org/spaces/blogrss.action?key=ACTIVEMQ">News</a></li>
+            </ul>
+          </div>
+        </div>
+      </td>
+      <td id="umain">
+        <div class="content">
+          <a href="/How+should+I+implement+request+response+with+JMS?print=1" style="float:right"><img src="http://www.codehaus.org/print.gif" class="print" alt="Print" border="0"/></a>
+          <div id="upage_title">How should I implement request response with JMS</div>
+          <div id="uads">
+
+<script type="text/javascript"><!--
+google_ad_client = "pub-3023399591478482";
+google_ad_width = 468;
+google_ad_height = 60;
+google_ad_format = "468x60_as";
+google_ad_type = "text_image";
+google_ad_channel = "7321085054"; //unity-top
+google_color_border = "FFFFFF";
+google_color_bg = "FFFFFF";
+google_color_link = "557755";
+google_color_url = "557755";
+google_color_text = "333333";
+//--></script>
+<center>
+<script type="text/javascript"
+  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
+</script>
+</center>
+
+          </div>
+          <p>You might think at first that to implement request-response type operations in JMS that you should create a new consumer with a selector per request; or maybe create a new temporary queue per request.</p>
+
+<p>Creating temporary destinations, consumers, producers and connections are all synchronous request-response operations with the broker and so should be avoided for processing each request as it results in lots of chat with the JMS broker.</p>
+
+<p>The best way to implement request-response over JMS is to create a temporary queue and consumer per client on startup, set JMSReplyTo property on each message to the temporary queue and then use a <span class="nobr"><a href="http://java.sun.com/j2ee/1.4/docs/api/javax/jms/Message.html#setJMSCorrelationID(java.lang.String)">correlationID on each message</a></span> to correlate request messages to response messages. This avoids the overhead of creating and closing a consumer for each request (which is expensive). It also means you can share the same producer &amp; consumer across many threads if you want (or pool them maybe).</p>
+
+<p>The <span class="nobr"><a href="http://lingo.codehaus.org/">Lingo library</a></span> is an implementation of Spring remoting using JMS. (Spring remoting is a kind of POJO based remoting where the remoting code is invisible to your business logic code).</p>
+
+<p>It uses exactly this pattern; of using correlation IDs to correlate requests to responses. The server side just has to remember to put the inbound message's correlation ID on the response.</p>
+
+<p>The actual class which does this is the <span class="nobr"><a href="http://lingo.codehaus.org/maven/apidocs/org/logicblaze/lingo/jms/impl/MultiplexingRequestor.html">MultiplexingRequestor</a></span> . It may be just using Spring remoting with Lingo is the simplest way of implementing request response - or maybe you could just use Lingo's <span class="nobr"><a href="http://lingo.codehaus.org/maven/apidocs/org/logicblaze/lingo/jms/Requestor.html">Requestor</a></span> interface to keep the JMS semantics.</p>
+
+<p>More details <span class="nobr"><a href="http://lingo.codehaus.org/Request+Response+with+JMS">here</a></span></p>
+        </div>
+<div style="text-align: center; width: 100%; padding-top: 1cm;padding-bottom: 1cm">
+<script type="text/javascript"><!--
+google_ad_client = "pub-3023399591478482";
+google_ad_width = 468;
+google_ad_height = 60;
+google_ad_format = "468x60_as";
+google_ad_type = "text_image";
+google_ad_channel ="9744516269";
+google_color_border = "FFFFFF";
+google_color_bg = "FFFFFF";
+google_color_link = "557755";
+google_color_url = "557755";
+google_color_text = "333333";
+//--></script>
+<script type="text/javascript"
+  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
+</script>
+</div>
+</td>
+    <tr>
+    <tr id="ulayout_bottom">
+      <td colspan="2" id="ufooter">
+        <div class="content">
+          <div class="copyright">Copyright 2003-2006. All rights reserved unless otherwise noted.</div>
+          <div class="credits">Powered by <a href="http://atlassian.com/">Atlassian</a>&nbsp;<a href="http://atlassian.com/confluence/">Confluence</a></div>
+          <div>
+            <a class="editPage" href="http://docs.codehaus.org/pages/editpage.action?spaceKey=ACTIVEMQ&amp;title=How+should+I+implement+request+response+with+JMS"><img src="http://www.codehaus.org/edit.gif" border="0">[&nbsp;edit&nbsp;]</a>
+          </div>
+        </div>
+      </td>
+    </tr>
+  </table>
+</html>

Modified: incubator/activemq/site/How+should+I+use+the+VM+transport
URL: http://svn.apache.org/viewcvs/incubator/activemq/site/How%2Bshould%2BI%2Buse%2Bthe%2BVM%2Btransport?rev=383851&r1=383850&r2=383851&view=diff
==============================================================================
--- incubator/activemq/site/How+should+I+use+the+VM+transport (original)
+++ incubator/activemq/site/How+should+I+use+the+VM+transport Tue Mar  7 03:47:01 2006
@@ -1,21 +1,321 @@
-Server returned HTTP response code: 500 for URL: http://docs.codehaus.org/rpc/xmlrpc com.openxource.unity.providers.confluence.ConfluencePageProviderImpl.getPage(ConfluencePageProviderImpl.java:78)
- com.openxource.unity.beans.impl.UnityPageRendererImpl.getFragment(UnityPageRendererImpl.java:249)
- com.openxource.unity.beans.impl.UnityPageRendererImpl.renderPage(UnityPageRendererImpl.java:155)
- com.openxource.unity.servlets.ContentServlet.doGet(ContentServlet.java:69)
- javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
- javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
- org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
- org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
- org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
- org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
- org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
- org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
- org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
- org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
- org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199)
- org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282)
- org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:744)
- org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:674)
- org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:866)
- org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
- java.lang.Thread.run(Thread.java:595)
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
+<head profile="http://www.w3.org/2000/08/w3c-synd/#">
+    <link rel="stylesheet" href="/__unity__/styles/unity-blue.css" type="text/css"/>
+    <title>ActiveMQ - How should I use the VM transport</title>
+</head>
+
+<body>
+
+  <table id="ulayout">
+    <tr id="ulayout_top">
+      <td colspan="2" valign="bottom">
+        <table width="100%">
+          <tr id="utop">
+            <td id="utop_left">
+              <a href="http://www.codehaus.org/"><img src="/__unity__/images/logo.png" style="border: none;"/></a>
+            </td>
+            <td id="utop_right" style="text-align: right; vertical-align: middle;padding-right:10px;">
+              <a href="/"><img src="http://www.logicblaze.com/images/logos/products/ActiveMQ/ActiveMQ_logo_200.jpg" alt="ActiveMQ" class="spaceLogo" border="0"/></a>
+            </td>
+          </tr>
+          <tr>
+            <td colspan="2" id="uadvertising_top">
+            </td>
+          </tr>
+        </table>
+      </td>
+    </tr>
+    <tr>
+      <td colspan="2">
+        <table id="utop_nav">
+          <tr>
+            <td align="left" valign="middle">
+              <div id="ubreadcrumbs">
+                <p>
+                  <a href="/">Home</a>
+                                     		                  </p>
+              </div>
+            </td>
+            <td align="right" valign="middle">
+              <div id="uquicklinks">
+                                  <p><a href="/Download" title="Download">Download</a> | <span class="nobr"><a href="http://activemq.codehaus.org/maven/apidocs/">JavaDocs for 4.x</a></span> <span class="nobr"><a href="http://activemq.org/maven/activemq-3/activemq-core/apidocs/">3.x</a></span> | <a href="/Source" title="Source">Source</a> | <span class="nobr"><a href="http://docs.codehaus.org/pages/listpages.action?key=ACTIVEMQ">Wiki</a></span> |<span class="nobr"><a href="irc://irc.codehaus.org/activemq">IRC</a></span> | <span class="nobr"><a href="http://servlet.uwyn.com/drone/log/hausbot/activemq">IRC Log</a></span> | <a href="/Mailing+Lists" title="Mailing Lists">Mailing Lists</a> | <span class="nobr"><a href="http://forums.logicblaze.com/forums/show/1.page">Discussion Forum</a></span> | <span class="nobr"><a href="http://jira.logicblaze.com/jira/browse/AMQ">Support</a></span></p>
+                              </div>
+            </td>
+          </tr>
+        </table>
+      </td>
+    </tr>
+    <tr>
+      <td colspan="2"></td>
+    </tr>
+    <tr id="ulayout_middle">
+      <td id="uleft">
+        <div class="content">
+                      <div class="section_3"><h3><a name="Navigation-Overview"></a>Overview</h3>
+
+<ul class="alternate" type="square">
+	<li><a href="/Home" title="Home">Home</a></li>
+	<li><a href="/News" title="News">News</a></li>
+	<li><a href="/Changes+in+4.0" title="Changes in 4.0">New in 4.0</a></li>
+	<li><a href="/FAQ" title="FAQ">FAQ</a></li>
+	<li><a href="/Articles" title="Articles">Articles</a></li>
+	<li><a href="/Download" title="Download">Download</a></li>
+</ul>
+
+
+</div><div class="section_3"><h3><a name="Navigation-Community"></a>Community</h3>
+
+<ul class="alternate" type="square">
+	<li><span class="nobr"><a href="http://forums.logicblaze.com/forums/show/1.page">Discussion Forum</a></span></li>
+	<li><a href="/Mailing+Lists" title="Mailing Lists">Mailing Lists</a></li>
+	<li><span class="nobr"><a href="http://gmane.org/find.php?list=activemq">News Reader</a></span></li>
+	<li><span class="nobr"><a href="http://docs.codehaus.org/pages/listpages.action?key=ACTIVEMQ">Wiki</a></span></li>
+	<li><a href="/Projects+Using+ActiveMQ" title="Projects Using ActiveMQ">Projects Using ActiveMQ</a></li>
+	<li><a href="/Users" title="Users">Users</a></li>
+	<li><a href="/Contributing" title="Contributing">Contributing</a></li>
+	<li><a href="/Team" title="Team">Team</a></li>
+</ul>
+
+
+</div><div class="section_3"><h3><a name="Navigation-UsingActiveMQ"></a>Using ActiveMQ</h3>
+
+<ul class="alternate" type="square">
+	<li><a href="/Getting+Started" title="Getting Started">Getting Started</a></li>
+	<li><a href="/Initial+Configuration" title="Initial Configuration">Initial Configuration</a></li>
+	<li><a href="/Run+Broker" title="Run Broker">Running a Broker</a></li>
+	<li><a href="/Configuring+Transports" title="Configuring Transports">Configuring Transports</a></li>
+	<li><a href="/Examples" title="Examples">Examples</a></li>
+	<li><a href="/How+can+I+monitor+ActiveMQ" title="How can I monitor ActiveMQ">Monitoring the Broker</a></li>
+	<li><a href="/Xml+Configuration" title="Xml Configuration">Xml Configuration</a></li>
+	<li><a href="/Xml+Reference" title="Xml Reference">Xml Reference</a></li>
+	<li><a href="/Web+Samples" title="Web Samples">Web Samples</a></li>
+	<li><a href="/Hello+World" title="Hello World">Hello World</a></li>
+	<li><a href="/Use+Cases" title="Use Cases">Use Cases</a></li>
+	<li><a href="/Topologies" title="Topologies">Topologies</a></li>
+	<li><a href="/How+do+I+embed+a+Broker+inside+a+Connection" title="How do I embed a Broker inside a Connection">Embedded Brokers</a></li>
+	<li><a href="/JMeter+Performance+Tests" title="JMeter Performance Tests">Performance Testing</a></li>
+	<li><span class="nobr"><a href="http://docs.codehaus.org/x/yK4">Command Line Tools Reference</a></span></li>
+</ul>
+
+
+</div><div class="section_3"><h3><a name="Navigation-Features"></a>Features</h3>
+
+<ul class="alternate" type="square">
+	<li><a href="/JMX" title="JMX">JMX</a></li>
+	<li><a href="/Performance" title="Performance">Performance</a></li>
+	<li><a href="/Protocols" title="Protocols">Protocols</a></li>
+	<li><a href="/Persistence" title="Persistence">Persistence</a></li>
+	<li><a href="/JDBC+Support" title="JDBC Support">JDBC Support</a></li>
+	<li><a href="/Security" title="Security">Security</a></li>
+	<li><a href="/Interceptors" title="Interceptors">Interceptors</a></li>
+	<li><a href="/Clustering" title="Clustering">Clustering</a></li>
+	<li><a href="/Discovery" title="Discovery">Discovery</a></li>
+	<li><a href="/Composite+Destinations" title="Composite Destinations">Composite Destinations</a></li>
+	<li><a href="/JMS+Streams" title="JMS Streams">JMS Streams</a></li>
+	<li><a href="/Advisory+Message" title="Advisory Message">Advisory Message</a></li>
+	<li><a href="/Resource+Adapter" title="Resource Adapter">JCA 1.5 Resource Adapter</a></li>
+</ul>
+
+
+</div><div class="section_3"><h3><a name="Navigation-Featuresin4.x"></a>Features in 4.x</h3>
+
+<ul class="alternate" type="square">
+	<li><a href="/Message+Groups" title="Message Groups">Message Groups</a></li>
+	<li><a href="/MasterSlave" title="MasterSlave">MasterSlave</a></li>
+	<li><a href="/Networks+of+Brokers" title="Networks of Brokers">Networks of Brokers</a></li>
+	<li><a href="/Exclusive+Consumer" title="Exclusive Consumer">Exclusive Consumer</a></li>
+	<li><a href="/Total+Ordering" title="Total Ordering">Total Ordering</a></li>
+	<li><a href="/Consumer+Priority" title="Consumer Priority">Consumer Priority</a></li>
+	<li><a href="/Retroactive+Consumer" title="Retroactive Consumer">Retroactive Consumer</a></li>
+	<li><a href="/JMS+to+JMS+Bridge" title="JMS to JMS Bridge">JMS to JMS Bridge</a></li>
+	<li><a href="/Changes+in+4.0" title="Changes in 4.0">Other new features</a></li>
+</ul>
+
+
+</div><div class="section_3"><h3><a name="Navigation-Connectivitiy"></a>Connectivitiy</h3>
+
+<ul class="alternate" type="square">
+	<li><a href="/Ajax" title="Ajax">Ajax</a></li>
+	<li><a href="/Axis+Support" title="Axis Support">Axis Support</a></li>
+	<li><a href="/C+Integration" title="C Integration">C Integration</a></li>
+	<li><a href="/dot+Net" title="dot Net">.Net Integration</a></li>
+	<li><a href="/Geronimo" title="Geronimo">Geronimo</a></li>
+	<li><a href="/J2EE" title="J2EE">J2EE</a></li>
+	<li><a href="/JBoss+Integration" title="JBoss Integration">JBoss Integration</a></li>
+	<li><a href="/JNDI+Support" title="JNDI Support">JNDI Support</a></li>
+	<li><a href="/OpenWire" title="OpenWire">OpenWire</a></li>
+	<li><a href="/REST" title="REST">REST</a></li>
+	<li><a href="/Spring+Support" title="Spring Support">Spring Support</a></li>
+	<li><a href="/Stomp" title="Stomp">Stomp</a></li>
+	<li><a href="/Tomcat" title="Tomcat">Tomcat</a></li>
+	<li><a href="/WSIF" title="WSIF">WSIF</a></li>
+</ul>
+
+
+</div><div class="section_3"><h3><a name="Navigation-Utilities"></a>Utilities</h3>
+
+<ul class="alternate" type="square">
+	<li><a href="/JCA+Container" title="JCA Container">JCA Container</a></li>
+</ul>
+
+
+</div><div class="section_3"><h3><a name="Navigation-ExternalTools"></a>External Tools</h3>
+
+<ul class="alternate" type="square">
+	<li><a href="/Hermes+Jms" title="Hermes Jms">Hermes Jms</a></li>
+	<li><a href="/Sun+JNDI" title="Sun JNDI">Sun JNDI</a></li>
+	<li><span class="nobr"><a href="http://jakarta.apache.org/jmeter">JMeter</a></span></li>
+</ul>
+
+
+</div><div class="section_3"><h3><a name="Navigation-RelatedProjects"></a>Related Projects</h3>
+
+<ul class="alternate" type="square">
+	<li><span class="nobr"><a href="http://servicemix.org/">ServiceMix</a></span></li>
+	<li><span class="nobr"><a href="http://lingo.codehaus.org/">Lingo</a></span></li>
+	<li><span class="nobr"><a href="http://jencks.org/">Jencks</a></span></li>
+	<li><span class="nobr"><a href="http://stomp.codehaus.org/">Stomp</a></span></li>
+	<li><span class="nobr"><a href="http://activecluster.codehaus.org/">ActiveCluster</a></span></li>
+	<li><span class="nobr"><a href="http://activespace.codehaus.org/">ActiveSpace</a></span></li>
+	<li><span class="nobr"><a href="http://activesoap.codehaus.org/">ActiveSOAP</a></span></li>
+	<li><span class="nobr"><a href="http://www.springframework.org/">Spring</a></span></li>
+	<li><span class="nobr"><a href="http://geronimo.apache.org/">Geronimo</a></span></li>
+</ul>
+
+
+</div><div class="section_3"><h3><a name="Navigation-Support"></a>Support</h3>
+
+<ul class="alternate" type="square">
+	<li><span class="nobr"><a href="http://jira.logicblaze.com/jira/browse/AMQ">Issues</a></span></li>
+	<li><span class="nobr"><a href="http://jira.logicblaze.com/jira/browse/AMQ?report=com.atlassian.jira.plugin.system.project:roadmap-panel">Roadmap</a></span></li>
+	<li><span class="nobr"><a href="http://jira.logicblaze.com/jira/browse/AMQ?report=com.atlassian.jira.plugin.system.project:changelog-panel">Change log</a></span></li>
+</ul>
+
+
+</div><div class="section_3"><h3><a name="Navigation-Developers"></a>Developers</h3>
+
+<ul class="alternate" type="square">
+	<li><a href="/Source" title="Source">Source</a></li>
+	<li><a href="/Code+Overview" title="Code Overview">Code Overview</a></li>
+	<li><a href="/Wire+Protocol" title="Wire Protocol">Wire Protocol</a></li>
+	<li><a href="/ActiveMQ+4.0" title="ActiveMQ 4.0">ActiveMQ 4.0</a></li>
+	<li><a href="/Becoming+a+committer" title="Becoming a committer">Becoming a committer</a></li>
+	<li><a href="/Integration+Tests" title="Integration Tests">Integration Tests</a></li>
+	<li><a href="/Benchmark+Tests" title="Benchmark Tests">Benchmark Tests</a></li>
+	<li><a href="/JMeter+Performance+Tests" title="JMeter Performance Tests">JMeter Performance Tests</a></li>
+	<li><a href="/Release+Guide" title="Release Guide">Release Guide</a></li>
+	<li><a href="/JUnit+Reports" title="JUnit Reports">JUnit Reports</a></li>
+	<li><span class="nobr"><a href="http://activemq.codehaus.org/maven/clover/">Clover Report</a></span></li>
+	<li><a href="/Source+XRef" title="Source XRef">Source XRef</a></li>
+	<li><a href="/Test+Source+XRef" title="Test Source XRef">Test Source XRef</a></li>
+	<li><span class="nobr"><a href="http://activemq.codehaus.org/maven/activemq.xsd.html">XSD</a></span></li>
+</ul>
+
+
+</div><div class="section_3"><h3><a name="Navigation-Toolsweuse"></a>Tools we use</h3>
+
+<p><span class="nobr"><a href="http://www.yourkit.com"><img src="/download/attachments/23786/yourkit.jpg" align="absmiddle" border="0"/></a></span></p></div>
+          
+          <div class="section_3">
+            <h3>Feeds</h3>
+            <ul class="feedList">
+              <li><a class="rss" href="http://docs.codehaus.org/spaces/rss.action?key=ACTIVEMQ&amp;newPages=false">Site</a></li>
+              <li><a class="rss" href="http://docs.codehaus.org/spaces/blogrss.action?key=ACTIVEMQ">News</a></li>
+            </ul>
+          </div>
+        </div>
+      </td>
+      <td id="umain">
+        <div class="content">
+          <a href="/How+should+I+use+the+VM+transport?print=1" style="float:right"><img src="http://www.codehaus.org/print.gif" class="print" alt="Print" border="0"/></a>
+          <div id="upage_title">How should I use the VM transport</div>
+          <div id="uads">
+
+<script type="text/javascript"><!--
+google_ad_client = "pub-3023399591478482";
+google_ad_width = 468;
+google_ad_height = 60;
+google_ad_format = "468x60_as";
+google_ad_type = "text_image";
+google_ad_channel = "7321085054"; //unity-top
+google_color_border = "FFFFFF";
+google_color_bg = "FFFFFF";
+google_color_link = "557755";
+google_color_url = "557755";
+google_color_text = "333333";
+//--></script>
+<center>
+<script type="text/javascript"
+  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
+</script>
+</center>
+
+          </div>
+          <div class="section_3"><h3><a name="HowshouldIusetheVMtransport-ForActiveMQ3.x%2F4.x"></a>For ActiveMQ 3.x/4.x</h3>
+
+<p><a href="/How+do+I+use+ActiveMQ+using+in+JVM+messaging" title="How do I use ActiveMQ using in JVM messaging">Using the VM transport</a> to connect to an in-JVM broker is the fastest and most efficient transport you can use.</p>
+
+<p>This is because by default there is no serialization to a socket or operating system socket resources used up; its purely an in-JVM List used to exchange messages with clients and the broker. Sometimes you want the VM transport to work as an async SEDA queue; other times you want to inline the processing so that there are less thread context switches which can improve throughput in high performance scenarios.</p>
+
+<p>One thing to note with the VM transport is that messages are passed by reference. One slight exception to this is the JMS ObjectMessage. (see below for details on how to disable it in ActiveMQ 4.x)</p>
+
+<p> You can also further optimise things by setting the <b>copyMessageOnSend</b> property to be false; which avoids making a copy of the ObjectMessage to send; though this assumes that you don't try and resuse the ObjectMessage instance; you just create it once and send it once and don't try and change the body of the message after sending it.</p>
+<table cellpadding="5" width="85%" cellspacing="8px" class="warningMacro" border="0" align="center"><colgroup><col width="24"/><col/></colgroup><tr><td valign="top"><img src="http://docs.codehaus.org/images/icons/emoticons/forbidden.gif" width="16" height="16" align="absmiddle" alt="" border="0"/></td><td><b class="strong">Be careful of ClassLoaders</b><br/>
+<p>Note that you should only perform the above optimisation if all the producers and consumers are in a compatible class loader. For example if you have 2 WARs with their own jars which are sending messages to each other, you could get strange ClassCastExceptions occuring due to the same class being loaded in each class loader; so sometimes serializing ObjectMessage is a good thing to avoid ClassPath hell - so only perform the above optimisation if you are sure you're ClassPaths are OK</p></td></tr></table>
+
+
+
+</div><div class="section_3"><h3><a name="HowshouldIusetheVMtransport-DisablingObjectserializationwithObjectMessageforActiveMQ4.x"></a>Disabling Object serialization with ObjectMessage for ActiveMQ 4.x</h3>
+
+
+<p>The JMS specification dictates that the body of an ObjectMessage must be serialized when you call send() to avoid the object changing under your feet affecting what view the consumer sees of the object.</p>
+
+<p>You can disable the automatic serialization of ObjectMessage payloads so that the objects are passed by value in 4.x by setting the <b>objectMessageSerializationDefered</b> flag to true on the ActiveMQConnectionFactory (or ActiveMQConnection).</p>
+<div class="code"><div class="codeContent">
+<pre class="code-java">ActiveMQConnectionFactory factory = <span class="code-keyword">new</span> ActiveMQConnectionFactory(<span class="code-quote">"vm:<span class="code-comment">//localhost"</span>);
+</span>factory.setObjectMessageSerializationDefered(<span class="code-keyword">true</span>);</pre>
+</div></div>
+<p>&nbsp;</p>
+
+<p>&nbsp;</p>
+
+<p>&nbsp;</p>
+
+<p>&nbsp;</p></div>
+        </div>
+<div style="text-align: center; width: 100%; padding-top: 1cm;padding-bottom: 1cm">
+<script type="text/javascript"><!--
+google_ad_client = "pub-3023399591478482";
+google_ad_width = 468;
+google_ad_height = 60;
+google_ad_format = "468x60_as";
+google_ad_type = "text_image";
+google_ad_channel ="9744516269";
+google_color_border = "FFFFFF";
+google_color_bg = "FFFFFF";
+google_color_link = "557755";
+google_color_url = "557755";
+google_color_text = "333333";
+//--></script>
+<script type="text/javascript"
+  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
+</script>
+</div>
+</td>
+    <tr>
+    <tr id="ulayout_bottom">
+      <td colspan="2" id="ufooter">
+        <div class="content">
+          <div class="copyright">Copyright 2003-2006. All rights reserved unless otherwise noted.</div>
+          <div class="credits">Powered by <a href="http://atlassian.com/">Atlassian</a>&nbsp;<a href="http://atlassian.com/confluence/">Confluence</a></div>
+          <div>
+            <a class="editPage" href="http://docs.codehaus.org/pages/editpage.action?spaceKey=ACTIVEMQ&amp;title=How+should+I+use+the+VM+transport"><img src="http://www.codehaus.org/edit.gif" border="0">[&nbsp;edit&nbsp;]</a>
+          </div>
+        </div>
+      </td>
+    </tr>
+  </table>
+</html>

Modified: incubator/activemq/site/How+to+configure+a+new+database
URL: http://svn.apache.org/viewcvs/incubator/activemq/site/How%2Bto%2Bconfigure%2Ba%2Bnew%2Bdatabase?rev=383851&r1=383850&r2=383851&view=diff
==============================================================================
--- incubator/activemq/site/How+to+configure+a+new+database (original)
+++ incubator/activemq/site/How+to+configure+a+new+database Tue Mar  7 03:47:01 2006
@@ -1,21 +1,330 @@
-Server returned HTTP response code: 500 for URL: http://docs.codehaus.org/rpc/xmlrpc com.openxource.unity.providers.confluence.ConfluencePageProviderImpl.getPage(ConfluencePageProviderImpl.java:78)
- com.openxource.unity.beans.impl.UnityPageRendererImpl.getFragment(UnityPageRendererImpl.java:249)
- com.openxource.unity.beans.impl.UnityPageRendererImpl.renderPage(UnityPageRendererImpl.java:155)
- com.openxource.unity.servlets.ContentServlet.doGet(ContentServlet.java:69)
- javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
- javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
- org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
- org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
- org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
- org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
- org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
- org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
- org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
- org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
- org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199)
- org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282)
- org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:744)
- org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:674)
- org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:866)
- org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
- java.lang.Thread.run(Thread.java:595)
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
+<head profile="http://www.w3.org/2000/08/w3c-synd/#">
+    <link rel="stylesheet" href="/__unity__/styles/unity-blue.css" type="text/css"/>
+    <title>ActiveMQ - How to configure a new database</title>
+</head>
+
+<body>
+
+  <table id="ulayout">
+    <tr id="ulayout_top">
+      <td colspan="2" valign="bottom">
+        <table width="100%">
+          <tr id="utop">
+            <td id="utop_left">
+              <a href="http://www.codehaus.org/"><img src="/__unity__/images/logo.png" style="border: none;"/></a>
+            </td>
+            <td id="utop_right" style="text-align: right; vertical-align: middle;padding-right:10px;">
+              <a href="/"><img src="http://www.logicblaze.com/images/logos/products/ActiveMQ/ActiveMQ_logo_200.jpg" alt="ActiveMQ" class="spaceLogo" border="0"/></a>
+            </td>
+          </tr>
+          <tr>
+            <td colspan="2" id="uadvertising_top">
+            </td>
+          </tr>
+        </table>
+      </td>
+    </tr>
+    <tr>
+      <td colspan="2">
+        <table id="utop_nav">
+          <tr>
+            <td align="left" valign="middle">
+              <div id="ubreadcrumbs">
+                <p>
+                  <a href="/">Home</a>
+                                     		                  </p>
+              </div>
+            </td>
+            <td align="right" valign="middle">
+              <div id="uquicklinks">
+                                  <p><a href="/Download" title="Download">Download</a> | <span class="nobr"><a href="http://activemq.codehaus.org/maven/apidocs/">JavaDocs for 4.x</a></span> <span class="nobr"><a href="http://activemq.org/maven/activemq-3/activemq-core/apidocs/">3.x</a></span> | <a href="/Source" title="Source">Source</a> | <span class="nobr"><a href="http://docs.codehaus.org/pages/listpages.action?key=ACTIVEMQ">Wiki</a></span> |<span class="nobr"><a href="irc://irc.codehaus.org/activemq">IRC</a></span> | <span class="nobr"><a href="http://servlet.uwyn.com/drone/log/hausbot/activemq">IRC Log</a></span> | <a href="/Mailing+Lists" title="Mailing Lists">Mailing Lists</a> | <span class="nobr"><a href="http://forums.logicblaze.com/forums/show/1.page">Discussion Forum</a></span> | <span class="nobr"><a href="http://jira.logicblaze.com/jira/browse/AMQ">Support</a></span></p>
+                              </div>
+            </td>
+          </tr>
+        </table>
+      </td>
+    </tr>
+    <tr>
+      <td colspan="2"></td>
+    </tr>
+    <tr id="ulayout_middle">
+      <td id="uleft">
+        <div class="content">
+                      <div class="section_3"><h3><a name="Navigation-Overview"></a>Overview</h3>
+
+<ul class="alternate" type="square">
+	<li><a href="/Home" title="Home">Home</a></li>
+	<li><a href="/News" title="News">News</a></li>
+	<li><a href="/Changes+in+4.0" title="Changes in 4.0">New in 4.0</a></li>
+	<li><a href="/FAQ" title="FAQ">FAQ</a></li>
+	<li><a href="/Articles" title="Articles">Articles</a></li>
+	<li><a href="/Download" title="Download">Download</a></li>
+</ul>
+
+
+</div><div class="section_3"><h3><a name="Navigation-Community"></a>Community</h3>
+
+<ul class="alternate" type="square">
+	<li><span class="nobr"><a href="http://forums.logicblaze.com/forums/show/1.page">Discussion Forum</a></span></li>
+	<li><a href="/Mailing+Lists" title="Mailing Lists">Mailing Lists</a></li>
+	<li><span class="nobr"><a href="http://gmane.org/find.php?list=activemq">News Reader</a></span></li>
+	<li><span class="nobr"><a href="http://docs.codehaus.org/pages/listpages.action?key=ACTIVEMQ">Wiki</a></span></li>
+	<li><a href="/Projects+Using+ActiveMQ" title="Projects Using ActiveMQ">Projects Using ActiveMQ</a></li>
+	<li><a href="/Users" title="Users">Users</a></li>
+	<li><a href="/Contributing" title="Contributing">Contributing</a></li>
+	<li><a href="/Team" title="Team">Team</a></li>
+</ul>
+
+
+</div><div class="section_3"><h3><a name="Navigation-UsingActiveMQ"></a>Using ActiveMQ</h3>
+
+<ul class="alternate" type="square">
+	<li><a href="/Getting+Started" title="Getting Started">Getting Started</a></li>
+	<li><a href="/Initial+Configuration" title="Initial Configuration">Initial Configuration</a></li>
+	<li><a href="/Run+Broker" title="Run Broker">Running a Broker</a></li>
+	<li><a href="/Configuring+Transports" title="Configuring Transports">Configuring Transports</a></li>
+	<li><a href="/Examples" title="Examples">Examples</a></li>
+	<li><a href="/How+can+I+monitor+ActiveMQ" title="How can I monitor ActiveMQ">Monitoring the Broker</a></li>
+	<li><a href="/Xml+Configuration" title="Xml Configuration">Xml Configuration</a></li>
+	<li><a href="/Xml+Reference" title="Xml Reference">Xml Reference</a></li>
+	<li><a href="/Web+Samples" title="Web Samples">Web Samples</a></li>
+	<li><a href="/Hello+World" title="Hello World">Hello World</a></li>
+	<li><a href="/Use+Cases" title="Use Cases">Use Cases</a></li>
+	<li><a href="/Topologies" title="Topologies">Topologies</a></li>
+	<li><a href="/How+do+I+embed+a+Broker+inside+a+Connection" title="How do I embed a Broker inside a Connection">Embedded Brokers</a></li>
+	<li><a href="/JMeter+Performance+Tests" title="JMeter Performance Tests">Performance Testing</a></li>
+	<li><span class="nobr"><a href="http://docs.codehaus.org/x/yK4">Command Line Tools Reference</a></span></li>
+</ul>
+
+
+</div><div class="section_3"><h3><a name="Navigation-Features"></a>Features</h3>
+
+<ul class="alternate" type="square">
+	<li><a href="/JMX" title="JMX">JMX</a></li>
+	<li><a href="/Performance" title="Performance">Performance</a></li>
+	<li><a href="/Protocols" title="Protocols">Protocols</a></li>
+	<li><a href="/Persistence" title="Persistence">Persistence</a></li>
+	<li><a href="/JDBC+Support" title="JDBC Support">JDBC Support</a></li>
+	<li><a href="/Security" title="Security">Security</a></li>
+	<li><a href="/Interceptors" title="Interceptors">Interceptors</a></li>
+	<li><a href="/Clustering" title="Clustering">Clustering</a></li>
+	<li><a href="/Discovery" title="Discovery">Discovery</a></li>
+	<li><a href="/Composite+Destinations" title="Composite Destinations">Composite Destinations</a></li>
+	<li><a href="/JMS+Streams" title="JMS Streams">JMS Streams</a></li>
+	<li><a href="/Advisory+Message" title="Advisory Message">Advisory Message</a></li>
+	<li><a href="/Resource+Adapter" title="Resource Adapter">JCA 1.5 Resource Adapter</a></li>
+</ul>
+
+
+</div><div class="section_3"><h3><a name="Navigation-Featuresin4.x"></a>Features in 4.x</h3>
+
+<ul class="alternate" type="square">
+	<li><a href="/Message+Groups" title="Message Groups">Message Groups</a></li>
+	<li><a href="/MasterSlave" title="MasterSlave">MasterSlave</a></li>
+	<li><a href="/Networks+of+Brokers" title="Networks of Brokers">Networks of Brokers</a></li>
+	<li><a href="/Exclusive+Consumer" title="Exclusive Consumer">Exclusive Consumer</a></li>
+	<li><a href="/Total+Ordering" title="Total Ordering">Total Ordering</a></li>
+	<li><a href="/Consumer+Priority" title="Consumer Priority">Consumer Priority</a></li>
+	<li><a href="/Retroactive+Consumer" title="Retroactive Consumer">Retroactive Consumer</a></li>
+	<li><a href="/JMS+to+JMS+Bridge" title="JMS to JMS Bridge">JMS to JMS Bridge</a></li>
+	<li><a href="/Changes+in+4.0" title="Changes in 4.0">Other new features</a></li>
+</ul>
+
+
+</div><div class="section_3"><h3><a name="Navigation-Connectivitiy"></a>Connectivitiy</h3>
+
+<ul class="alternate" type="square">
+	<li><a href="/Ajax" title="Ajax">Ajax</a></li>
+	<li><a href="/Axis+Support" title="Axis Support">Axis Support</a></li>
+	<li><a href="/C+Integration" title="C Integration">C Integration</a></li>
+	<li><a href="/dot+Net" title="dot Net">.Net Integration</a></li>
+	<li><a href="/Geronimo" title="Geronimo">Geronimo</a></li>
+	<li><a href="/J2EE" title="J2EE">J2EE</a></li>
+	<li><a href="/JBoss+Integration" title="JBoss Integration">JBoss Integration</a></li>
+	<li><a href="/JNDI+Support" title="JNDI Support">JNDI Support</a></li>
+	<li><a href="/OpenWire" title="OpenWire">OpenWire</a></li>
+	<li><a href="/REST" title="REST">REST</a></li>
+	<li><a href="/Spring+Support" title="Spring Support">Spring Support</a></li>
+	<li><a href="/Stomp" title="Stomp">Stomp</a></li>
+	<li><a href="/Tomcat" title="Tomcat">Tomcat</a></li>
+	<li><a href="/WSIF" title="WSIF">WSIF</a></li>
+</ul>
+
+
+</div><div class="section_3"><h3><a name="Navigation-Utilities"></a>Utilities</h3>
+
+<ul class="alternate" type="square">
+	<li><a href="/JCA+Container" title="JCA Container">JCA Container</a></li>
+</ul>
+
+
+</div><div class="section_3"><h3><a name="Navigation-ExternalTools"></a>External Tools</h3>
+
+<ul class="alternate" type="square">
+	<li><a href="/Hermes+Jms" title="Hermes Jms">Hermes Jms</a></li>
+	<li><a href="/Sun+JNDI" title="Sun JNDI">Sun JNDI</a></li>
+	<li><span class="nobr"><a href="http://jakarta.apache.org/jmeter">JMeter</a></span></li>
+</ul>
+
+
+</div><div class="section_3"><h3><a name="Navigation-RelatedProjects"></a>Related Projects</h3>
+
+<ul class="alternate" type="square">
+	<li><span class="nobr"><a href="http://servicemix.org/">ServiceMix</a></span></li>
+	<li><span class="nobr"><a href="http://lingo.codehaus.org/">Lingo</a></span></li>
+	<li><span class="nobr"><a href="http://jencks.org/">Jencks</a></span></li>
+	<li><span class="nobr"><a href="http://stomp.codehaus.org/">Stomp</a></span></li>
+	<li><span class="nobr"><a href="http://activecluster.codehaus.org/">ActiveCluster</a></span></li>
+	<li><span class="nobr"><a href="http://activespace.codehaus.org/">ActiveSpace</a></span></li>
+	<li><span class="nobr"><a href="http://activesoap.codehaus.org/">ActiveSOAP</a></span></li>
+	<li><span class="nobr"><a href="http://www.springframework.org/">Spring</a></span></li>
+	<li><span class="nobr"><a href="http://geronimo.apache.org/">Geronimo</a></span></li>
+</ul>
+
+
+</div><div class="section_3"><h3><a name="Navigation-Support"></a>Support</h3>
+
+<ul class="alternate" type="square">
+	<li><span class="nobr"><a href="http://jira.logicblaze.com/jira/browse/AMQ">Issues</a></span></li>
+	<li><span class="nobr"><a href="http://jira.logicblaze.com/jira/browse/AMQ?report=com.atlassian.jira.plugin.system.project:roadmap-panel">Roadmap</a></span></li>
+	<li><span class="nobr"><a href="http://jira.logicblaze.com/jira/browse/AMQ?report=com.atlassian.jira.plugin.system.project:changelog-panel">Change log</a></span></li>
+</ul>
+
+
+</div><div class="section_3"><h3><a name="Navigation-Developers"></a>Developers</h3>
+
+<ul class="alternate" type="square">
+	<li><a href="/Source" title="Source">Source</a></li>
+	<li><a href="/Code+Overview" title="Code Overview">Code Overview</a></li>
+	<li><a href="/Wire+Protocol" title="Wire Protocol">Wire Protocol</a></li>
+	<li><a href="/ActiveMQ+4.0" title="ActiveMQ 4.0">ActiveMQ 4.0</a></li>
+	<li><a href="/Becoming+a+committer" title="Becoming a committer">Becoming a committer</a></li>
+	<li><a href="/Integration+Tests" title="Integration Tests">Integration Tests</a></li>
+	<li><a href="/Benchmark+Tests" title="Benchmark Tests">Benchmark Tests</a></li>
+	<li><a href="/JMeter+Performance+Tests" title="JMeter Performance Tests">JMeter Performance Tests</a></li>
+	<li><a href="/Release+Guide" title="Release Guide">Release Guide</a></li>
+	<li><a href="/JUnit+Reports" title="JUnit Reports">JUnit Reports</a></li>
+	<li><span class="nobr"><a href="http://activemq.codehaus.org/maven/clover/">Clover Report</a></span></li>
+	<li><a href="/Source+XRef" title="Source XRef">Source XRef</a></li>
+	<li><a href="/Test+Source+XRef" title="Test Source XRef">Test Source XRef</a></li>
+	<li><span class="nobr"><a href="http://activemq.codehaus.org/maven/activemq.xsd.html">XSD</a></span></li>
+</ul>
+
+
+</div><div class="section_3"><h3><a name="Navigation-Toolsweuse"></a>Tools we use</h3>
+
+<p><span class="nobr"><a href="http://www.yourkit.com"><img src="/download/attachments/23786/yourkit.jpg" align="absmiddle" border="0"/></a></span></p></div>
+          
+          <div class="section_3">
+            <h3>Feeds</h3>
+            <ul class="feedList">
+              <li><a class="rss" href="http://docs.codehaus.org/spaces/rss.action?key=ACTIVEMQ&amp;newPages=false">Site</a></li>
+              <li><a class="rss" href="http://docs.codehaus.org/spaces/blogrss.action?key=ACTIVEMQ">News</a></li>
+            </ul>
+          </div>
+        </div>
+      </td>
+      <td id="umain">
+        <div class="content">
+          <a href="/How+to+configure+a+new+database?print=1" style="float:right"><img src="http://www.codehaus.org/print.gif" class="print" alt="Print" border="0"/></a>
+          <div id="upage_title">How to configure a new database</div>
+          <div id="uads">
+
+<script type="text/javascript"><!--
+google_ad_client = "pub-3023399591478482";
+google_ad_width = 468;
+google_ad_height = 60;
+google_ad_format = "468x60_as";
+google_ad_type = "text_image";
+google_ad_channel = "7321085054"; //unity-top
+google_color_border = "FFFFFF";
+google_color_bg = "FFFFFF";
+google_color_link = "557755";
+google_color_url = "557755";
+google_color_text = "333333";
+//--></script>
+<center>
+<script type="text/javascript"
+  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
+</script>
+</center>
+
+          </div>
+          <p>ActiveMQ explicity supports Derby, Axion, HSQL, Oracle, and SQLServer. Below are the steps on how to configure a new database.</p>
+
+<p>1. Modify activemq.xml found in the directory "activemq_home/conf" by editing or adding a JDBC DataSource Configuration.</p>
+
+<p>e.g.</p>
+
+<div class="code"><div class="codeContent">
+<pre class="code-java">&lt;bean id=<span class="code-quote">"mysql-ds"</span> class=<span class="code-quote">"org.apache.commons.dbcp.BasicDataSource"</span> destroy-method=<span class="code-quote">"close"</span>&gt;
+    &lt;property name=<span class="code-quote">"driverClassName"</span> value=<span class="code-quote">"com.mysql.jdbc.Driver"</span>/&gt;
+    &lt;property name=<span class="code-quote">"url"</span> value=<span class="code-quote">"jdbc:mysql:<span class="code-comment">//localhost/activemq"</span>/&gt;
+</span>    &lt;property name=<span class="code-quote">"username"</span> value=<span class="code-quote">"activemq"</span>/&gt;
+    &lt;property name=<span class="code-quote">"password"</span> value=<span class="code-quote">"activemq"</span>/&gt;
+    &lt;property name=<span class="code-quote">"poolPreparedStatements"</span> value=<span class="code-quote">"<span class="code-keyword">true</span>"</span>/&gt;
+  &lt;/bean&gt;</pre>
+</div></div>
+
+
+<p><b>For AMQ 3.x</b></p>
+<div class="code"><div class="codeContent">
+<pre class="code-java">&lt;bean id=<span class="code-quote">"mssql-ds"</span> class=<span class="code-quote">"org.apache.commons.dbcp.BasicDataSource"</span> destroy-method=<span class="code-quote">"close"</span>&gt;
+    &lt;property name=<span class="code-quote">"driverClassName"</span>&gt;
+        &lt;value&gt;com.microsoft.jdbc.sqlserver.SQLServerDriver&lt;/value&gt;
+    &lt;/property&gt;
+    &lt;property name=<span class="code-quote">"url"</span>&gt;
+        &lt;value&gt;jdbc:microsoft:sqlserver:<span class="code-comment">//localhost:1433;DatabaseName=activedb&lt;/value&gt;
+</span>    &lt;/property&gt;
+    &lt;property name=<span class="code-quote">"username"</span>&gt;
+        &lt;value&gt;sa&lt;/value&gt;
+    &lt;/property&gt;
+    &lt;property name=<span class="code-quote">"password"</span>&gt;
+        &lt;value&gt;&lt;/value&gt;
+    &lt;/property&gt;
+    &lt;property name=<span class="code-quote">"poolPreparedStatements"</span>&gt;
+        &lt;value&gt;<span class="code-keyword">true</span>&lt;/value&gt;
+    &lt;/property&gt;
+&lt;/bean&gt;</pre>
+</div></div>
+<p>2. Set the datasource reference to use the new jdbc configuration e.g &lt;jdbcPersistence dataSourceRef="mssql-ds"/&gt;</p>
+
+<p>3. Place the jdbc driver in the directory "activemq_home/lib/optional".</p>
+        </div>
+<div style="text-align: center; width: 100%; padding-top: 1cm;padding-bottom: 1cm">
+<script type="text/javascript"><!--
+google_ad_client = "pub-3023399591478482";
+google_ad_width = 468;
+google_ad_height = 60;
+google_ad_format = "468x60_as";
+google_ad_type = "text_image";
+google_ad_channel ="9744516269";
+google_color_border = "FFFFFF";
+google_color_bg = "FFFFFF";
+google_color_link = "557755";
+google_color_url = "557755";
+google_color_text = "333333";
+//--></script>
+<script type="text/javascript"
+  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
+</script>
+</div>
+</td>
+    <tr>
+    <tr id="ulayout_bottom">
+      <td colspan="2" id="ufooter">
+        <div class="content">
+          <div class="copyright">Copyright 2003-2006. All rights reserved unless otherwise noted.</div>
+          <div class="credits">Powered by <a href="http://atlassian.com/">Atlassian</a>&nbsp;<a href="http://atlassian.com/confluence/">Confluence</a></div>
+          <div>
+            <a class="editPage" href="http://docs.codehaus.org/pages/editpage.action?spaceKey=ACTIVEMQ&amp;title=How+to+configure+a+new+database"><img src="http://www.codehaus.org/edit.gif" border="0">[&nbsp;edit&nbsp;]</a>
+          </div>
+        </div>
+      </td>
+    </tr>
+  </table>
+</html>