You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2016/02/23 13:22:51 UTC

[4/6] camel git commit: Polish Camel CDI examples READMEs

Polish Camel CDI examples READMEs


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/b7e661f1
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/b7e661f1
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/b7e661f1

Branch: refs/heads/master
Commit: b7e661f16848d14703c4ef0f5c37c2e460618a75
Parents: a037971
Author: Antonin Stefanutti <an...@stefanutti.fr>
Authored: Tue Feb 23 13:02:24 2016 +0100
Committer: Antonin Stefanutti <an...@stefanutti.fr>
Committed: Tue Feb 23 13:02:24 2016 +0100

----------------------------------------------------------------------
 examples/camel-example-cdi-metrics/README.md    | 10 ++++--
 examples/camel-example-cdi-osgi/README.md       |  2 +-
 examples/camel-example-cdi-properties/README.md | 10 ++++--
 .../camel-example-cdi-rest-servlet/README.md    | 10 ++++--
 examples/camel-example-cdi/README.md            | 32 +++++++++++---------
 5 files changed, 40 insertions(+), 24 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/b7e661f1/examples/camel-example-cdi-metrics/README.md
----------------------------------------------------------------------
diff --git a/examples/camel-example-cdi-metrics/README.md b/examples/camel-example-cdi-metrics/README.md
index bf161d1..ecf330d 100644
--- a/examples/camel-example-cdi-metrics/README.md
+++ b/examples/camel-example-cdi-metrics/README.md
@@ -24,13 +24,17 @@ of generated events.
 
 You will need to build this example first:
 
-    mvn install
+```sh
+$ mvn install
+```
 
 ### Run
 
 You can run this example using:
 
-    mvn compile camel:run
+```sh
+$ mvn compile camel:run
+```
 
 When the Camel application runs, you should see the calls to the 'unreliable-service' being logged to the console, e.g.:
 ```
@@ -64,7 +68,7 @@ The Camel application can be stopped pressing <kbd>ctrl</kbd>+<kbd>c</kbd> in th
 ### Forum, Help, etc
 
 If you hit an problems please let us know on the Camel Forums
-	<http://camel.apache.org/discussion-forums.html>
+<http://camel.apache.org/discussion-forums.html>
 
 Please help us make Apache Camel better - we appreciate any feedback you may have. Enjoy!
 

http://git-wip-us.apache.org/repos/asf/camel/blob/b7e661f1/examples/camel-example-cdi-osgi/README.md
----------------------------------------------------------------------
diff --git a/examples/camel-example-cdi-osgi/README.md b/examples/camel-example-cdi-osgi/README.md
index 3d8d740..f1c6db6 100644
--- a/examples/camel-example-cdi-osgi/README.md
+++ b/examples/camel-example-cdi-osgi/README.md
@@ -193,7 +193,7 @@ shutdown:
 ### Forum, Help, etc
 
 If you hit an problems please let us know on the Camel Forums
-    <http://camel.apache.org/discussion-forums.html>
+<http://camel.apache.org/discussion-forums.html>
 
 Please help us make Apache Camel better - we appreciate any feedback you may have. Enjoy!
 

http://git-wip-us.apache.org/repos/asf/camel/blob/b7e661f1/examples/camel-example-cdi-properties/README.md
----------------------------------------------------------------------
diff --git a/examples/camel-example-cdi-properties/README.md b/examples/camel-example-cdi-properties/README.md
index 8099292..2eb2328 100644
--- a/examples/camel-example-cdi-properties/README.md
+++ b/examples/camel-example-cdi-properties/README.md
@@ -21,13 +21,17 @@ though you can run the application in any CDI compliant container.
 
 You will need to build this example first:
 
-    mvn install
+```sh
+$ mvn install
+```
 
 ### Run
 
 You can run this example using:
 
-    mvn compile camel:run
+```sh
+$ mvn compile camel:run
+```
 
 When the Camel application runs, you should see the following messages
 being logged to the console, e.g.:
@@ -46,7 +50,7 @@ The Camel application can be stopped pressing <kbd>ctrl</kbd>+<kbd>c</kbd> in th
 ### Forum, Help, etc
 
 If you hit an problems please let us know on the Camel Forums
-	<http://camel.apache.org/discussion-forums.html>
+<http://camel.apache.org/discussion-forums.html>
 
 Please help us make Apache Camel better - we appreciate any feedback you may have. Enjoy!
 

http://git-wip-us.apache.org/repos/asf/camel/blob/b7e661f1/examples/camel-example-cdi-rest-servlet/README.md
----------------------------------------------------------------------
diff --git a/examples/camel-example-cdi-rest-servlet/README.md b/examples/camel-example-cdi-rest-servlet/README.md
index 9355282..e3211dd 100644
--- a/examples/camel-example-cdi-rest-servlet/README.md
+++ b/examples/camel-example-cdi-rest-servlet/README.md
@@ -19,13 +19,17 @@ in any CDI compliant container and Servlet container.
 
 You can build this example using:
 
-    mvn package
+```sh
+$ mvn package
+```
 
 ### Run
 
 You can run this example using:
 
-    mvn jetty:run
+```sh
+$ mvn jetty:run
+```
 
 When the Camel application runs, you should see the following messages
 being logged to the console, e.g.:
@@ -72,7 +76,7 @@ The Camel application can be stopped pressing <kbd>ctrl</kbd>+<kbd>c</kbd> in th
 ### Forum, Help, etc
 
 If you hit an problems please let us know on the Camel Forums
-	<http://camel.apache.org/discussion-forums.html>
+<http://camel.apache.org/discussion-forums.html>
 
 Please help us make Apache Camel better - we appreciate any feedback you may have. Enjoy!
 

http://git-wip-us.apache.org/repos/asf/camel/blob/b7e661f1/examples/camel-example-cdi/README.md
----------------------------------------------------------------------
diff --git a/examples/camel-example-cdi/README.md b/examples/camel-example-cdi/README.md
index e1e0ed8..da83e75 100644
--- a/examples/camel-example-cdi/README.md
+++ b/examples/camel-example-cdi/README.md
@@ -5,35 +5,39 @@
 This example shows how to work with Camel using CDI to configure components,
 endpoints and beans.
 
-A timer triggers a Camel route to run every 5th second which creates a message that is logged to the console.
+A timer triggers a Camel route to run every 5th second which creates a message
+that is logged to the console.
 
 ### Build
 
 You will need to compile this example first:
-  
-	mvn compile
+
+```sh
+$ mvn compile
+```
 
 ### Run
 
-To run the example type
-  
-	mvn camel:run
-  
+To run the example, type:
+
+```sh
+$ mvn camel:run
+```
+
 You can see the routing rules by looking at the java code in the
-  `src/main/java` directory
+`src/main/java` directory.
 
-  To stop the example hit <kbd>ctrl</kbd>+<kbd>c</kbd>
-  
-When we launch the example using the camel maven plugin, a local CDI container
+To stop the example hit <kbd>ctrl</kbd>+<kbd>c</kbd>.
+
+When we launch the example using the Camel Maven plugin, a standalone CDI container
 is created and started.
 
 ### Forum, Help, etc 
 
 If you hit an problems please let us know on the Camel Forums
-  <http://camel.apache.org/discussion-forums.html>
+<http://camel.apache.org/discussion-forums.html>
 
 Please help us make Apache Camel better - we appreciate any feedback you may
-have.  Enjoy!
-
+have. Enjoy!
 
 The Camel riders!