This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git
commit 7c3b394855d0141ebf08efe2bf7389026f819e13 Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Tue Sep 1 07:48:02 2020 +0200 Regen and sync properties --- camel-dependencies/pom.xml | 2 +- docs/components/modules/others/pages/main.adoc | 17 ++++++++++------- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/camel-dependencies/pom.xml b/camel-dependencies/pom.xml index 3d1d61c..e475d85 100644 --- a/camel-dependencies/pom.xml +++ b/camel-dependencies/pom.xml @@ -71,7 +71,7 @@ <awaitility-version>4.0.3</awaitility-version> <aws-java-sdk-swf-libs>1.11.22</aws-java-sdk-swf-libs> <aws-java-sdk-version>1.11.714</aws-java-sdk-version> - <aws-java-sdk2-version>2.14.7</aws-java-sdk2-version> + <aws-java-sdk2-version>2.14.8</aws-java-sdk2-version> <aws-xray-version>2.6.1</aws-xray-version> <axiom-version>1.2.14</axiom-version> <azure-eventhubs-checkpointstore-blob-version>1.1.2</azure-eventhubs-checkpointstore-blob-version> diff --git a/docs/components/modules/others/pages/main.adoc b/docs/components/modules/others/pages/main.adoc index 5b7ff5f..490d1dc 100644 --- a/docs/components/modules/others/pages/main.adoc +++ b/docs/components/modules/others/pages/main.adoc @@ -362,12 +362,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 @@ -375,11 +376,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]