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

jiriondrusek pushed a commit to branch camel-main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git

commit d9ae1e06802826f1a394007a9e45bea067b729ee
Author: JiriOndrusek <ondrusek.j...@gmail.com>
AuthorDate: Fri Feb 9 13:00:47 2024 +0100

    Fixed groovy-dsl because of more strict languages
---
 .../resources/routes/routes-with-languages-configuration.groovy  | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git 
a/integration-tests/groovy-dsl/src/main/resources/routes/routes-with-languages-configuration.groovy
 
b/integration-tests/groovy-dsl/src/main/resources/routes/routes-with-languages-configuration.groovy
index 11039543b6..7339de1b0e 100644
--- 
a/integration-tests/groovy-dsl/src/main/resources/routes/routes-with-languages-configuration.groovy
+++ 
b/integration-tests/groovy-dsl/src/main/resources/routes/routes-with-languages-configuration.groovy
@@ -17,14 +17,13 @@
 import org.apache.camel.language.bean.BeanLanguage
 
 camel {
+
     languages {
-        bean {
-            beanType = String.class
-            method = "toUpperCase"
+        bean(BeanLanguage) {
+            validate = false
         }
         myBean(BeanLanguage) {
-            beanType = String.class
-            method = "toLowerCase"
+            validate = true
         }
     }
 }

Reply via email to