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 2020/09/01 04:53:16 UTC

[camel] 02/02: Regen

This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 10a26b5ca695f096a06911d2b62dd7aa31fa1eba
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Tue Sep 1 06:52:44 2020 +0200

    Regen
---
 core/camel-main/src/main/docs/main.adoc        | 17 ++++++++++-------
 docs/components/modules/others/pages/main.adoc | 17 +++++++----------
 2 files changed, 17 insertions(+), 17 deletions(-)

diff --git a/core/camel-main/src/main/docs/main.adoc b/core/camel-main/src/main/docs/main.adoc
index ca16c36..cf563e1 100644
--- a/core/camel-main/src/main/docs/main.adoc
+++ b/core/camel-main/src/main/docs/main.adoc
@@ -360,12 +360,13 @@ Maps have a special syntax with brackets as shown below:
 
 [source,properties]
 ----
-camel.beans.company[name] = Acme
-camel.beans.company[country] = USA
-camel.beans.company[zip] = 92010
+camel.beans.mymap[table] = 12
+camel.beans.mymap[food] = Big Burger
+camel.beans.mymap[cheese] = yes
+camel.beans.mymap[quantity] = 1
 ----
 
-The Map is registered in the Camel Registry with the name `company`.
+The Map is registered in the Camel Registry with the name `mymap`.
 
 == Defining a List bean
 
@@ -373,11 +374,13 @@ This is similar to Map bean where the key is the index, eg 0, 1, 2, etc:
 
 [source,properties]
 ----
-camel.beans.projects[0] = Camel
-camel.beans.projects[1] = Kafka
-camel.beans.projects[2] = Quarkus
+camel.beans.myprojects[0] = Camel
+camel.beans.myprojects[1] = Kafka
+camel.beans.myprojects[2] = Quarkus
 ----
 
+The List is registered in the Camel Registry with the name `myprojects`.
+
 == Examples
 
 You can find a set of examples using `camel-main` in https://github.com/apache/camel-examples[Camel Examples]
diff --git a/docs/components/modules/others/pages/main.adoc b/docs/components/modules/others/pages/main.adoc
index 490d1dc..5b7ff5f 100644
--- a/docs/components/modules/others/pages/main.adoc
+++ b/docs/components/modules/others/pages/main.adoc
@@ -362,13 +362,12 @@ Maps have a special syntax with brackets as shown below:
 
 [source,properties]
 ----
-camel.beans.mymap[table] = 12
-camel.beans.mymap[food] = Big Burger
-camel.beans.mymap[cheese] = yes
-camel.beans.mymap[quantity] = 1
+camel.beans.company[name] = Acme
+camel.beans.company[country] = USA
+camel.beans.company[zip] = 92010
 ----
 
-The Map is registered in the Camel Registry with the name `mymap`.
+The Map is registered in the Camel Registry with the name `company`.
 
 == Defining a List bean
 
@@ -376,13 +375,11 @@ This is similar to Map bean where the key is the index, eg 0, 1, 2, etc:
 
 [source,properties]
 ----
-camel.beans.myprojects[0] = Camel
-camel.beans.myprojects[1] = Kafka
-camel.beans.myprojects[2] = Quarkus
+camel.beans.projects[0] = Camel
+camel.beans.projects[1] = Kafka
+camel.beans.projects[2] = Quarkus
 ----
 
-The List is registered in the Camel Registry with the name `myprojects`.
-
 == Examples
 
 You can find a set of examples using `camel-main` in https://github.com/apache/camel-examples[Camel Examples]