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-k-runtime.git


The following commit(s) were added to refs/heads/master by this push:
     new ff22dcc  CAMEL-15071: Attempt to fix doc warning
ff22dcc is described below

commit ff22dccc89f8245a2ec1fe2ec07775b0a3726136
Author: Claus Ibsen <claus.ib...@gmail.com>
AuthorDate: Sat May 16 20:28:52 2020 +0200

    CAMEL-15071: Attempt to fix doc warning
---
 docs/modules/languages/pages/kotlin.adoc | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/docs/modules/languages/pages/kotlin.adoc 
b/docs/modules/languages/pages/kotlin.adoc
index 0428516..fe9aefe 100644
--- a/docs/modules/languages/pages/kotlin.adoc
+++ b/docs/modules/languages/pages/kotlin.adoc
@@ -33,27 +33,27 @@ To register beans as you would do with a Camel registry you 
can use the Beans DS
 [source,kotlin]
 ----
 beans {
-    bean<org.apache.commons.dbcp2.BasicDataSource>("dataSource") {
+    bean<org.apache.commons.dbcp2.BasicDataSource>("dataSource") { <1>
         driverClassName = "org.h2.Driver"
         url = "jdbc:h2:mem:camel"
         username = "sa"
         password = ""
     }
 
-    bean("filterStrategy") {
+    bean("filterStrategy") { <1>
         org.apache.camel.support.DefaultHeaderFilterStrategy()
     }
 
-    processor("myProcessor") {
+    processor("myProcessor") { <2>
         it.getIn().body = "Hello"
     }
 
-    predicate("myPredicate") {
+    predicate("myPredicate") { <3>
         false
     }
 }
 ----
-<1> bind a simple bean to the context
+<1> bind beans to the context for the database and filter strategy
 <2> define a custom processor to be used later in the routes by ref
 <3> define a custom predicate to be used later in the routes by ref
 

Reply via email to