activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject svn commit: r374430 [13/45] - /incubator/activemq/site/
Date Thu, 02 Feb 2006 16:33:52 GMT
Added: incubator/activemq/site/Failover+Transport+Reference
URL: http://svn.apache.org/viewcvs/incubator/activemq/site/Failover%2BTransport%2BReference?rev=374430&view=auto
==============================================================================
--- incubator/activemq/site/Failover+Transport+Reference (added)
+++ incubator/activemq/site/Failover+Transport+Reference Thu Feb  2 08:31:10 2006
@@ -0,0 +1,271 @@
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+  <head>
+    <link rel="stylesheet" href="site.css" type="text/css">
+
+
+
+    <title>ActiveMQ - Failover Transport Reference</title>
+  </head>
+
+  <body>
+    <table width="100%" id="layout" style="padding:0px;margin0px;border-collapse:collapse;">
+      <tr>
+        <td colspan="3" style="padding:8px;">
+          <table width="100%" id="banner" style="padding:0px;margin:0px">
+            <tr id="header_row">
+              <td align="left" valign="middle" style="padding:0px;margin:0px;">
+                <span id="Content"><span><span class="nobr"><a href="http://incubator.apache.org/activemq" rel="nofollow"><img align="absmiddle" border=0 src="images/logo.gif"></a></span></span></span>
+
+              </td>
+              
+            </tr>
+          </table>
+        </td>
+      </tr>
+      <tr>
+        <td colspan="3" id="breadcrumbs">
+          <table width="100%" id="banner" style="padding:0px;margin:0px">
+            <tr>
+              <td align="left">
+                <a href="">Home</a>  | <a href="ActiveMQ+4+Connection+URIs">ActiveMQ&nbsp;4&nbsp;Connection&nbsp;URIs</a> &gt; Failover Transport Reference
+              </td>
+              <td align="right">
+                  <span id="Content"><span><a href="Download" title="Download">Download</a> | <span class="nobr"><a href="http://activemq.codehaus.org/maven/apidocs/" rel="nofollow">JavaDocs for 4.x</a></span> <span class="nobr"><a href="http://activemq.org/maven/activemq-3/activemq-core/apidocs/" rel="nofollow">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" rel="nofollow">Wiki</a></span> |<span class="nobr"><a href="irc://irc.codehaus.org/activemq" rel="nofollow">IRC</a></span> | <span class="nobr"><a href="http://servlet.uwyn.com/drone/log/hausbot/activemq" rel="nofollow">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" rel="nofollow">Discussion Forum</a></span> | <span class="nobr"><a href="http://jira.logicblaze.com/jira/browse/AMQ" rel="nofollow">Support
 </a></span></span></span>
+
+              </td>
+            </tr>
+          </table>
+        </td>
+      </tr>
+      <tr>
+        <td id="leftColumn" valign="top" style="padding-top: 0px;">
+          <span id="Content"><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>
+  <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" rel="nofollow">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" rel="nofollow">News Reader</a></span></li>
+    <li><span class="nobr"><a href="http://docs.codehaus.org/pages/listpages.action?key=ACTIVEMQ" rel="nofollow">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>
+  <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="Installation" title="Installation">Installation</a></li>
+    <li><a href="Building" title="Building">Building</a></li>
+    <li><a href="Run+Broker" title="Run Broker">Running a Broker</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="Use+Cases" title="Use Cases">Use Cases</a></li>
+    <li><a href="Topologies" title="Topologies">Topologies</a></li>
+    <li><a href="Configuring+Transports" title="Configuring Transports">Configuring Transports</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><a href="Web+Samples" title="Web Samples">Web Samples</a></li>
+    <li><a href="Hello+World" title="Hello World">Hello World</a></li>
+  </ul>
+  <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="Clustering" title="Clustering">Clustering</a></li>
+    <li><a href="Discovery" title="Discovery">Discovery</a></li>
+    <li><a href="Networks+of+Brokers" title="Networks of Brokers">Networks of Brokers</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>
+  <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>
+  <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>
+  <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" rel="nofollow">JMeter</a></span></li>
+  </ul>
+  <h3><a name="Navigation-RelatedProjects"></a>Related Projects</h3>
+  <ul class="alternate" type="square">
+    <li><span class="nobr"><a href="http://servicemix.org/" rel="nofollow">ServiceMix</a></span></li>
+    <li><span class="nobr"><a href="http://lingo.codehaus.org/" rel="nofollow">Lingo</a></span></li>
+    <li><span class="nobr"><a href="http://jencks.org/" rel="nofollow">Jencks</a></span></li>
+    <li><span class="nobr"><a href="http://stomp.codehaus.org/" rel="nofollow">Stomp</a></span></li>
+    <li><span class="nobr"><a href="http://activecluster.codehaus.org/" rel="nofollow">ActiveCluster</a></span></li>
+    <li><span class="nobr"><a href="http://activespace.codehaus.org/" rel="nofollow">ActiveSpace</a></span></li>
+    <li><span class="nobr"><a href="http://activesoap.codehaus.org/" rel="nofollow">ActiveSOAP</a></span></li>
+    <li><span class="nobr"><a href="http://www.springframework.org/" rel="nofollow">Spring</a></span></li>
+    <li><span class="nobr"><a href="http://geronimo.apache.org/" rel="nofollow">Geronimo</a></span></li>
+  </ul>
+  <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" rel="nofollow">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" rel="nofollow">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" rel="nofollow">Change log</a></span></li>
+  </ul>
+  <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/" rel="nofollow">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" rel="nofollow">XSD</a></span></li>
+  </ul>
+  <h3><a name="Navigation-Toolsweuse"></a>Tools we use</h3><span><span class="nobr"><a href="http://www.yourkit.com" rel="nofollow"><img align="absmiddle" border=0 src="/download/attachments/23786/yourkit.jpg"></a></span></span></span>
+
+            <h3 class="heading3">Feeds</h3>
+            <table border="0" cellspacing="4px">
+            <tr>
+              <td align="right">
+                <a href="http://docs.codehaus.org/spaces/rss.action?key=ACTIVEMQ&newPages=false"><img src="http://docs.codehaus.org/images/icons/rss.gif" border="0"></a><br/>
+              </td>
+              <td align="left">
+                <a href="http://docs.codehaus.org/spaces/rss.action?key=ACTIVEMQ&newPages=false">Site</a>
+              </td>
+            </tr>
+            <tr>
+              <td align="right">
+                <a href="http://docs.codehaus.org/spaces/blogrss.action?key=ACTIVEMQ"><img src="http://docs.codehaus.org/images/icons/rss.gif" border="0"></a>
+              </td>
+              <td align="left">
+                <a href="http://docs.codehaus.org/spaces/blogrss.action?key=ACTIVEMQ">News</a>
+              </td>
+            </tr>
+            </table>
+        </td>
+        <td id="rightColumn" valign="top">
+
+          <div id="page_title">
+            <table width="100%">
+              <tr>
+                <td>
+            Failover Transport Reference 
+                </td>
+                <td align="right">
+            
+                </td>
+              </tr>
+            </table>
+          </div>
+
+
+          <div>
+  <div id="Content">
+    <h3><a name="FailoverTransportReference-TheFailoverTransport"></a>The Failover Transport</h3>
+    <p>The Failover transport layers reconnect logic on top of any of the other transports. This is what used to be the Reliable transport in ActiveMQ 3. It's configuration syntax allows you to specify any number of composite uris. The Failover transport randomly chooses one of the composite URI and attempts to establish a connection to it. If it does not succeed or if it subsequently fails, a new connection is established to one of the other uris in the list.</p>
+    <h4><a name="FailoverTransportReference-ConfigurationSyntax"></a>Configuration Syntax</h4>
+    <p><b>failover:(uri1,...,uriN)?transportOptions</b><br> or<br><b>failover:uri1,...,uriN</b></p>
+    <h5><a name="FailoverTransportReference-TransportOptions"></a>Transport Options</h5>
+    <p class="paragraph">
+      <table class="confluenceTable">
+        <tbody>
+          <tr>
+            <th class="confluenceTh">Option Name</th>
+            <th class="confluenceTh">Default Value</th>
+            <th class="confluenceTh">Description</th>
+          </tr>
+          <tr>
+            <td class="confluenceTd">initialReconnectDelay</td>
+            <td class="confluenceTd">10</td>
+            <td class="confluenceTd">How long to wait before the first reconnect attempt</td>
+          </tr>
+          <tr>
+            <td class="confluenceTd">maxReconnectDelay</td>
+            <td class="confluenceTd">30000</td>
+            <td class="confluenceTd">The maximum amount of time we ever wait between reconnect attempts</td>
+          </tr>
+          <tr>
+            <td class="confluenceTd">useExponentialBackOff</td>
+            <td class="confluenceTd">true</td>
+            <td class="confluenceTd">Should an exponential backoff be used btween reconnect attempts</td>
+          </tr>
+          <tr>
+            <td class="confluenceTd">backOffMultiplier</td>
+            <td class="confluenceTd">2</td>
+            <td class="confluenceTd">The exponent used in the exponential backoff attempts</td>
+          </tr>
+          <tr>
+            <td class="confluenceTd">maxReconnectAttempts</td>
+            <td class="confluenceTd">0</td>
+            <td class="confluenceTd">If not 0, then this is the maximum number of reconnect attempts before an error is sent back to the client</td>
+          </tr>
+        </tbody>
+      </table>
+    </p>
+    <h5><a name="FailoverTransportReference-ExampleURI"></a>Example URI</h5>
+    <p class="paragraph">
+      <div class="preformatted">
+        <div class="preformattedContent"><pre>failover:(tcp://localhost:61616,tcp://remotehost:61616)?initialReconnectDelay=100
+</pre></div>
+      </div>
+    </p>
+  </div>
+</div>
+
+          &nbsp;
+        </td>
+      </tr>
+      <tr>
+        <td colspan="3" id="footer">
+          <table width="100%"> 
+            <tr>
+              <td align="left" valign="top">
+          
+              </td>
+              <td align="right" valign="top">
+          <a style="color:#999;" href="http://docs.codehaus.org/pages/editpage.action?spaceKey=ACTIVEMQ&title=Failover+Transport+Reference">[ edit ]</a>
+              </td>
+            </tr>
+          <table>
+        </td>
+      </tr>
+    </table>
+  </body>
+
+</html>
+
+

Added: incubator/activemq/site/Fanout+Transport+Reference
URL: http://svn.apache.org/viewcvs/incubator/activemq/site/Fanout%2BTransport%2BReference?rev=374430&view=auto
==============================================================================
--- incubator/activemq/site/Fanout+Transport+Reference (added)
+++ incubator/activemq/site/Fanout+Transport+Reference Thu Feb  2 08:31:10 2006
@@ -0,0 +1,271 @@
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+  <head>
+    <link rel="stylesheet" href="site.css" type="text/css">
+
+
+
+    <title>ActiveMQ - Fanout Transport Reference</title>
+  </head>
+
+  <body>
+    <table width="100%" id="layout" style="padding:0px;margin0px;border-collapse:collapse;">
+      <tr>
+        <td colspan="3" style="padding:8px;">
+          <table width="100%" id="banner" style="padding:0px;margin:0px">
+            <tr id="header_row">
+              <td align="left" valign="middle" style="padding:0px;margin:0px;">
+                <span id="Content"><span><span class="nobr"><a href="http://incubator.apache.org/activemq" rel="nofollow"><img align="absmiddle" border=0 src="images/logo.gif"></a></span></span></span>
+
+              </td>
+              
+            </tr>
+          </table>
+        </td>
+      </tr>
+      <tr>
+        <td colspan="3" id="breadcrumbs">
+          <table width="100%" id="banner" style="padding:0px;margin:0px">
+            <tr>
+              <td align="left">
+                <a href="">Home</a>  | <a href="ActiveMQ+4+Connection+URIs">ActiveMQ&nbsp;4&nbsp;Connection&nbsp;URIs</a> &gt; Fanout Transport Reference
+              </td>
+              <td align="right">
+                  <span id="Content"><span><a href="Download" title="Download">Download</a> | <span class="nobr"><a href="http://activemq.codehaus.org/maven/apidocs/" rel="nofollow">JavaDocs for 4.x</a></span> <span class="nobr"><a href="http://activemq.org/maven/activemq-3/activemq-core/apidocs/" rel="nofollow">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" rel="nofollow">Wiki</a></span> |<span class="nobr"><a href="irc://irc.codehaus.org/activemq" rel="nofollow">IRC</a></span> | <span class="nobr"><a href="http://servlet.uwyn.com/drone/log/hausbot/activemq" rel="nofollow">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" rel="nofollow">Discussion Forum</a></span> | <span class="nobr"><a href="http://jira.logicblaze.com/jira/browse/AMQ" rel="nofollow">Support
 </a></span></span></span>
+
+              </td>
+            </tr>
+          </table>
+        </td>
+      </tr>
+      <tr>
+        <td id="leftColumn" valign="top" style="padding-top: 0px;">
+          <span id="Content"><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>
+  <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" rel="nofollow">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" rel="nofollow">News Reader</a></span></li>
+    <li><span class="nobr"><a href="http://docs.codehaus.org/pages/listpages.action?key=ACTIVEMQ" rel="nofollow">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>
+  <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="Installation" title="Installation">Installation</a></li>
+    <li><a href="Building" title="Building">Building</a></li>
+    <li><a href="Run+Broker" title="Run Broker">Running a Broker</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="Use+Cases" title="Use Cases">Use Cases</a></li>
+    <li><a href="Topologies" title="Topologies">Topologies</a></li>
+    <li><a href="Configuring+Transports" title="Configuring Transports">Configuring Transports</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><a href="Web+Samples" title="Web Samples">Web Samples</a></li>
+    <li><a href="Hello+World" title="Hello World">Hello World</a></li>
+  </ul>
+  <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="Clustering" title="Clustering">Clustering</a></li>
+    <li><a href="Discovery" title="Discovery">Discovery</a></li>
+    <li><a href="Networks+of+Brokers" title="Networks of Brokers">Networks of Brokers</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>
+  <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>
+  <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>
+  <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" rel="nofollow">JMeter</a></span></li>
+  </ul>
+  <h3><a name="Navigation-RelatedProjects"></a>Related Projects</h3>
+  <ul class="alternate" type="square">
+    <li><span class="nobr"><a href="http://servicemix.org/" rel="nofollow">ServiceMix</a></span></li>
+    <li><span class="nobr"><a href="http://lingo.codehaus.org/" rel="nofollow">Lingo</a></span></li>
+    <li><span class="nobr"><a href="http://jencks.org/" rel="nofollow">Jencks</a></span></li>
+    <li><span class="nobr"><a href="http://stomp.codehaus.org/" rel="nofollow">Stomp</a></span></li>
+    <li><span class="nobr"><a href="http://activecluster.codehaus.org/" rel="nofollow">ActiveCluster</a></span></li>
+    <li><span class="nobr"><a href="http://activespace.codehaus.org/" rel="nofollow">ActiveSpace</a></span></li>
+    <li><span class="nobr"><a href="http://activesoap.codehaus.org/" rel="nofollow">ActiveSOAP</a></span></li>
+    <li><span class="nobr"><a href="http://www.springframework.org/" rel="nofollow">Spring</a></span></li>
+    <li><span class="nobr"><a href="http://geronimo.apache.org/" rel="nofollow">Geronimo</a></span></li>
+  </ul>
+  <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" rel="nofollow">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" rel="nofollow">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" rel="nofollow">Change log</a></span></li>
+  </ul>
+  <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/" rel="nofollow">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" rel="nofollow">XSD</a></span></li>
+  </ul>
+  <h3><a name="Navigation-Toolsweuse"></a>Tools we use</h3><span><span class="nobr"><a href="http://www.yourkit.com" rel="nofollow"><img align="absmiddle" border=0 src="/download/attachments/23786/yourkit.jpg"></a></span></span></span>
+
+            <h3 class="heading3">Feeds</h3>
+            <table border="0" cellspacing="4px">
+            <tr>
+              <td align="right">
+                <a href="http://docs.codehaus.org/spaces/rss.action?key=ACTIVEMQ&newPages=false"><img src="http://docs.codehaus.org/images/icons/rss.gif" border="0"></a><br/>
+              </td>
+              <td align="left">
+                <a href="http://docs.codehaus.org/spaces/rss.action?key=ACTIVEMQ&newPages=false">Site</a>
+              </td>
+            </tr>
+            <tr>
+              <td align="right">
+                <a href="http://docs.codehaus.org/spaces/blogrss.action?key=ACTIVEMQ"><img src="http://docs.codehaus.org/images/icons/rss.gif" border="0"></a>
+              </td>
+              <td align="left">
+                <a href="http://docs.codehaus.org/spaces/blogrss.action?key=ACTIVEMQ">News</a>
+              </td>
+            </tr>
+            </table>
+        </td>
+        <td id="rightColumn" valign="top">
+
+          <div id="page_title">
+            <table width="100%">
+              <tr>
+                <td>
+            Fanout Transport Reference 
+                </td>
+                <td align="right">
+            
+                </td>
+              </tr>
+            </table>
+          </div>
+
+
+          <div>
+  <div id="Content">
+    <h3><a name="FanoutTransportReference-TheFanoutTransport"></a>The Fanout Transport</h3>
+    <p>The Fanout transport layers reconnect and replication logic on top of any of the other transports. It is used replicate commands to multiple brokers.</p>
+    <h4><a name="FanoutTransportReference-ConfigurationSyntax"></a>Configuration Syntax</h4>
+    <p><b>fanout:(discoveryURI)?transportOptions</b><br> or<br><b>fanout:discoveryURI</b></p>
+    <h5><a name="FanoutTransportReference-TransportOptions"></a>Transport Options</h5>
+    <p class="paragraph">
+      <table class="confluenceTable">
+        <tbody>
+          <tr>
+            <th class="confluenceTh">Option Name</th>
+            <th class="confluenceTh">Default Value</th>
+            <th class="confluenceTh">Description</th>
+          </tr>
+          <tr>
+            <td class="confluenceTd">initialReconnectDelay</td>
+            <td class="confluenceTd">10</td>
+            <td class="confluenceTd">How long to wait before the first reconnect attempt</td>
+          </tr>
+          <tr>
+            <td class="confluenceTd">maxReconnectDelay</td>
+            <td class="confluenceTd">30000</td>
+            <td class="confluenceTd">The maximum amount of time we ever wait between reconnect attempts</td>
+          </tr>
+          <tr>
+            <td class="confluenceTd">useExponentialBackOff</td>
+            <td class="confluenceTd">true</td>
+            <td class="confluenceTd">Should an exponential backoff be used btween reconnect attempts</td>
+          </tr>
+          <tr>
+            <td class="confluenceTd">backOffMultiplier</td>
+            <td class="confluenceTd">2</td>
+            <td class="confluenceTd">The exponent used in the exponential backoff attempts</td>
+          </tr>
+          <tr>
+            <td class="confluenceTd">maxReconnectAttempts</td>
+            <td class="confluenceTd">0</td>
+            <td class="confluenceTd">If not 0, then this is the maximum number of reconnect attempts before an error is sent back to the client</td>
+          </tr>
+        </tbody>
+      </table>
+    </p>
+    <h5><a name="FanoutTransportReference-ExampleURI"></a>Example URI</h5>
+    <p class="paragraph">
+      <div class="preformatted">
+        <div class="preformattedContent"><pre>fanout:(static:(tcp://localhost:61616,tcp://remotehost:61616))?initialReconnectDelay=100
+</pre></div>
+      </div>
+    </p>
+  </div>
+</div>
+
+          &nbsp;
+        </td>
+      </tr>
+      <tr>
+        <td colspan="3" id="footer">
+          <table width="100%"> 
+            <tr>
+              <td align="left" valign="top">
+          
+              </td>
+              <td align="right" valign="top">
+          <a style="color:#999;" href="http://docs.codehaus.org/pages/editpage.action?spaceKey=ACTIVEMQ&title=Fanout+Transport+Reference">[ edit ]</a>
+              </td>
+            </tr>
+          <table>
+        </td>
+      </tr>
+    </table>
+  </body>
+
+</html>
+
+

Added: incubator/activemq/site/General
URL: http://svn.apache.org/viewcvs/incubator/activemq/site/General?rev=374430&view=auto
==============================================================================
--- incubator/activemq/site/General (added)
+++ incubator/activemq/site/General Thu Feb  2 08:31:10 2006
@@ -0,0 +1,241 @@
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+  <head>
+    <link rel="stylesheet" href="site.css" type="text/css">
+
+
+
+    <title>ActiveMQ - General</title>
+  </head>
+
+  <body>
+    <table width="100%" id="layout" style="padding:0px;margin0px;border-collapse:collapse;">
+      <tr>
+        <td colspan="3" style="padding:8px;">
+          <table width="100%" id="banner" style="padding:0px;margin:0px">
+            <tr id="header_row">
+              <td align="left" valign="middle" style="padding:0px;margin:0px;">
+                <span id="Content"><span><span class="nobr"><a href="http://incubator.apache.org/activemq" rel="nofollow"><img align="absmiddle" border=0 src="images/logo.gif"></a></span></span></span>
+
+              </td>
+              
+            </tr>
+          </table>
+        </td>
+      </tr>
+      <tr>
+        <td colspan="3" id="breadcrumbs">
+          <table width="100%" id="banner" style="padding:0px;margin:0px">
+            <tr>
+              <td align="left">
+                <a href="">Home</a>  | <a href="FAQ">FAQ</a> &gt; General
+              </td>
+              <td align="right">
+                  <span id="Content"><span><a href="Download" title="Download">Download</a> | <span class="nobr"><a href="http://activemq.codehaus.org/maven/apidocs/" rel="nofollow">JavaDocs for 4.x</a></span> <span class="nobr"><a href="http://activemq.org/maven/activemq-3/activemq-core/apidocs/" rel="nofollow">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" rel="nofollow">Wiki</a></span> |<span class="nobr"><a href="irc://irc.codehaus.org/activemq" rel="nofollow">IRC</a></span> | <span class="nobr"><a href="http://servlet.uwyn.com/drone/log/hausbot/activemq" rel="nofollow">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" rel="nofollow">Discussion Forum</a></span> | <span class="nobr"><a href="http://jira.logicblaze.com/jira/browse/AMQ" rel="nofollow">Support
 </a></span></span></span>
+
+              </td>
+            </tr>
+          </table>
+        </td>
+      </tr>
+      <tr>
+        <td id="leftColumn" valign="top" style="padding-top: 0px;">
+          <span id="Content"><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>
+  <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" rel="nofollow">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" rel="nofollow">News Reader</a></span></li>
+    <li><span class="nobr"><a href="http://docs.codehaus.org/pages/listpages.action?key=ACTIVEMQ" rel="nofollow">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>
+  <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="Installation" title="Installation">Installation</a></li>
+    <li><a href="Building" title="Building">Building</a></li>
+    <li><a href="Run+Broker" title="Run Broker">Running a Broker</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="Use+Cases" title="Use Cases">Use Cases</a></li>
+    <li><a href="Topologies" title="Topologies">Topologies</a></li>
+    <li><a href="Configuring+Transports" title="Configuring Transports">Configuring Transports</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><a href="Web+Samples" title="Web Samples">Web Samples</a></li>
+    <li><a href="Hello+World" title="Hello World">Hello World</a></li>
+  </ul>
+  <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="Clustering" title="Clustering">Clustering</a></li>
+    <li><a href="Discovery" title="Discovery">Discovery</a></li>
+    <li><a href="Networks+of+Brokers" title="Networks of Brokers">Networks of Brokers</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>
+  <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>
+  <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>
+  <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" rel="nofollow">JMeter</a></span></li>
+  </ul>
+  <h3><a name="Navigation-RelatedProjects"></a>Related Projects</h3>
+  <ul class="alternate" type="square">
+    <li><span class="nobr"><a href="http://servicemix.org/" rel="nofollow">ServiceMix</a></span></li>
+    <li><span class="nobr"><a href="http://lingo.codehaus.org/" rel="nofollow">Lingo</a></span></li>
+    <li><span class="nobr"><a href="http://jencks.org/" rel="nofollow">Jencks</a></span></li>
+    <li><span class="nobr"><a href="http://stomp.codehaus.org/" rel="nofollow">Stomp</a></span></li>
+    <li><span class="nobr"><a href="http://activecluster.codehaus.org/" rel="nofollow">ActiveCluster</a></span></li>
+    <li><span class="nobr"><a href="http://activespace.codehaus.org/" rel="nofollow">ActiveSpace</a></span></li>
+    <li><span class="nobr"><a href="http://activesoap.codehaus.org/" rel="nofollow">ActiveSOAP</a></span></li>
+    <li><span class="nobr"><a href="http://www.springframework.org/" rel="nofollow">Spring</a></span></li>
+    <li><span class="nobr"><a href="http://geronimo.apache.org/" rel="nofollow">Geronimo</a></span></li>
+  </ul>
+  <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" rel="nofollow">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" rel="nofollow">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" rel="nofollow">Change log</a></span></li>
+  </ul>
+  <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/" rel="nofollow">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" rel="nofollow">XSD</a></span></li>
+  </ul>
+  <h3><a name="Navigation-Toolsweuse"></a>Tools we use</h3><span><span class="nobr"><a href="http://www.yourkit.com" rel="nofollow"><img align="absmiddle" border=0 src="/download/attachments/23786/yourkit.jpg"></a></span></span></span>
+
+            <h3 class="heading3">Feeds</h3>
+            <table border="0" cellspacing="4px">
+            <tr>
+              <td align="right">
+                <a href="http://docs.codehaus.org/spaces/rss.action?key=ACTIVEMQ&newPages=false"><img src="http://docs.codehaus.org/images/icons/rss.gif" border="0"></a><br/>
+              </td>
+              <td align="left">
+                <a href="http://docs.codehaus.org/spaces/rss.action?key=ACTIVEMQ&newPages=false">Site</a>
+              </td>
+            </tr>
+            <tr>
+              <td align="right">
+                <a href="http://docs.codehaus.org/spaces/blogrss.action?key=ACTIVEMQ"><img src="http://docs.codehaus.org/images/icons/rss.gif" border="0"></a>
+              </td>
+              <td align="left">
+                <a href="http://docs.codehaus.org/spaces/blogrss.action?key=ACTIVEMQ">News</a>
+              </td>
+            </tr>
+            </table>
+        </td>
+        <td id="rightColumn" valign="top">
+
+          <div id="page_title">
+            <table width="100%">
+              <tr>
+                <td>
+            General 
+                </td>
+                <td align="right">
+            
+                </td>
+              </tr>
+            </table>
+          </div>
+
+
+          <div>
+  <div id="Content">
+    <p>General questions about ActiveMQ</p>
+    <ul>
+      <li><a href="How+can+I+get+the+source+code+from+subversion" title="How can I get the source code from subversion">How can I get the source code from subversion</a></li>
+      <li><a href="How+can+I+monitor+ActiveMQ" title="How can I monitor ActiveMQ">How can I monitor ActiveMQ</a></li>
+      <li><a href="How+do+I+avoid+Maven+downloading+latest+jars" title="How do I avoid Maven downloading latest jars">How do I avoid Maven downloading latest jars</a></li>
+      <li><a href="How+do+I+build+but+disable+the+unit+tests" title="How do I build but disable the unit tests">How do I build but disable the unit tests</a></li>
+      <li><a href="How+do+I+compile+from+the+source" title="How do I compile from the source">How do I compile from the source</a></li>
+      <li><a href="How+do+I+edit+the+website" title="How do I edit the website">How do I edit the website</a></li>
+      <li><a href="How+does+ActiveMQ+compare+to+JBossMQ" title="How does ActiveMQ compare to JBossMQ">How does ActiveMQ compare to JBossMQ</a></li>
+      <li><a href="How+does+ActiveMQ+compare+to+Spread+Toolkit" title="How does ActiveMQ compare to Spread Toolkit">How does ActiveMQ compare to Spread Toolkit</a></li>
+      <li><a href="How+does+the+website+work" title="How does the website work">How does the website work</a></li>
+      <li><a href="How+fast+is+ActiveMQ" title="How fast is ActiveMQ">How fast is ActiveMQ</a></li>
+      <li><a href="I+get+errors+building+the+code+whats+wrong" title="I get errors building the code whats wrong">I get errors building the code whats wrong</a></li>
+      <li><a href="What+is+ActiveMQ" title="What is ActiveMQ">What is ActiveMQ</a></li>
+      <li><a href="What+is+the+licence" title="What is the licence">What is the licence</a></li>
+      <li><a href="What+jars+do+I+need" title="What jars do I need">What jars do I need</a></li>
+      <li><a href="What+platforms+does+ActiveMQ+support" title="What platforms does ActiveMQ support">What platforms does ActiveMQ support</a></li>
+    </ul>
+  </div>
+</div>
+
+          &nbsp;
+        </td>
+      </tr>
+      <tr>
+        <td colspan="3" id="footer">
+          <table width="100%"> 
+            <tr>
+              <td align="left" valign="top">
+          
+              </td>
+              <td align="right" valign="top">
+          <a style="color:#999;" href="http://docs.codehaus.org/pages/editpage.action?spaceKey=ACTIVEMQ&title=General">[ edit ]</a>
+              </td>
+            </tr>
+          <table>
+        </td>
+      </tr>
+    </table>
+  </body>
+
+</html>
+
+

Added: incubator/activemq/site/Geronimo
URL: http://svn.apache.org/viewcvs/incubator/activemq/site/Geronimo?rev=374430&view=auto
==============================================================================
--- incubator/activemq/site/Geronimo (added)
+++ incubator/activemq/site/Geronimo Thu Feb  2 08:31:10 2006
@@ -0,0 +1,396 @@
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+  <head>
+    <link rel="stylesheet" href="site.css" type="text/css">
+
+
+
+    <title>ActiveMQ - Geronimo</title>
+  </head>
+
+  <body>
+    <table width="100%" id="layout" style="padding:0px;margin0px;border-collapse:collapse;">
+      <tr>
+        <td colspan="3" style="padding:8px;">
+          <table width="100%" id="banner" style="padding:0px;margin:0px">
+            <tr id="header_row">
+              <td align="left" valign="middle" style="padding:0px;margin:0px;">
+                <span id="Content"><span><span class="nobr"><a href="http://incubator.apache.org/activemq" rel="nofollow"><img align="absmiddle" border=0 src="images/logo.gif"></a></span></span></span>
+
+              </td>
+              
+            </tr>
+          </table>
+        </td>
+      </tr>
+      <tr>
+        <td colspan="3" id="breadcrumbs">
+          <table width="100%" id="banner" style="padding:0px;margin:0px">
+            <tr>
+              <td align="left">
+                <a href="">Home</a>  | <a href="Navigation">Navigation</a> &gt; Geronimo
+              </td>
+              <td align="right">
+                  <span id="Content"><span><a href="Download" title="Download">Download</a> | <span class="nobr"><a href="http://activemq.codehaus.org/maven/apidocs/" rel="nofollow">JavaDocs for 4.x</a></span> <span class="nobr"><a href="http://activemq.org/maven/activemq-3/activemq-core/apidocs/" rel="nofollow">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" rel="nofollow">Wiki</a></span> |<span class="nobr"><a href="irc://irc.codehaus.org/activemq" rel="nofollow">IRC</a></span> | <span class="nobr"><a href="http://servlet.uwyn.com/drone/log/hausbot/activemq" rel="nofollow">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" rel="nofollow">Discussion Forum</a></span> | <span class="nobr"><a href="http://jira.logicblaze.com/jira/browse/AMQ" rel="nofollow">Support
 </a></span></span></span>
+
+              </td>
+            </tr>
+          </table>
+        </td>
+      </tr>
+      <tr>
+        <td id="leftColumn" valign="top" style="padding-top: 0px;">
+          <span id="Content"><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>
+  <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" rel="nofollow">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" rel="nofollow">News Reader</a></span></li>
+    <li><span class="nobr"><a href="http://docs.codehaus.org/pages/listpages.action?key=ACTIVEMQ" rel="nofollow">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>
+  <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="Installation" title="Installation">Installation</a></li>
+    <li><a href="Building" title="Building">Building</a></li>
+    <li><a href="Run+Broker" title="Run Broker">Running a Broker</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="Use+Cases" title="Use Cases">Use Cases</a></li>
+    <li><a href="Topologies" title="Topologies">Topologies</a></li>
+    <li><a href="Configuring+Transports" title="Configuring Transports">Configuring Transports</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><a href="Web+Samples" title="Web Samples">Web Samples</a></li>
+    <li><a href="Hello+World" title="Hello World">Hello World</a></li>
+  </ul>
+  <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="Clustering" title="Clustering">Clustering</a></li>
+    <li><a href="Discovery" title="Discovery">Discovery</a></li>
+    <li><a href="Networks+of+Brokers" title="Networks of Brokers">Networks of Brokers</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>
+  <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>
+  <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>
+  <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" rel="nofollow">JMeter</a></span></li>
+  </ul>
+  <h3><a name="Navigation-RelatedProjects"></a>Related Projects</h3>
+  <ul class="alternate" type="square">
+    <li><span class="nobr"><a href="http://servicemix.org/" rel="nofollow">ServiceMix</a></span></li>
+    <li><span class="nobr"><a href="http://lingo.codehaus.org/" rel="nofollow">Lingo</a></span></li>
+    <li><span class="nobr"><a href="http://jencks.org/" rel="nofollow">Jencks</a></span></li>
+    <li><span class="nobr"><a href="http://stomp.codehaus.org/" rel="nofollow">Stomp</a></span></li>
+    <li><span class="nobr"><a href="http://activecluster.codehaus.org/" rel="nofollow">ActiveCluster</a></span></li>
+    <li><span class="nobr"><a href="http://activespace.codehaus.org/" rel="nofollow">ActiveSpace</a></span></li>
+    <li><span class="nobr"><a href="http://activesoap.codehaus.org/" rel="nofollow">ActiveSOAP</a></span></li>
+    <li><span class="nobr"><a href="http://www.springframework.org/" rel="nofollow">Spring</a></span></li>
+    <li><span class="nobr"><a href="http://geronimo.apache.org/" rel="nofollow">Geronimo</a></span></li>
+  </ul>
+  <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" rel="nofollow">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" rel="nofollow">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" rel="nofollow">Change log</a></span></li>
+  </ul>
+  <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/" rel="nofollow">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" rel="nofollow">XSD</a></span></li>
+  </ul>
+  <h3><a name="Navigation-Toolsweuse"></a>Tools we use</h3><span><span class="nobr"><a href="http://www.yourkit.com" rel="nofollow"><img align="absmiddle" border=0 src="/download/attachments/23786/yourkit.jpg"></a></span></span></span>
+
+            <h3 class="heading3">Feeds</h3>
+            <table border="0" cellspacing="4px">
+            <tr>
+              <td align="right">
+                <a href="http://docs.codehaus.org/spaces/rss.action?key=ACTIVEMQ&newPages=false"><img src="http://docs.codehaus.org/images/icons/rss.gif" border="0"></a><br/>
+              </td>
+              <td align="left">
+                <a href="http://docs.codehaus.org/spaces/rss.action?key=ACTIVEMQ&newPages=false">Site</a>
+              </td>
+            </tr>
+            <tr>
+              <td align="right">
+                <a href="http://docs.codehaus.org/spaces/blogrss.action?key=ACTIVEMQ"><img src="http://docs.codehaus.org/images/icons/rss.gif" border="0"></a>
+              </td>
+              <td align="left">
+                <a href="http://docs.codehaus.org/spaces/blogrss.action?key=ACTIVEMQ">News</a>
+              </td>
+            </tr>
+            </table>
+        </td>
+        <td id="rightColumn" valign="top">
+
+          <div id="page_title">
+            <table width="100%">
+              <tr>
+                <td>
+            Geronimo 
+                </td>
+                <td align="right">
+            
+                </td>
+              </tr>
+            </table>
+          </div>
+
+
+          <div>
+  <div id="Content">
+    <p>ActiveMQ is the default JMS provider in <span class="nobr"><a href="http://geronimo.apache.org" rel="nofollow">Apache Geronimo</a></span>.</p>
+    <p>ActiveMQ can be used both as JMS Client and a JMS Broker. This short<br> article explains how to use it on a standalone client to access the<br> topics/queues setup on a remote Geronimo/ActiveMQ broker.</p>
+    <p>1) Setup the queues and topics on the ActiveMQ Broker<br> If you're using a standalone ActiveMQ broker, then following the instructions on<br> ActiveMQ's website should be enough to setup everything.<br> However, if your ActiveMQ's instance is embedded inside the J2EE Geronimo<br> Application Server, creating Queues and Topics is about deploying Resource<br> Adapters to your Geronimo server.<br> The following deployment descriptor can be used to deploy two topics and a<br> ConnectionFactory: weatherTopic and weatherRequestsTopic</p>
+    <p class="paragraph">
+      <div class="code">
+        <div class="codeContent"><pre class="code-java">&lt;?xml version=<span class="code-quote">&quot;1.0&quot;</span> encoding=<span class="code-quote">&quot;UTF-8&quot;</span>?&gt;
+&lt;connector xmlns=<span class="code-quote">&quot;http:<span class="code-comment">//geronimo.apache.org/xml/ns/j2ee/connector&quot;</span>
+</span>    version=<span class="code-quote">&quot;1.5&quot;</span>
+    configId=<span class="code-quote">&quot;weather/Topics&quot;</span>
+    parentId=<span class="code-quote">&quot;org/apache/geronimo/SystemJMS&quot;</span>&gt;
+    &lt;resourceadapter&gt;
+        &lt;resourceadapter-instance&gt;
+            &lt;resourceadapter-name&gt;ActiveMQ RA&lt;/resourceadapter-name&gt;
+            &lt;config-property-setting name=<span class="code-quote">&quot;ServerUrl&quot;</span>&gt;tcp:<span class="code-comment">//localhost:61616&lt;/config-property-setting&gt;
+</span>            &lt;config-property-setting name=<span class="code-quote">&quot;UserName&quot;</span>&gt;geronimo&lt;/config-property-setting&gt;
+            &lt;config-property-setting name=<span class="code-quote">&quot;Password&quot;</span>&gt;geronimo&lt;/config-property-setting&gt;
+            &lt;workmanager&gt;
+                &lt;gbean-link&gt;DefaultWorkManager&lt;/gbean-link&gt;
+            &lt;/workmanager&gt;
+        &lt;/resourceadapter-instance&gt;
+        &lt;outbound-resourceadapter&gt;
+            &lt;connection-definition&gt;
+
+&lt;connectionfactory-<span class="code-keyword">interface</span>&gt;javax.jms.ConnectionFactory&lt;/connectionfactory-<span class="code-keyword">interface</span>&gt;
+                &lt;connectiondefinition-instance&gt;
+                    &lt;name&gt;ConnectionFactory&lt;/name&gt;
+
+&lt;implemented-<span class="code-keyword">interface</span>&gt;javax.jms.QueueConnectionFactory&lt;/implemented-<span class="code-keyword">interface</span>&gt;
+
+&lt;implemented-<span class="code-keyword">interface</span>&gt;javax.jms.TopicConnectionFactory&lt;/implemented-<span class="code-keyword">interface</span>&gt;
+                    &lt;connectionmanager&gt;
+                        &lt;xa-transaction&gt;
+                            &lt;transaction-caching/&gt;
+                        &lt;/xa-transaction&gt;
+                        &lt;single-pool&gt;
+                            &lt;max-size&gt;10&lt;/max-size&gt;
+
+&lt;blocking-timeout-milliseconds&gt;5000&lt;/blocking-timeout-milliseconds&gt;
+                            &lt;match-one/&gt;
+                        &lt;/single-pool&gt;
+                    &lt;/connectionmanager&gt;
+                    &lt;global-jndi-name&gt;ConnectionFactory&lt;/global-jndi-name&gt;
+                    &lt;!--
+&lt;credential-<span class="code-keyword">interface</span>&gt;javax.resource.spi.security.PasswordCredential&lt;/credential-<span class="code-keyword">interface</span>&gt;
+--&gt;
+                &lt;/connectiondefinition-instance&gt;
+            &lt;/connection-definition&gt;
+        &lt;/outbound-resourceadapter&gt;
+    &lt;/resourceadapter&gt;
+    &lt;adminobject&gt;
+        &lt;adminobject-<span class="code-keyword">interface</span>&gt;javax.jms.Topic&lt;/adminobject-<span class="code-keyword">interface</span>&gt;
+
+&lt;adminobject-class&gt;org.codehaus.activemq.message.ActiveMQTopic&lt;/adminobject-class&gt;
+        &lt;adminobject-instance&gt;
+            &lt;message-destination-name&gt;weatherTopic&lt;/message-destination-name&gt;
+            &lt;config-property-setting
+name=<span class="code-quote">&quot;PhysicalName&quot;</span>&gt;weatherTopic&lt;/config-property-setting&gt;
+        &lt;/adminobject-instance&gt;
+    &lt;/adminobject&gt;
+    &lt;adminobject&gt;
+        &lt;adminobject-<span class="code-keyword">interface</span>&gt;javax.jms.Topic&lt;/adminobject-<span class="code-keyword">interface</span>&gt;
+
+&lt;adminobject-class&gt;org.codehaus.activemq.message.ActiveMQTopic&lt;/adminobject-class&gt;
+        &lt;adminobject-instance&gt;
+
+&lt;message-destination-name&gt;weatherRequestsTopic&lt;/message-destination-name&gt;
+            &lt;config-property-setting
+name=<span class="code-quote">&quot;PhysicalName&quot;</span>&gt;weatherRequestsTopic&lt;/config-property-setting&gt;
+        &lt;/adminobject-instance&gt;
+    &lt;/adminobject&gt;
+
+&lt;/connector&gt;</pre></div>
+      </div>
+    </p>
+    <p>Then deploy it using Geronimo's deploy tool :</p>
+    <p class="paragraph">
+      <div class="code">
+        <div class="codeContent"><pre class="code-java">D:\geronimo&gt;java -jar bin\deployer.jar deploy d:\projects\weather\src\resources\
+geronimo-activemq.xml repository\activemq\rars\activemq-ra-3.1-SNAPSHOT.rar
+Username: system
+Password: manager
+Deployed weather/Topics</pre></div>
+      </div>
+    </p>
+    <p>The geronimo.log file should now refer to these newly deployed Topics.</p>
+    <p>2) Now that the queues are available server-side, what we want is access them<br> thanks to a standalone Client.<br> Usually, the process is the following one :</p>
+    <ul>
+      <li>Contact the J2EE naming server (port 1099, RMI) to get an JNDI InitialContext.</li>
+      <li>The J2EE server automatically exposes the ConnectionFactory and the Topics<br> through JNDI, so the InitialContext allows you to retrieve both the<br> ConnectionFactory and the Topics</li>
+      <li>Once you have your Topics, you just use them..</li>
+    </ul>
+    <p>However, ActiveMQ's JNDI Implementation does NOT talk to the naming server. It's<br> a stripped down version of a JNDI client that just allows to get Topics and<br> Queues directly from a JMS instance.<br> So, instead of supplying the naming server address, you have to supply the JMS<br> server address.<br> Most JNDI implementations use the java.naming.provider.url property to specify<br> the naming server's address. ActiveMQ uses the brokerURL one. Using the<br> java.naming.provider.url one instead will result in ActiveMQ trying to load the<br> whole Broker.</p>
+    <p>3) So, now we have explained the process, let's detail the Spring way of doing<br> things :</p>
+    <ul class="alternate" type="square">
+      <li>Create a bootstrap.properties file that's available in your classpath<br> jms.connectionFactoryName=ConnectionFactory<br> jms.jndiProviderUrl=tcp://localhost:61616<br> jms.jndiContextFactory=org.activemq.jndi.ActiveMQInitialContextFactory</li>
+    </ul>
+    <p>jms.weatherTopic=weatherTopic<br> jms.weatherRequestsTopic=weatherRequestsTopic</p>
+    <ul class="alternate" type="square">
+      <li>Now, in your Spring description file, declare the bean that will read<br> the properties from the bootstrap.properties file <div class="code">
+          <div class="codeContent"><pre class="code-java">&lt;bean id=<span class="code-quote">&quot;placeholderConfig&quot;</span> 
+          class=<span class="code-quote">&quot;org.springframework.beans.factory.config.PropertyPlaceholderConfigurer&quot;</span>&gt;
+        &lt;property name=<span class="code-quote">&quot;location&quot;</span>&gt;&lt;value&gt;classpath:/bootstrap.properties&lt;/value&gt;&lt;/property&gt;
+    &lt;/bean&gt;</pre></div>
+        </div>
+      </li>
+    </ul>
+    <ul class="alternate" type="square">
+      <li>Create a JNDI template (A Spring-specific wrapper around the JNDI InitialContext <div class="code">
+          <div class="codeContent"><pre class="code-java">&lt;bean id=<span class="code-quote">&quot;jndiTemplate&quot;</span> class=<span class="code-quote">&quot;org.springframework.jndi.JndiTemplate&quot;</span>&gt;
+        &lt;property name=<span class="code-quote">&quot;environment&quot;</span>&gt;
+            &lt;props&gt;
+                &lt;prop key=<span class="code-quote">&quot;java.naming.factory.initial&quot;</span>&gt;${jms.jndiContextFactory}&lt;/prop&gt;
+
+				&lt;!-- Specific to ActiveMQ --&gt;
+
+				&lt;!-- the address of the ActiveMQ broker --&gt;
+                &lt;prop key=<span class="code-quote">&quot;brokerURL&quot;</span>&gt;${jms.jndiProviderUrl}&lt;/prop&gt;
+				&lt;!-- Some Topics Registration, since we are using a fake JNDI implementation --&gt;
+                &lt;prop key=<span class="code-quote">&quot;topic.${jms.weatherTopic}&quot;</span>&gt;${jms.weatherTopic}&lt;/prop&gt;
+                &lt;prop key=<span class="code-quote">&quot;topic.${jms.weatherRequestsTopic}&quot;</span>&gt;${jms.weatherRequestsTopic}&lt;/prop&gt;
+			&lt;/props&gt;
+        &lt;/property&gt;
+    &lt;/bean&gt;</pre></div>
+        </div>
+      </li>
+    </ul>
+    <ul class="alternate" type="square">
+      <li>Retrieve the ConnectionFactory from the JNDI context</li>
+    </ul>
+    <p class="paragraph">
+      <div class="code">
+        <div class="codeContent"><pre class="code-java">&lt;bean id=<span class="code-quote">&quot;internalJmsQueueConnectionFactory&quot;</span>
+        class=<span class="code-quote">&quot;org.springframework.jndi.JndiObjectFactoryBean&quot;</span>&gt;
+        &lt;property name=<span class="code-quote">&quot;jndiTemplate&quot;</span>&gt;
+            &lt;ref bean=<span class="code-quote">&quot;jndiTemplate&quot;</span>/&gt;
+        &lt;/property&gt;
+        &lt;property name=<span class="code-quote">&quot;jndiName&quot;</span>&gt;
+            &lt;value&gt;${jms.connectionFactoryName}&lt;/value&gt;
+        &lt;/property&gt;
+    &lt;/bean&gt;</pre></div>
+      </div>
+    </p>
+    <p>I'm not 100% sure, but I think that you can put any Factory Name, it will just<br> work. (In a scenario where the JNDI context actually contacts a naming server,<br> it should match the name of the deployed ConnectionFactory)</p>
+    <ul class="alternate" type="square">
+      <li>Get the Topics instances from the JNDI Context</li>
+    </ul>
+    <p class="paragraph">
+      <div class="code">
+        <div class="codeContent"><pre class="code-java">&lt;bean id=<span class="code-quote">&quot;weatherTopic&quot;</span>
+		class=<span class="code-quote">&quot;org.springframework.jndi.JndiObjectFactoryBean&quot;</span>
+		singleton=<span class="code-quote">&quot;<span class="code-keyword">true</span>&quot;</span>&gt;
+        &lt;property name=<span class="code-quote">&quot;jndiTemplate&quot;</span>&gt;
+            &lt;ref bean=<span class="code-quote">&quot;jndiTemplate&quot;</span>/&gt;
+        &lt;/property&gt;
+        &lt;property name=<span class="code-quote">&quot;jndiName&quot;</span>&gt;
+            &lt;value&gt;${jms.weatherTopic}&lt;/value&gt;
+        &lt;/property&gt;
+	&lt;/bean&gt;
+&lt;bean id=<span class="code-quote">&quot;weatherRequestTopic&quot;</span>
+		class=<span class="code-quote">&quot;org.springframework.jndi.JndiObjectFactoryBean&quot;</span>
+		singleton=<span class="code-quote">&quot;<span class="code-keyword">true</span>&quot;</span>&gt;
+        &lt;property name=<span class="code-quote">&quot;jndiTemplate&quot;</span>&gt;
+            &lt;ref bean=<span class="code-quote">&quot;jndiTemplate&quot;</span>/&gt;
+        &lt;/property&gt;
+        &lt;property name=<span class="code-quote">&quot;jndiName&quot;</span>&gt;
+            &lt;value&gt;${jms.weatherRequestsTopic}&lt;/value&gt;
+        &lt;/property&gt;
+	&lt;/bean&gt;</pre></div>
+      </div>
+    </p>
+    <ul class="alternate" type="square">
+      <li>Now, you can reuse these Topics beans the way you want.</li>
+    </ul>
+  </div>
+</div>
+
+          &nbsp;
+        </td>
+      </tr>
+      <tr>
+        <td colspan="3" id="footer">
+          <table width="100%"> 
+            <tr>
+              <td align="left" valign="top">
+          
+              </td>
+              <td align="right" valign="top">
+          <a style="color:#999;" href="http://docs.codehaus.org/pages/editpage.action?spaceKey=ACTIVEMQ&title=Geronimo">[ edit ]</a>
+              </td>
+            </tr>
+          <table>
+        </td>
+      </tr>
+    </table>
+  </body>
+
+</html>
+
+



Mime
View raw message