You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by nf...@apache.org on 2019/12/17 09:47:25 UTC

[camel-k] 09/10: Related to #1143: restore groovy example because of https://github.com/apache/camel-k-runtime/pull/210

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

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

commit 424482cc9908b322246b54f85c773b259102b0eb
Author: Nicola Ferraro <ni...@gmail.com>
AuthorDate: Mon Dec 16 15:48:15 2019 +0100

    Related to #1143: restore groovy example because of https://github.com/apache/camel-k-runtime/pull/210
---
 docs/modules/ROOT/pages/languages/groovy.adoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/modules/ROOT/pages/languages/groovy.adoc b/docs/modules/ROOT/pages/languages/groovy.adoc
index b8e6c49..5232b6b 100644
--- a/docs/modules/ROOT/pages/languages/groovy.adoc
+++ b/docs/modules/ROOT/pages/languages/groovy.adoc
@@ -5,7 +5,7 @@ An integration written in Groovy looks very similar to a Java one except it can
 [source,groovy]
 ----
 from('timer:tick')
-    .process({ it.in.body = 'Hello Camel K!' } as Processor)
+    .process { it.in.body = 'Hello Camel K!' }
     .to('log:info')
 ----