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"><broker xmlns=<SPAN class="code-quote">"http://activemq.org/config/1.0"</SPAN> id=<SPAN class="code-quote">"localbroker"</SPAN>
+ brokerName=<SPAN class="code-quote">"localBroker"</SPAN> persistent=<SPAN class="code-quote">"false"</SPAN>>
+ <SPAN class="code-tag"><transportConnectors></SPAN>
+ <SPAN class="code-tag"><transportConnector uri=<SPAN class="code-quote">"tcp://localhost:61234"</SPAN> /></SPAN>
+ <SPAN class="code-tag"></transportConnectors></SPAN>
+
+ <SPAN class="code-tag"><jmsBridgeConnectors></SPAN>
+ <jmsQueueConnector
+ outboundQueueConnectionFactory=<SPAN class="code-quote">"#remoteFactory"</SPAN>>
+ <SPAN class="code-tag"><inboundQueueBridges></SPAN>
+ <inboundQueueBridge
+ inboundQueueName=<SPAN class="code-quote">"org.apache.activemq.network.jms.QueueBridgeXBeanTest"</SPAN> />
+ <SPAN class="code-tag"></inboundQueueBridges></SPAN>
+ <SPAN class="code-tag"></jmsQueueConnector></SPAN>
+ <SPAN class="code-tag"></jmsBridgeConnectors></SPAN>
+<SPAN class="code-tag"></broker></SPAN>
+
+<SPAN class="code-tag"><SPAN class="code-comment"><!-- JMS ConnectionFactory to use remote --></SPAN></SPAN>
+<bean id=<SPAN class="code-quote">"remoteFactory"</SPAN>
+ class=<SPAN class="code-quote">"org.apache.activemq.ActiveMQConnectionFactory"</SPAN>>
+ <SPAN class="code-tag"><property name=<SPAN class="code-quote">"brokerURL"</SPAN> value=<SPAN class="code-quote">"tcp://localhost:61666"</SPAN> /></SPAN>
+<SPAN class="code-tag"></bean></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
- (<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
+ (<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>