[jboss-cvs] JBoss Messaging SVN: r6877 - in trunk/docs/user-manual/en: modules and 1 other directory.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue May 19 08:15:02 EDT 2009


Author: jmesnil
Date: 2009-05-19 08:15:01 -0400 (Tue, 19 May 2009)
New Revision: 6877

Modified:
   trunk/docs/user-manual/en/master.xml
   trunk/docs/user-manual/en/modules/appserver-integration.xml
   trunk/docs/user-manual/en/modules/using-jms.xml
Log:
user manual

* xa recovery section in appserver-integration chapter

Modified: trunk/docs/user-manual/en/master.xml
===================================================================
--- trunk/docs/user-manual/en/master.xml	2009-05-19 12:12:07 UTC (rev 6876)
+++ trunk/docs/user-manual/en/master.xml	2009-05-19 12:15:01 UTC (rev 6877)
@@ -41,7 +41,6 @@
         <!ENTITY using-jms               SYSTEM "modules/using-jms.xml">        
         <!ENTITY using-server            SYSTEM "modules/using-server.xml">
         <!ENTITY wildcard-syntax         SYSTEM "modules/wildcard-syntax.xml">
-        <!ENTITY xa-recovery             SYSTEM "modules/xa-recovery.xml">
         ]>
 <book lang="en">
    <bookinfo>
@@ -84,7 +83,6 @@
    &pre-acknowledge;
    &client-reconnection;
    &appserver-integration;
-   &xa-recovery;
    &core-bridges;
    &duplicate-detection;
    &clusters;

Modified: trunk/docs/user-manual/en/modules/appserver-integration.xml
===================================================================
--- trunk/docs/user-manual/en/modules/appserver-integration.xml	2009-05-19 12:12:07 UTC (rev 6876)
+++ trunk/docs/user-manual/en/modules/appserver-integration.xml	2009-05-19 12:15:01 UTC (rev 6877)
@@ -652,6 +652,49 @@
                         depending on your specific application.</para>
                 </note>
             </section>
+            
+            <section>
+               <title>Example</title>
+               <para>The <literal>javaee/jms-bridge</literal> example shows
+                  how to configure and use a JMS Bridge to send messages to the source destination
+                  and consume them from the target destination.</para>
+            </section>
+            
         </section>
-    </section>
+   </section>
+     
+   <section id="xa-recovery">
+      <title>XA Recovery</title>
+      <para>When JBoss Messaging is integrated with JBoss AS, it can take advantage of JBoss Transactions
+         to provide <emphasis>XA Recovery</emphasis>. If messages are involved in a XA transaction, in the
+         event of a server crash, the recovery Manager will ensure that the messages will be properly redelivered
+         when the server is restarted.</para>
+      
+      <section>
+         <title>XA Recovery Configuration</title>
+         <para>To enable JBoss Messaging's XA Recovery, the following property must be added to
+            the <literal>jta</literal> section of <literal>conf/jbossts-properties.xml</literal> of JBoss AS profiles:</para>
+         <programlisting>
+   &lt;properties depends="arjuna" name="jta"&gt;
+      ...
+                     
+      &lt;property name="com.arjuna.ats.jta.recovery.XAResourceRecovery.JBMESSAGING1"
+               value="org.jboss.messaging.jms.server.recovery.MessagingXAResourceRecovery;java:/XAConnectionFactory"/&gt;
+   &lt;/properties&gt;
+         </programlisting>
+      
+         <para>This informs the recovery manager that it can recovers JBoss Messaging XA 
+            Resources using the <literal>XAConnectionFactory</literal> bound to <literal>java:/XAConnectionFactory</literal> in JNDI.
+            A ConnectionFactory must have been configured with this JNDI name in <literal>jbm-jms.xml</literal> (see <xref linkend="using-jms.server.configuration" />).</para>
+         <para>Please note that to configure the recovery manager to recovery transactions from any node of the cluster it will be
+            necessary to specify this property for every node of the cluster</para>
+      </section>
+      
+      <section>
+         <title>Example</title>
+         <para>The <literal>javaee/xarecovery</literal> example shows
+            how to configure XA Recovery and recover messages after a server crash.</para>
+      </section>
+      
+   </section>         
 </chapter>

Modified: trunk/docs/user-manual/en/modules/using-jms.xml
===================================================================
--- trunk/docs/user-manual/en/modules/using-jms.xml	2009-05-19 12:12:07 UTC (rev 6876)
+++ trunk/docs/user-manual/en/modules/using-jms.xml	2009-05-19 12:15:01 UTC (rev 6877)
@@ -27,7 +27,7 @@
             it from the client.</para>
         <para/>
     </section>
-    <section>
+    <section id="using-jms.server.configuration">
         <title>JMS Server Configuration</title>
         <para>The file <literal>jbm-jms.xml</literal> on the server classpath contains any JMS
             Queue, Topic and ConnectionFactory instances that we wish to pre-deploy into the JNDI




More information about the jboss-cvs-commits mailing list