[hornetq-commits] JBoss hornetq SVN: r8582 - in trunk: docs/user-manual/en and 2 other directories.

do-not-reply at jboss.org do-not-reply at jboss.org
Sat Dec 5 08:10:42 EST 2009


Author: timfox
Date: 2009-12-05 08:10:42 -0500 (Sat, 05 Dec 2009)
New Revision: 8582

Modified:
   trunk/docs/quickstart-guide/en/installation.xml
   trunk/docs/user-manual/en/using-server.xml
   trunk/examples/jms/non-transaction-failover/src/org/hornetq/jms/example/NonTransactionFailoverExample.java
   trunk/tests/src/org/hornetq/tests/integration/cluster/reattach/MultiThreadRandomReattachTestBase.java
Log:
a few tweaks to docs, examples and set its back to 5

Modified: trunk/docs/quickstart-guide/en/installation.xml
===================================================================
--- trunk/docs/quickstart-guide/en/installation.xml	2009-12-05 12:10:28 UTC (rev 8581)
+++ trunk/docs/quickstart-guide/en/installation.xml	2009-12-05 13:10:42 UTC (rev 8582)
@@ -105,9 +105,8 @@
                directory where you installed JBoss AS 5</para>
          </listitem>
          <listitem>
-            <para>run <literal>./build.sh</literal> (or <literal>build.bat</literal> if you
-            are on Windows) in HornetQ's <literal>config/jboss-as</literal>
-               directory</para>
+            <para>run <literal>./build.sh</literal> (or <literal>build.bat</literal> if you are on
+               Windows) in HornetQ's <literal>config/jboss-as</literal> directory</para>
          </listitem>
       </orderedlist>
       <para>This will create 2 new profiles in <literal>$JBOSS_HOME/server</literal>:</para>
@@ -131,8 +130,8 @@
       <note>
          <para>HornetQ can be deployed on AS 4 but isn't recommended</para>
       </note>
-      <para>As in AS 4, it is not shipped by default with the application server and you need to create
-         new AS 4 profiles to run AS 4 with HornetQ.</para>
+      <para>As in AS 4, it is not shipped by default with the application server and you need to
+         create new AS 4 profiles to run AS 4 with HornetQ.</para>
       <para>To create AS 4 profiles:</para>
       <orderedlist>
          <listitem>
@@ -144,7 +143,7 @@
          </listitem>
          <listitem>
             <para>run <literal><literal>./build.sh</literal> (or <literal>build.bat</literal> if you
-            are on Windows) as4</literal> in HornetQ's <literal>config/jboss-as</literal>
+                  are on Windows)</literal> in HornetQ's <literal>config/jboss-as</literal>
                directory</para>
          </listitem>
       </orderedlist>

Modified: trunk/docs/user-manual/en/using-server.xml
===================================================================
--- trunk/docs/user-manual/en/using-server.xml	2009-12-05 12:10:28 UTC (rev 8581)
+++ trunk/docs/user-manual/en/using-server.xml	2009-12-05 13:10:42 UTC (rev 8582)
@@ -101,11 +101,7 @@
     </section>
     <section>
         <title>System properties</title>
-        <para>HornetQ also takes a couple of Java system properties on the command line for
-            configuring logging properties</para>
-        <para>HornetQ uses JDK logging to minimise dependencies on other logging systems. JDK
-            logging can then be configured to delegate to some other framework, e.g. log4j if that's
-            what you prefer.</para>
+        <para>HornetQ can take a system property on the command line for configuring logging.</para>
         <para>For more information on configuring logging, please see <xref linkend="logging"
             />.</para>
     </section>

Modified: trunk/examples/jms/non-transaction-failover/src/org/hornetq/jms/example/NonTransactionFailoverExample.java
===================================================================
--- trunk/examples/jms/non-transaction-failover/src/org/hornetq/jms/example/NonTransactionFailoverExample.java	2009-12-05 12:10:28 UTC (rev 8581)
+++ trunk/examples/jms/non-transaction-failover/src/org/hornetq/jms/example/NonTransactionFailoverExample.java	2009-12-05 13:10:42 UTC (rev 8582)
@@ -23,6 +23,7 @@
 import javax.naming.InitialContext;
 
 import org.hornetq.common.example.HornetQExample;
+import org.hornetq.core.message.impl.MessageImpl;
 
 /**
  * A simple example that demonstrates failover of the JMS connection from one node to another
@@ -71,7 +72,7 @@
          for (int i = 0; i < numMessages; i++)
          {
             TextMessage message = session.createTextMessage("This is text message " + i);
-            producer.send(message);
+            
             System.out.println("Sent message: " + message.getText());
          }
 

Modified: trunk/tests/src/org/hornetq/tests/integration/cluster/reattach/MultiThreadRandomReattachTestBase.java
===================================================================
--- trunk/tests/src/org/hornetq/tests/integration/cluster/reattach/MultiThreadRandomReattachTestBase.java	2009-12-05 12:10:28 UTC (rev 8581)
+++ trunk/tests/src/org/hornetq/tests/integration/cluster/reattach/MultiThreadRandomReattachTestBase.java	2009-12-05 13:10:42 UTC (rev 8582)
@@ -1159,7 +1159,7 @@
 
    protected int getNumIterations()
    {
-      return 200000;
+      return 5;
    }
 
    @Override



More information about the hornetq-commits mailing list