[jboss-cvs] JBoss Messaging SVN: r6580 - in trunk/examples/javaee/jms-bridge: config and 1 other directory.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Mon Apr 27 10:45:41 EDT 2009
Author: jmesnil
Date: 2009-04-27 10:45:41 -0400 (Mon, 27 Apr 2009)
New Revision: 6580
Modified:
trunk/examples/javaee/jms-bridge/config/jms-bridge-jboss-beans.xml
trunk/examples/javaee/jms-bridge/readme.html
Log:
finished Java EE JMS Bridge example
* updated doc and XML configuration comments
Modified: trunk/examples/javaee/jms-bridge/config/jms-bridge-jboss-beans.xml
===================================================================
--- trunk/examples/javaee/jms-bridge/config/jms-bridge-jboss-beans.xml 2009-04-27 14:27:29 UTC (rev 6579)
+++ trunk/examples/javaee/jms-bridge/config/jms-bridge-jboss-beans.xml 2009-04-27 14:45:41 UTC (rev 6580)
@@ -22,13 +22,13 @@
<parameter>
<inject bean="TargetDestinationFactory"/>
</parameter>
- <!-- Source username -->
+ <!-- Source username (no username here) -->
<parameter><null /></parameter>
- <!-- Source password -->
+ <!-- Source password (no password here)-->
<parameter><null /></parameter>
- <!-- Target username -->
+ <!-- Target username (no username here)-->
<parameter><null /></parameter>
- <!-- Target password -->
+ <!-- Target password (no password here)-->
<parameter><null /></parameter>
<!-- Selector -->
<parameter><null /></parameter>
@@ -42,9 +42,9 @@
<parameter>1</parameter>
<!-- Maximum batch time (-1 means infinite) -->
<parameter>-1</parameter>
- <!-- Suscription name -->
+ <!-- Subscription name (no subscription name here)-->
<parameter><null /></parameter>
- <!-- client ID -->
+ <!-- client ID (no client ID here)-->
<parameter><null /></parameter>
<!-- concatenate JMS messageID to the target's message header -->
<parameter>true</parameter>
@@ -54,6 +54,7 @@
</property>
</bean>
+ <!-- SourceCFF describes the ConnectionFactory used to connect to the source destination -->
<bean name="SourceCFF" class="org.jboss.messaging.jms.bridge.impl.JNDIConnectionFactoryFactory">
<constructor>
<parameter>
@@ -63,6 +64,7 @@
</constructor>
</bean>
+ <!-- TargetCFF describes the ConnectionFactory used to connect to the target destination -->
<bean name="TargetCFF" class="org.jboss.messaging.jms.bridge.impl.JNDIConnectionFactoryFactory">
<constructor>
<parameter>
@@ -72,6 +74,7 @@
</constructor>
</bean>
+ <!-- SourceDestinationFactory describes the Destination used as the source -->
<bean name="SourceDestinationFactory" class="org.jboss.messaging.jms.bridge.impl.JNDIDestinationFactory">
<constructor>
<parameter>
@@ -81,6 +84,7 @@
</constructor>
</bean>
+ <!-- TargetDestinationFactory describes the Destination used as the target -->
<bean name="TargetDestinationFactory" class="org.jboss.messaging.jms.bridge.impl.JNDIDestinationFactory">
<constructor>
<parameter>
@@ -90,6 +94,8 @@
</constructor>
</bean>
+ <!-- JNDI is a Hashtable containing the JNDI properties required -->
+ <!-- to connect to the sources and targets JMS resrouces -->
<bean name="JNDI" class="java.util.Hashtable">
<constructor class="java.util.Map">
<map class="java.util.Hashtable" keyClass="java.lang.String"
Modified: trunk/examples/javaee/jms-bridge/readme.html
===================================================================
--- trunk/examples/javaee/jms-bridge/readme.html 2009-04-27 14:27:29 UTC (rev 6579)
+++ trunk/examples/javaee/jms-bridge/readme.html 2009-04-27 14:45:41 UTC (rev 6580)
@@ -43,10 +43,9 @@
<h3>JMS Bridge configuration</h3>
- <p>The JMS Bridge is configured using JBoss microcontainer.<br />
+ <p>The JMS Bridge is configured using JBoss microcontainer (<a href="config/jms-bridge-jboss-beans.xml">jms-bridge-jboss-beans.xml</a> contains comments about the various parameters
+ used to configure the bridge).<br />
To setup the bridge in JBoss AS 5, copy <a href="config/jms-bridge-jboss-beans.xml">jms-bridge-jboss-beans.xml</a> to <code>${JBOSS_HOME}/server/default-with-jbm2/deploy/</code></p>
-
- <p><span class="missing-doc">Explain the bridge configuration</span></p>
<h2>Example step-by-step</h2>
More information about the jboss-cvs-commits
mailing list