You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by js...@apache.org on 2006/07/04 20:09:44 UTC

svn commit: r419059 - in /incubator/activemq/site: connectivity.html jms-to-jms-bridge.html

Author: jstrachan
Date: Tue Jul  4 11:09:43 2006
New Revision: 419059

URL: http://svn.apache.org/viewvc?rev=419059&view=rev
Log:
Latest export from confluence

Modified:
    incubator/activemq/site/connectivity.html
    incubator/activemq/site/jms-to-jms-bridge.html

Modified: incubator/activemq/site/connectivity.html
URL: http://svn.apache.org/viewvc/incubator/activemq/site/connectivity.html?rev=419059&r1=419058&r2=419059&view=diff
==============================================================================
--- incubator/activemq/site/connectivity.html (original)
+++ incubator/activemq/site/connectivity.html Tue Jul  4 11:09:43 2006
@@ -257,10 +257,10 @@
               <a href="javascript:hideChildren()">Hide Children</a></span>
           </div>
           <div class="greybox" id="children" style="display: none;">
-                                      <a href="http://goopen.org/confluence/display/ACTIVEMQ/JMX" title="JMX">JMX</a>
+                                      <a href="http://goopen.org/confluence/display/ACTIVEMQ/Stomp" title="Stomp">Stomp</a>
               <span class="smalltext">(ActiveMQ)</span>
               <br>
-                          <a href="http://goopen.org/confluence/display/ACTIVEMQ/Stomp" title="Stomp">Stomp</a>
+                          <a href="http://goopen.org/confluence/display/ACTIVEMQ/JMX" title="JMX">JMX</a>
               <span class="smalltext">(ActiveMQ)</span>
               <br>
                           <a href="http://goopen.org/confluence/display/ACTIVEMQ/JNDI+Support" title="JNDI Support">JNDI Support</a>

Modified: incubator/activemq/site/jms-to-jms-bridge.html
URL: http://svn.apache.org/viewvc/incubator/activemq/site/jms-to-jms-bridge.html?rev=419059&r1=419058&r2=419059&view=diff
==============================================================================
--- incubator/activemq/site/jms-to-jms-bridge.html (original)
+++ incubator/activemq/site/jms-to-jms-bridge.html Tue Jul  4 11:09:43 2006
@@ -246,8 +246,7 @@
 <!--          
             <div class="pagetitle">JMS to JMS Bridge</div>
 -->
-            <DIV class="wiki-content">
-<H3><A name="JMStoJMSBridge-Introduction"></A>Introduction</H3>
+            <DIV class="wiki-content"><H3><A name="JMStoJMSBridge-Introduction"></A>Introduction</H3>
 
 <P>ActiveMQ provides bridging functionality to other JMS providers that implement the JMS 1.0.2 and above specification.<BR>
 A JMS bridge can be co-located with an ActiveMQ broker or run remotely. <BR>
@@ -494,9 +493,38 @@
 </TR>
 </TBODY></TABLE>
 
-<H3><A name="JMStoJMSBridge-ExampleConfiguration"></A>Example Configuration</H3>
+<H3><A name="JMStoJMSBridge-ExampleXBeanConfiguration"></A>Example XBean Configuration</H3>
 
-<P>This is part of an example configuration of a Broker - bridging to a Foreign JMS provider</P>
+<P>The following <SPAN class="nobr"><A href="http://svn.apache.org/repos/asf/incubator/activemq/trunk/activemq-core/src/test/resources/org/apache/activemq/network/jms/queue-xbean.xml" title="Visit page outside Confluence" rel="nofollow">example config file<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN> shows how to use the regular <A href="xml-configuration.html" title="Xml Configuration">Xml Configuration</A> to configure a JMS to JMS bridge.</P>
+
+<DIV class="code"><DIV class="codeContent">
+<PRE class="code-xml">&lt;broker xmlns=<SPAN class="code-quote">&quot;http://activemq.org/config/1.0&quot;</SPAN> id=<SPAN class="code-quote">&quot;localbroker&quot;</SPAN>
+  brokerName=<SPAN class="code-quote">&quot;localBroker&quot;</SPAN> persistent=<SPAN class="code-quote">&quot;false&quot;</SPAN>&gt;
+  <SPAN class="code-tag">&lt;transportConnectors&gt;</SPAN>
+    <SPAN class="code-tag">&lt;transportConnector uri=<SPAN class="code-quote">&quot;tcp://localhost:61234&quot;</SPAN> /&gt;</SPAN>
+  <SPAN class="code-tag">&lt;/transportConnectors&gt;</SPAN>
+
+  <SPAN class="code-tag">&lt;jmsBridgeConnectors&gt;</SPAN>
+    &lt;jmsQueueConnector
+      outboundQueueConnectionFactory=<SPAN class="code-quote">&quot;#remoteFactory&quot;</SPAN>&gt;
+      <SPAN class="code-tag">&lt;inboundQueueBridges&gt;</SPAN>
+        &lt;inboundQueueBridge
+          inboundQueueName=<SPAN class="code-quote">&quot;org.apache.activemq.network.jms.QueueBridgeXBeanTest&quot;</SPAN> /&gt;
+      <SPAN class="code-tag">&lt;/inboundQueueBridges&gt;</SPAN>
+    <SPAN class="code-tag">&lt;/jmsQueueConnector&gt;</SPAN>
+  <SPAN class="code-tag">&lt;/jmsBridgeConnectors&gt;</SPAN>
+<SPAN class="code-tag">&lt;/broker&gt;</SPAN>
+
+<SPAN class="code-tag"><SPAN class="code-comment">&lt;!-- JMS ConnectionFactory to use remote --&gt;</SPAN></SPAN>
+&lt;bean id=<SPAN class="code-quote">&quot;remoteFactory&quot;</SPAN>
+  class=<SPAN class="code-quote">&quot;org.apache.activemq.ActiveMQConnectionFactory&quot;</SPAN>&gt;
+  <SPAN class="code-tag">&lt;property name=<SPAN class="code-quote">&quot;brokerURL&quot;</SPAN> value=<SPAN class="code-quote">&quot;tcp://localhost:61666&quot;</SPAN> /&gt;</SPAN>
+<SPAN class="code-tag">&lt;/bean&gt;</SPAN></PRE>
+</DIV></DIV>
+
+<H3><A name="JMStoJMSBridge-ExamplepureSpringConfiguration"></A>Example pure Spring Configuration</H3>
+
+<P>The following example shows how to use raw Spring XML to wire together a broker - bridging to a Foreign JMS provider</P>
 
 
 <DIV class="code"><DIV class="codeContent">
@@ -552,8 +580,8 @@
     </DIV>
     <DIV id="site-footer">
           Added by     <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=rajdavies">Rob Davies</A>,
-    last edited by     <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=jstrachan">James Strachan</A> on May 12, 2006
-                  &nbsp;(<A href="http://goopen.org/confluence/pages/diffpages.action?pageId=40&originalId=5473">view change</A>)
+    last edited by     <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=jstrachan">James Strachan</A> on Jul 04, 2006
+                  &nbsp;(<A href="http://goopen.org/confluence/pages/diffpages.action?pageId=40&originalId=8960">view change</A>)
               
       (<A href="http://goopen.org/confluence/pages/editpage.action?pageId=40">edit page</A>)
     </DIV>