You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2023/11/21 12:46:53 UTC
(camel-kamelets-examples) branch main updated: CAMEL-20137: camel-joor - Use java as the language name (it is java code) as joor is confusing.
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-kamelets-examples.git
The following commit(s) were added to refs/heads/main by this push:
new 50c463b CAMEL-20137: camel-joor - Use java as the language name (it is java code) as joor is confusing.
50c463b is described below
commit 50c463b4670cb1b35ae1d509d40d9ea75e08c854
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Tue Nov 21 13:21:31 2023 +0100
CAMEL-20137: camel-joor - Use java as the language name (it is java code) as joor is confusing.
---
jbang/bean-inlined-code/myapp.camel.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/jbang/bean-inlined-code/myapp.camel.yaml b/jbang/bean-inlined-code/myapp.camel.yaml
index 7507283..1fdccfd 100644
--- a/jbang/bean-inlined-code/myapp.camel.yaml
+++ b/jbang/bean-inlined-code/myapp.camel.yaml
@@ -1,7 +1,7 @@
- beans:
- name: myCustomer
type: com.mycompany.Customer
- scriptLanguage: joor
+ scriptLanguage: java
script: |
var b = new com.mycompany.CustomerBuilder();
b.name('Acme').street('Somestreet 42').zip(90210).gold(true);