[hornetq-commits] JBoss hornetq SVN: r7997 - trunk/docs/user-manual/en.

do-not-reply at jboss.org do-not-reply at jboss.org
Mon Sep 28 04:59:12 EDT 2009


Author: jmesnil
Date: 2009-09-28 04:59:11 -0400 (Mon, 28 Sep 2009)
New Revision: 7997

Modified:
   trunk/docs/user-manual/en/embedding-hornetq.xml
Log:
documentation update

* replaced occurrences of Messaging & MessagingServer types by
  HornetQ & HornetQServer


Modified: trunk/docs/user-manual/en/embedding-hornetq.xml
===================================================================
--- trunk/docs/user-manual/en/embedding-hornetq.xml	2009-09-26 01:59:13 UTC (rev 7996)
+++ trunk/docs/user-manual/en/embedding-hornetq.xml	2009-09-28 08:59:11 UTC (rev 7997)
@@ -64,20 +64,20 @@
 
 config.setAcceptorConfigurations(transports);</programlisting>
         <para>You need to instantiate and start HornetQ server. The class <literal
-                >org.hornetq.core.server.Messaging</literal> has a few static methods for creating
+                >org.hornetq.core.server.HornetQ</literal> has a few static methods for creating
             servers with common configurations.</para>
-        <programlisting>import org.hornetq.core.server.Messaging;
-import org.hornetq.core.server.MessagingServer;
+        <programlisting>import org.hornetq.core.server.HornetQ;
+import org.hornetq.core.server.HornetQServer;
 
 ...
 
-MessagingServer server = Messaging.newMessagingServer(config);
+HornetQServer server = HornetQ.newHornetQServer(config);
 
 server.start();</programlisting>
-        <para>You also have the option of instantiating <literal>MessagingServerImpl</literal>
+        <para>You also have the option of instantiating <literal>HornetQServerImpl</literal>
             directly:</para>
-        <programlisting>MessagingServer server = 
-        new MessagingServerImpl(config);
+        <programlisting>HornetQServer server = 
+        new HornetQServerImpl(config);
 server.start();</programlisting>
     </section>
     <section>
@@ -89,7 +89,7 @@
             part of the HornetQ distribution provide a very complete implementation of what's needed
             to bootstrap the server using JBoss Micro Container. </para>
         <para>When using JBoss Micro Container, you need to provide an XML file declaring the
-                <literal>MessagingServer</literal> and <literal>Configuration</literal> object, you
+                <literal>HornetQServer</literal> and <literal>Configuration</literal> object, you
             can also inject a security manager and a MBean server if you want, but those are
             optional.</para>
         <para>A very basic XML Bean declaration for the JBoss Micro Container would be:</para>
@@ -103,8 +103,8 @@
    &lt;/bean>
 
    	&lt;!-- The core server -->
-   &lt;bean name="MessagingServer" 
-         class="org.hornetq.core.server.impl.MessagingServerImpl">      
+   &lt;bean name="HornetQServer" 
+         class="org.hornetq.core.server.impl.HornetQServerImpl">      
       &lt;constructor>
          &lt;parameter>
             &lt;inject bean="Configuration"/>



More information about the hornetq-commits mailing list