You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2023/03/24 06:06:07 UTC
[camel-examples] branch main updated: Documentation updates (#124)
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-examples.git
The following commit(s) were added to refs/heads/main by this push:
new 7c03e857 Documentation updates (#124)
7c03e857 is described below
commit 7c03e8575597cc9e7ec7de9d8b1ccbcb65f4c04c
Author: Siva Kumar Edupuganti <es...@gmail.com>
AuthorDate: Thu Mar 23 23:06:01 2023 -0700
Documentation updates (#124)
* Update README.adoc
* Update README.adoc
* Update README.adoc
* Update README.adoc
---
examples/as2/README.adoc | 2 +-
examples/basic/README.adoc | 2 +-
examples/couchbase-log/README.adoc | 4 ++--
examples/csimple/README.adoc | 2 +-
4 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/examples/as2/README.adoc b/examples/as2/README.adoc
index ac011046..f165995e 100644
--- a/examples/as2/README.adoc
+++ b/examples/as2/README.adoc
@@ -4,7 +4,7 @@
This example shows how to work with AS2 and Camel.
-The Camel AS2 example is a demo of the camel-as2 component to show how
+The Camel AS2 example is a demo of the `camel-as2` component to show how
to route messages between AS2 endpoints, with endpoints consuming and
producing AS2 messages over HTTP request.
diff --git a/examples/basic/README.adoc b/examples/basic/README.adoc
index 54079d1e..6e664830 100644
--- a/examples/basic/README.adoc
+++ b/examples/basic/README.adoc
@@ -5,7 +5,7 @@
This is a very basic example that shows how to get started with Camel.
This example shows you that Camel can be used in standalone mode
-as a _public static void main_ application.
+as a `_public static void main_` application.
The example has only 1 java file in the link:../basic/src/main/java/org/apache/camel/example/basic/CamelBasic.java[`CamelBasic.java`] located in the src folder.
There is code comments explaining in more details.
diff --git a/examples/couchbase-log/README.adoc b/examples/couchbase-log/README.adoc
index 36b4b072..edef5e36 100644
--- a/examples/couchbase-log/README.adoc
+++ b/examples/couchbase-log/README.adoc
@@ -3,7 +3,7 @@
This example shows how to use the Camel Main module
to define a route from Couchbase to Log.
-Set your application.properties options correctly.
+Set your `application.properties` options correctly.
You'll need also a running couchbase server.
=== Setting up the Couchbase Container
@@ -15,7 +15,7 @@ First run the container
docker run -d --name db -p 8091-8094:8091-8094 -p 11210:11210 couchbase:7.0.3
----
-Now go to localhost:8091 and create a new cluster with username/password admin/password
+Now go to `localhost:8091` and create a new cluster with username/password admin/password
Use the sample bucket beer-sample to populate the bucket.
diff --git a/examples/csimple/README.adoc b/examples/csimple/README.adoc
index 9d4e1764..22ac6c58 100644
--- a/examples/csimple/README.adoc
+++ b/examples/csimple/README.adoc
@@ -2,7 +2,7 @@
This example shows using csimple (compiled simple) scripting language in your Camel routes.
-A maven plugin (configured in pom.xml) detects the csimple scripts from the project source code and then generate Java source code in `src/generated/java` folder which then gets compiled with the regular Java compiler.
+A maven plugin (configured in `pom.xml`) detects the csimple scripts from the project source code and then generate Java source code in `src/generated/java` folder which then gets compiled with the regular Java compiler.
This makes the csimple language native Java compiled, with no runtime overhead.
The generated source code in `src/generated/java` is just regular Java source code and you can therefore debug the code. You can try this by loading the project into a Java IDE, and then launch the application in debug mode from the `MyApplication` class. You can then set breakpoints in the generated source code in the `src/generated/java` folder.