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 f4d7c039a57a01f4bf675330d5af30eb319ad98c
Author: JiriOndrusek <ondrusek.j...@gmail.com>
AuthorDate: Thu Feb 8 16:18:11 2024 +0100

    fix of kotlin dsl probably because of CAMEL-20333
---
 .../routes/routes-with-languages-configuration.kts         | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)

diff --git 
a/integration-tests/kotlin-dsl/src/main/resources/routes/routes-with-languages-configuration.kts
 
b/integration-tests/kotlin-dsl/src/main/resources/routes/routes-with-languages-configuration.kts
index 6988090338..fa073ec5fe 100644
--- 
a/integration-tests/kotlin-dsl/src/main/resources/routes/routes-with-languages-configuration.kts
+++ 
b/integration-tests/kotlin-dsl/src/main/resources/routes/routes-with-languages-configuration.kts
@@ -19,17 +19,15 @@ import org.apache.camel.language.bean.BeanLanguage
 camel {
     languages {
         language<BeanLanguage>("bean") {
-            beanType = String::class.java
-            method = "toUpperCase"
+            isValidate = false
         }
         language<BeanLanguage>("my-bean") {
-            beanType = String::class.java
-            method = "toLowerCase"
+            isValidate = true
         }
     }
 }
 from("direct:routes-with-languages-configuration")
-    .id("routes-with-languages-configuration")
-    .process().message {
-        m -> m.body = m.exchange.context.getRegistry().lookupByName("my-bean") 
!= null
-    }
+        .id("routes-with-languages-configuration")
+        .process().message {
+            m -> m.body = 
m.exchange.context.getRegistry().lookupByName("my-bean") != null
+        }

Reply via email to