Author: ningjiang Date: Thu Dec 29 07:32:43 2011 New Revision: 1225458 URL: http://svn.apache.org/viewvc?rev=1225458&view=rev Log: CAMEL-4838 fix the typos of the camel-example-loadbalanceing README file with thanks to Glen
Modified: camel/trunk/examples/camel-example-loadbalancing/README.txt Modified: camel/trunk/examples/camel-example-loadbalancing/README.txt URL: http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-loadbalancing/README.txt?rev=1225458&r1=1225457&r2=1225458&view=diff ============================================================================== --- camel/trunk/examples/camel-example-loadbalancing/README.txt (original) +++ camel/trunk/examples/camel-example-loadbalancing/README.txt Thu Dec 29 07:32:43 2011 @@ -1,29 +1,29 @@ Load balancing with MINA Example ================================ -This example show how you can easily use the camel-mina component to design a solution -allowing to distribute message workload on several servers. -These servers are simple TCP/IP servers created by the Apache MINA framework and running in -separate JVMs. The load balancer pattern of Camel which is used top of them allows to -send in a Round Robin model mode the messages created from a camel Bean component -respectively to each server running on localhost:9991 and localhost:9992. - -The demo starts when every 5th seconds, a Report object is created from the camel load balancer server. -This object is send by the camel load balancer to a MINA server and object is serialized. -One of the two MINA servers (localhost:9991 and localhost:9992) receives the object and enrich the message -by setting the field reply of the Report object. The reply is send back by the MINA server to the client, -which then logs the reply on the console. +This example shows how you can easily use the Camel-MINA component to design a solution +allowing for distributing message workload onto several servers. +These servers are simple TCP/IP servers created by the Apache MINA framework and run in +separate JVMs. The load balancer pattern of Camel which is used on top of them allows for +sending in Round Robin mode the messages created from a Camel Bean component +alternatively between each server running on localhost:9991 and localhost:9992. + +Within this demo every five seconds, a Report object is created from the Camel load balancer server. +This object is sent by the Camel load balancer to a MINA server where the object is then serialized. +One of the two MINA servers (localhost:9991 and localhost:9992) receives the object and enriches +the message by setting the field reply of the Report object. The reply is sent back by the MINA +server to the client, which then logs the reply on the console. Running the example =================== -To compile and install the project in your maven repo, execute the following command on the -root of the project +To compile and install the project in your maven repo, execute the following +command on the root of the project mvn clean install -To run the example, execute now the following command in the respective folder: +To run the example, then execute the following command in the respective folder: >mina1 mvn exec:java -Pmina1 @@ -38,11 +38,12 @@ mvn exec:java -Ploadbalancer This example is documented at http://camel.apache.org/loadbalancing-mina-example.html -If you hit an problems please let us know on the Camel Forums +If you hit any problems please let us know on the Camel Forums http://camel.apache.org/discussion-forums.html Please help us make Apache Camel better - we appreciate any feedback you may have. Enjoy! ------------------------ -The Camel riders! +The Camel Riders! +