You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by ge...@apache.org on 2009/09/25 23:55:16 UTC

svn commit: r819040 - in /servicemix/smx4/nmr/trunk/examples: cluster/README.txt interceptors/endpoint/README.txt interceptors/exchange/README.txt nmr/README.txt

Author: gertv
Date: Fri Sep 25 21:55:15 2009
New Revision: 819040

URL: http://svn.apache.org/viewvc?rev=819040&view=rev
Log:
SMX4NMR-158: Updating the README.txt files of the examples in the NMR kit

Modified:
    servicemix/smx4/nmr/trunk/examples/cluster/README.txt
    servicemix/smx4/nmr/trunk/examples/interceptors/endpoint/README.txt
    servicemix/smx4/nmr/trunk/examples/interceptors/exchange/README.txt
    servicemix/smx4/nmr/trunk/examples/nmr/README.txt

Modified: servicemix/smx4/nmr/trunk/examples/cluster/README.txt
URL: http://svn.apache.org/viewvc/servicemix/smx4/nmr/trunk/examples/cluster/README.txt?rev=819040&r1=819039&r2=819040&view=diff
==============================================================================
--- servicemix/smx4/nmr/trunk/examples/cluster/README.txt (original)
+++ servicemix/smx4/nmr/trunk/examples/cluster/README.txt Fri Sep 25 21:55:15 2009
@@ -54,13 +54,14 @@
 
 First, run "mvn install" in this examples folder, then copy the contents of the "target/instances" 
 folder from this example into the installation directory of ServiceMix.
+
 Note that the cluster.xml files refer to the release of ServiceMix Features project.  The default 
-version used in this example is 4.0.0, but if this version has not been released yet, you need
-to edit the pom.xml and replace the <properties><servicemix.features.version> text element with
-a valid version, for example 4.0-m2-SNAPSHOT.
+version used in this example is 4.0.0, but if this example is shipped with ServiceMix
+you need to edit the pom.xml and replace the <properties><servicemix.features.version> text element
+with the version of ServiceMix.  
 
 You should have the following tree:
-  + apache-servicemix-nmr
+  + apache-servicemix-xxx
   |-- ant
   |-- bin
   |-- etc
@@ -86,26 +87,28 @@
 See the ActiveMQ web site (http://activemq.apache.org/networks-of-brokers.html) for more
 informations.
 
+If this example is shipped with ServiceMix , you can skip the below features:addUrl and activemq:create-broker command.
+
 Note that the maven url below may need to be changed.  It is pointing to the released version
-of Apache ServiceMix 4.x and the version may need to be modified (if the 4.0.0 version has not
-been released yet, you need to change it to a snapshot version). Something like:
-   mvn:org.apache.servicemix.features/apache-servicemix/4.0-m2-SNAPSHOT/xml/features
-
-smx@root:/> features/addUrl mvn:org.apache.servicemix.features/apache-servicemix/4.0.0/xml/features
-smx@root:/> features/install activemq
-smx@root:/> activemq/create-broker
+of Apache ServiceMix 4.x and the version may need to be modified. Something like:
+   mvn:org.apache.servicemix.features/apache-servicemix/4.0.0/xml/features
+
+smx@root:/> features:addUrl mvn:org.apache.servicemix.features/apache-servicemix/4.0.0/xml/features
+
+smx@root:/> features:install activemq
+smx@root:/> activemq:create-broker
 
 Then, create two new instances of ServiceMix Kernel and start then using the following commands:
 
-smx@root:/> admin/create smx1
-smx@root:/> admin/start smx1
-smx@root:/> admin/create smx2
-smx@root:/> admin/start smx2
+smx@root:/> admin:create smx1
+smx@root:/> admin:start smx1
+smx@root:/> admin:create smx2
+smx@root:/> admin:start smx2
 
 Wait for the two new instances to be fully started.  This can be easily checked by running the
 following command:
 
-smx@root:/> admin/list
+smx@root:/> admin:list
 
 Both instances should be displayed as either "Starting" or "Started", so you just need to wait
 a bit until both are displayed as "Started".
@@ -115,8 +118,8 @@
 Now, we can make sure the example is working as designed by connecting to the "smx2" instance
 and checking the log.
 
-smx:root:/> admin/connect smx2
-smx:smx2:/> ld | grep Exchange
+smx:root:/> admin:connect smx2
+smx:smx2:/> log:display | grep Exchange
 
 You should see a list of log statements, one for each message received from the "smx1" instance.
 

Modified: servicemix/smx4/nmr/trunk/examples/interceptors/endpoint/README.txt
URL: http://svn.apache.org/viewvc/servicemix/smx4/nmr/trunk/examples/interceptors/endpoint/README.txt?rev=819040&r1=819039&r2=819040&view=diff
==============================================================================
--- servicemix/smx4/nmr/trunk/examples/interceptors/endpoint/README.txt (original)
+++ servicemix/smx4/nmr/trunk/examples/interceptors/endpoint/README.txt Fri Sep 25 21:55:15 2009
@@ -21,8 +21,8 @@
 Quick steps to install this example
 -------------------------------------
 
-Launch the ServiceMix Kernel by running
-  bin/karaf
+Launch the container by running
+  bin/servicemix, bin/nmr or bin/karaf
 in the root dir of this distribution.
 
 run:

Modified: servicemix/smx4/nmr/trunk/examples/interceptors/exchange/README.txt
URL: http://svn.apache.org/viewvc/servicemix/smx4/nmr/trunk/examples/interceptors/exchange/README.txt?rev=819040&r1=819039&r2=819040&view=diff
==============================================================================
--- servicemix/smx4/nmr/trunk/examples/interceptors/exchange/README.txt (original)
+++ servicemix/smx4/nmr/trunk/examples/interceptors/exchange/README.txt Fri Sep 25 21:55:15 2009
@@ -21,8 +21,8 @@
 Quick steps to install this example
 -------------------------------------
 
-Launch the ServiceMix Kernel by running
-  bin/karaf
+Launch the container by running
+  bin/servicemix, bin/nmr or bin/karaf
 in the root dir of this distribution.
 
 run:

Modified: servicemix/smx4/nmr/trunk/examples/nmr/README.txt
URL: http://svn.apache.org/viewvc/servicemix/smx4/nmr/trunk/examples/nmr/README.txt?rev=819040&r1=819039&r2=819040&view=diff
==============================================================================
--- servicemix/smx4/nmr/trunk/examples/nmr/README.txt (original)
+++ servicemix/smx4/nmr/trunk/examples/nmr/README.txt Fri Sep 25 21:55:15 2009
@@ -32,8 +32,8 @@
 ---------------------------------
 cd this example folder
 mvn install
-Launch the karaf by running
-  bin/karaf
+Launch the container by running
+  bin/servicemix, bin/nmr or bin/karaf
 in the root dir of this distribution.
 
 When inside the console, just run the following commands to install the