activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r859110 - in /websites/production/activemq/content: cache/main.pageCache jms-to-jms-bridge.html
Date Fri, 19 Apr 2013 11:22:44 GMT
Author: buildbot
Date: Fri Apr 19 11:22:44 2013
New Revision: 859110

Log:
Production update by buildbot for activemq

Modified:
    websites/production/activemq/content/cache/main.pageCache
    websites/production/activemq/content/jms-to-jms-bridge.html

Modified: websites/production/activemq/content/cache/main.pageCache
==============================================================================
Binary files - no diff available.

Modified: websites/production/activemq/content/jms-to-jms-bridge.html
==============================================================================
--- websites/production/activemq/content/jms-to-jms-bridge.html (original)
+++ websites/production/activemq/content/jms-to-jms-bridge.html Fri Apr 19 11:22:44 2013
@@ -84,7 +84,7 @@ In order to support JMS 1.0.2 there is s
 
 <p><b>JMS Bridge Topic Connector</b></p>
 <div class="table-wrap">
-<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1"
class="confluenceTh"> property name </th><th colspan="1" rowspan="1" class="confluenceTh">
default value </th><th colspan="1" rowspan="1" class="confluenceTh"> description
</th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> localTopicConnection
</td><td colspan="1" rowspan="1" class="confluenceTd"> null </td><td
colspan="1" rowspan="1" class="confluenceTd"> if set will be used to connect to ActiveMQ
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> localTopicConnectionFactory
</td><td colspan="1" rowspan="1" class="confluenceTd"> null </td><td
colspan="1" rowspan="1" class="confluenceTd"> used to initialize the ActiveMQ JMS Connection
if localTopicConnection is not set </td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> localClientId </td><td colspan="1" rowspan="1" class="confluenceTd">
null </td><td colspan="1" rowspan="1" class="confluenceTd"> set the id of the
loca
 l connection </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
outboundClientId </td><td colspan="1" rowspan="1" class="confluenceTd"> null </td><td
colspan="1" rowspan="1" class="confluenceTd"> set the id of the outbound connection </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> jndiLocalTemplate </td><td colspan="1"
rowspan="1" class="confluenceTd"> Spring default template </td><td colspan="1"
rowspan="1" class="confluenceTd"> used for locating the Connection Factory for the ActiveMQ
Connection if the localTopicConnection or localTopicConnectionFactory is not set </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> outboundTopicConnection </td><td
colspan="1" rowspan="1" class="confluenceTd"> null </td><td colspan="1" rowspan="1"
class="confluenceTd"> if set will be used to connect to the foreign JMS provider </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> outboundTopicConnectionFactory </td><td
colspan="1" rowspan="
 1" class="confluenceTd"> null </td><td colspan="1" rowspan="1" class="confluenceTd">
used to initialize the foreign JMS Connection if localTopicConnection is not set </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> jndiOutboundTemplate </td><td colspan="1"
rowspan="1" class="confluenceTd"> Spring default template </td><td colspan="1"
rowspan="1" class="confluenceTd"> used for locating the Connection Factory for the ActiveMQ
Connection if the localTopicConnection or localTopicConnectionFactory is not set </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> localUsername </td><td colspan="1"
rowspan="1" class="confluenceTd"> null </td><td colspan="1" rowspan="1" class="confluenceTd">
if set will be used for authentication to the ActiveMQ JMS provider </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> localPassword </td><td colspan="1"
rowspan="1" class="confluenceTd"> null </td><td colspan="1" rowspan="1" class="confluenceTd">
if set will
  be used for authentication to the ActiveMQ JMS provider </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> outboundUsername </td><td colspan="1"
rowspan="1" class="confluenceTd"> null </td><td colspan="1" rowspan="1" class="confluenceTd">
if set will be used for authentication to the foreign JMS provider </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> outboundPassword </td><td colspan="1"
rowspan="1" class="confluenceTd"> null </td><td colspan="1" rowspan="1" class="confluenceTd">
if set will be used for authentication to the foreign JMS provider </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> inboundMessageConvertor </td><td
colspan="1" rowspan="1" class="confluenceTd"> null </td><td colspan="1" rowspan="1"
class="confluenceTd"> if set will be used for converting foreign JMS Messages to a format
for ActiveMQ </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
outboundMessageConvertor </td><td colspan="1" rowspan="1" 
 class="confluenceTd"> null </td><td colspan="1" rowspan="1" class="confluenceTd">
if set will be used for converting ActiveMQ messages to a format for the foriegn JMS provider
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> inboundTopicBridges
</td><td colspan="1" rowspan="1" class="confluenceTd"> null </td><td
colspan="1" rowspan="1" class="confluenceTd"> an array of InboundTopicBridge instances
- used for defining inbound (subscribe to) traffic from the foreign JMS provider </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> outboundTopicBridges </td><td colspan="1"
rowspan="1" class="confluenceTd"> null </td><td colspan="1" rowspan="1" class="confluenceTd">
an array of OutboundTopicBridge instances - used for defining destinations that will be published
to the foreign JMS provider </td></tr></tbody></table>
+<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1"
class="confluenceTh"> property name </th><th colspan="1" rowspan="1" class="confluenceTh">
default value </th><th colspan="1" rowspan="1" class="confluenceTh"> description
</th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> localTopicConnection
</td><td colspan="1" rowspan="1" class="confluenceTd"> null </td><td
colspan="1" rowspan="1" class="confluenceTd"> if set will be used to connect to ActiveMQ
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> localTopicConnectionFactory
</td><td colspan="1" rowspan="1" class="confluenceTd"> null </td><td
colspan="1" rowspan="1" class="confluenceTd"> used to initialize the ActiveMQ JMS Connection
if localTopicConnection is not set </td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> localClientId </td><td colspan="1" rowspan="1" class="confluenceTd">
null </td><td colspan="1" rowspan="1" class="confluenceTd"> set the id of the
loca
 l connection </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
outboundClientId </td><td colspan="1" rowspan="1" class="confluenceTd"> null </td><td
colspan="1" rowspan="1" class="confluenceTd"> set the id of the outbound connection </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> jndiLocalTemplate </td><td colspan="1"
rowspan="1" class="confluenceTd"> Spring default template </td><td colspan="1"
rowspan="1" class="confluenceTd"> used for locating the Connection Factory for the ActiveMQ
Connection if the localTopicConnection or localTopicConnectionFactory is not set </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> outboundTopicConnection </td><td
colspan="1" rowspan="1" class="confluenceTd"> null </td><td colspan="1" rowspan="1"
class="confluenceTd"> if set will be used to connect to the foreign JMS provider </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> outboundTopicConnectionFactory </td><td
colspan="1" rowspan="
 1" class="confluenceTd"> null </td><td colspan="1" rowspan="1" class="confluenceTd">
used to initialize the foreign JMS Connection if outboundTopicConnection is not set </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> jndiOutboundTemplate </td><td colspan="1"
rowspan="1" class="confluenceTd"> Spring default template </td><td colspan="1"
rowspan="1" class="confluenceTd"> used for locating the Connection Factory for the ActiveMQ
Connection if the localTopicConnection or localTopicConnectionFactory is not set </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> localUsername </td><td colspan="1"
rowspan="1" class="confluenceTd"> null </td><td colspan="1" rowspan="1" class="confluenceTd">
if set will be used for authentication to the ActiveMQ JMS provider </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> localPassword </td><td colspan="1"
rowspan="1" class="confluenceTd"> null </td><td colspan="1" rowspan="1" class="confluenceTd">
if set w
 ill be used for authentication to the ActiveMQ JMS provider </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> outboundUsername </td><td colspan="1"
rowspan="1" class="confluenceTd"> null </td><td colspan="1" rowspan="1" class="confluenceTd">
if set will be used for authentication to the foreign JMS provider </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> outboundPassword </td><td colspan="1"
rowspan="1" class="confluenceTd"> null </td><td colspan="1" rowspan="1" class="confluenceTd">
if set will be used for authentication to the foreign JMS provider </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> inboundMessageConvertor </td><td
colspan="1" rowspan="1" class="confluenceTd"> null </td><td colspan="1" rowspan="1"
class="confluenceTd"> if set will be used for converting foreign JMS Messages to a format
for ActiveMQ </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
outboundMessageConvertor </td><td colspan="1" rowspan="
 1" class="confluenceTd"> null </td><td colspan="1" rowspan="1" class="confluenceTd">
if set will be used for converting ActiveMQ messages to a format for the foriegn JMS provider
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> inboundTopicBridges
</td><td colspan="1" rowspan="1" class="confluenceTd"> null </td><td
colspan="1" rowspan="1" class="confluenceTd"> an array of InboundTopicBridge instances
- used for defining inbound (subscribe to) traffic from the foreign JMS provider </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> outboundTopicBridges </td><td colspan="1"
rowspan="1" class="confluenceTd"> null </td><td colspan="1" rowspan="1" class="confluenceTd">
an array of OutboundTopicBridge instances - used for defining destinations that will be published
to the foreign JMS provider </td></tr></tbody></table>
 </div>
 
 <p><b>JMS Bridge Queue Connector</b></p>
@@ -123,8 +123,34 @@ In order to support JMS 1.0.2 there is s
 
 <h3><a shape="rect" name="JMStoJMSBridge-ExampleXBeanConfiguration"></a>Example
XBean Configuration</h3>
 
-<p>The following <a shape="rect" class="external-link" href="http://svn.apache.org/repos/asf/activemq/trunk/activemq-core/src/test/resources/org/apache/activemq/network/jms/queue-xbean.xml">example
config file</a> shows how to use the regular <a shape="rect" href="xml-configuration.html"
title="Xml Configuration">Xml Configuration</a> to configure a JMS to JMS bridge.</p>
-<div class="error"><span class="error">Error formatting macro: snippet: java.lang.IndexOutOfBoundsException:
Index: 20, Size: 20</span> </div>
+<p>The following <a shape="rect" class="external-link" href="http://svn.apache.org/repos/asf/activemq/trunk/activemq-unit-tests/src/test/resources/org/apache/activemq/network/jms/queue-xbean.xml">example
config file</a> shows how to use the regular <a shape="rect" href="xml-configuration.html"
title="Xml Configuration">Xml Configuration</a> to configure a JMS to JMS bridge.</p>
+<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
+<pre class="code-xml">&lt;broker xmlns=<span class="code-quote">"http://activemq.apache.org/schema/core"</span>
id=<span class="code-quote">"localbroker"</span>
+  brokerName=<span class="code-quote">"localBroker"</span> persistent=<span
class="code-quote">"false"</span>&gt;
+
+  <span class="code-tag">&lt;jmsBridgeConnectors&gt;</span>
+    &lt;jmsQueueConnector
+      outboundQueueConnectionFactory=<span class="code-quote">"#remoteFactory"</span>&gt;
+      <span class="code-tag">&lt;inboundQueueBridges&gt;</span>
+        &lt;inboundQueueBridge
+          inboundQueueName=<span class="code-quote">"org.apache.activemq.network.jms.QueueBridgeXBeanTest"</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;transportConnectors&gt;</span>
+    <span class="code-tag">&lt;transportConnector uri=<span class="code-quote">"tcp://localhost:61234"</span>
/&gt;</span>
+  <span class="code-tag">&lt;/transportConnectors&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">"remoteFactory"</span>
+  class=<span class="code-quote">"org.apache.activemq.ActiveMQConnectionFactory"</span>&gt;
+  <span class="code-tag">&lt;property name=<span class="code-quote">"brokerURL"</span>
value=<span class="code-quote">"tcp://localhost:61666"</span> /&gt;</span>
+<span class="code-tag">&lt;/bean&gt;</span>
+</pre>
+</div></div>
 
 <h3><a shape="rect" name="JMStoJMSBridge-ExamplepureSpringConfiguration"></a>Example
pure Spring Configuration</h3>
 



Mime
View raw message