You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ji...@apache.org on 2024/02/09 12:01:08 UTC
(camel-quarkus) 02/02: Fixed groovy-dsl because of more strict languages
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 e0ca52e2eddff20e990639ef639ae5cbd16412d3
Author: JiriOndrusek <on...@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
}
}
}