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.git
The following commit(s) were added to refs/heads/main by this push:
new be53c26eea1 camel-controlbus - Fix list of languages in the endpoint
option that was out of sync
be53c26eea1 is described below
commit be53c26eea1100004773896b2510a633f837d809
Author: Claus Ibsen <[email protected]>
AuthorDate: Sat Nov 5 10:53:17 2022 +0100
camel-controlbus - Fix list of languages in the endpoint option that was
out of sync
---
.../org/apache/camel/catalog/components/controlbus.json | 2 +-
.../org/apache/camel/component/controlbus/controlbus.json | 2 +-
.../camel/component/controlbus/ControlBusEndpoint.java | 2 +-
.../camel/builder/endpoint/StaticEndpointBuilders.java | 14 ++++++++------
.../endpoint/dsl/ControlBusEndpointBuilderFactory.java | 14 ++++++++------
5 files changed, 19 insertions(+), 15 deletions(-)
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/controlbus.json
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/controlbus.json
index cce68229977..e3d33aad975 100644
---
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/controlbus.json
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/controlbus.json
@@ -27,7 +27,7 @@
},
"properties": {
"command": { "kind": "path", "displayName": "Command", "group":
"producer", "label": "", "required": true, "type": "string", "javaType":
"java.lang.String", "enum": [ "route", "language" ], "deprecated": false,
"deprecationNote": "", "autowired": false, "secret": false, "description":
"Command can be either route or language" },
- "language": { "kind": "path", "displayName": "Language", "group":
"producer", "label": "", "required": false, "type": "object", "javaType":
"org.apache.camel.spi.Language", "enum": [ "bean", "constant", "el",
"exchangeProperty", "file", "groovy", "header", "jsonpath", "mvel", "ognl",
"ref", "simple", "spel", "sql", "terser", "tokenize", "xpath", "xquery",
"xtokenize" ], "deprecated": false, "autowired": false, "secret": false,
"description": "Allows you to specify the name of a Langu [...]
+ "language": { "kind": "path", "displayName": "Language", "group":
"producer", "label": "", "required": false, "type": "object", "javaType":
"org.apache.camel.spi.Language", "enum": [ "bean", "constant", "csimple",
"datasonnet", "exchangeProperty", "file", "groovy", "header", "hl7terser",
"joor", "jq", "jsonpath", "mvel", "ognl", "python", "ref", "simple", "spel",
"tokenize", "xpath", "xquery", "xtokenize" ], "deprecated": false, "autowired":
false, "secret": false, "description": "Al [...]
"action": { "kind": "parameter", "displayName": "Action", "group":
"producer", "label": "", "required": false, "type": "string", "javaType":
"java.lang.String", "enum": [ "start", "stop", "fail", "suspend", "resume",
"restart", "status", "stats" ], "deprecated": false, "autowired": false,
"secret": false, "description": "To denote an action that can be either: start,
stop, or status. To either start or stop a route, or to get the status of the
route as output in the message body. You [...]
"async": { "kind": "parameter", "displayName": "Async", "group":
"producer", "label": "", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "description": "Whether to execute the control bus task
asynchronously. Important: If this option is enabled, then any result from the
task is not set on the Exchange. This is only possible if executing tasks
synchronously." },
"loggingLevel": { "kind": "parameter", "displayName": "Logging Level",
"group": "producer", "label": "", "required": false, "type": "object",
"javaType": "org.apache.camel.LoggingLevel", "enum": [ "TRACE", "DEBUG",
"INFO", "WARN", "ERROR", "OFF" ], "deprecated": false, "autowired": false,
"secret": false, "defaultValue": "INFO", "description": "Logging level used for
logging when task is done, or if any exceptions occurred during processing the
task." },
diff --git
a/components/camel-controlbus/src/generated/resources/org/apache/camel/component/controlbus/controlbus.json
b/components/camel-controlbus/src/generated/resources/org/apache/camel/component/controlbus/controlbus.json
index cce68229977..e3d33aad975 100644
---
a/components/camel-controlbus/src/generated/resources/org/apache/camel/component/controlbus/controlbus.json
+++
b/components/camel-controlbus/src/generated/resources/org/apache/camel/component/controlbus/controlbus.json
@@ -27,7 +27,7 @@
},
"properties": {
"command": { "kind": "path", "displayName": "Command", "group":
"producer", "label": "", "required": true, "type": "string", "javaType":
"java.lang.String", "enum": [ "route", "language" ], "deprecated": false,
"deprecationNote": "", "autowired": false, "secret": false, "description":
"Command can be either route or language" },
- "language": { "kind": "path", "displayName": "Language", "group":
"producer", "label": "", "required": false, "type": "object", "javaType":
"org.apache.camel.spi.Language", "enum": [ "bean", "constant", "el",
"exchangeProperty", "file", "groovy", "header", "jsonpath", "mvel", "ognl",
"ref", "simple", "spel", "sql", "terser", "tokenize", "xpath", "xquery",
"xtokenize" ], "deprecated": false, "autowired": false, "secret": false,
"description": "Allows you to specify the name of a Langu [...]
+ "language": { "kind": "path", "displayName": "Language", "group":
"producer", "label": "", "required": false, "type": "object", "javaType":
"org.apache.camel.spi.Language", "enum": [ "bean", "constant", "csimple",
"datasonnet", "exchangeProperty", "file", "groovy", "header", "hl7terser",
"joor", "jq", "jsonpath", "mvel", "ognl", "python", "ref", "simple", "spel",
"tokenize", "xpath", "xquery", "xtokenize" ], "deprecated": false, "autowired":
false, "secret": false, "description": "Al [...]
"action": { "kind": "parameter", "displayName": "Action", "group":
"producer", "label": "", "required": false, "type": "string", "javaType":
"java.lang.String", "enum": [ "start", "stop", "fail", "suspend", "resume",
"restart", "status", "stats" ], "deprecated": false, "autowired": false,
"secret": false, "description": "To denote an action that can be either: start,
stop, or status. To either start or stop a route, or to get the status of the
route as output in the message body. You [...]
"async": { "kind": "parameter", "displayName": "Async", "group":
"producer", "label": "", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "description": "Whether to execute the control bus task
asynchronously. Important: If this option is enabled, then any result from the
task is not set on the Exchange. This is only possible if executing tasks
synchronously." },
"loggingLevel": { "kind": "parameter", "displayName": "Logging Level",
"group": "producer", "label": "", "required": false, "type": "object",
"javaType": "org.apache.camel.LoggingLevel", "enum": [ "TRACE", "DEBUG",
"INFO", "WARN", "ERROR", "OFF" ], "deprecated": false, "autowired": false,
"secret": false, "defaultValue": "INFO", "description": "Logging level used for
logging when task is done, or if any exceptions occurred during processing the
task." },
diff --git
a/components/camel-controlbus/src/main/java/org/apache/camel/component/controlbus/ControlBusEndpoint.java
b/components/camel-controlbus/src/main/java/org/apache/camel/component/controlbus/ControlBusEndpoint.java
index c0584ec13e7..8fe718b5dc0 100644
---
a/components/camel-controlbus/src/main/java/org/apache/camel/component/controlbus/ControlBusEndpoint.java
+++
b/components/camel-controlbus/src/main/java/org/apache/camel/component/controlbus/ControlBusEndpoint.java
@@ -44,7 +44,7 @@ public class ControlBusEndpoint extends DefaultEndpoint {
@UriPath(description = "Command can be either route or language", enums =
"route,language")
@Metadata(required = true)
private String command;
- @UriPath(enums =
"bean,constant,el,exchangeProperty,file,groovy,header,jsonpath,mvel,ognl,ref,simple,spel,sql,terser,tokenize,xpath,xquery,xtokenize")
+ @UriPath(enums =
"bean,constant,csimple,datasonnet,exchangeProperty,file,groovy,header,hl7terser,joor,jq,jsonpath,mvel,ognl,python,ref,simple,spel,tokenize,xpath,xquery,xtokenize")
private Language language;
@UriParam
private String routeId;
diff --git
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
index 26d1d699a7a..a95ff7226f4 100644
---
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
+++
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
@@ -2671,9 +2671,10 @@ public class StaticEndpointBuilders {
* Allows you to specify the name of a Language to use for evaluating the
* message body. If there is any result from the evaluation, then the
result
* is put in the message body.
- * There are 19 enums and the value can be one of: bean, constant, el,
- * exchangeProperty, file, groovy, header, jsonpath, mvel, ognl, ref,
- * simple, spel, sql, terser, tokenize, xpath, xquery, xtokenize
+ * There are 22 enums and the value can be one of: bean, constant, csimple,
+ * datasonnet, exchangeProperty, file, groovy, header, hl7terser, joor, jq,
+ * jsonpath, mvel, ognl, python, ref, simple, spel, tokenize, xpath,
xquery,
+ * xtokenize
*
* @param path command:language
* @return the dsl builder
@@ -2700,9 +2701,10 @@ public class StaticEndpointBuilders {
* Allows you to specify the name of a Language to use for evaluating the
* message body. If there is any result from the evaluation, then the
result
* is put in the message body.
- * There are 19 enums and the value can be one of: bean, constant, el,
- * exchangeProperty, file, groovy, header, jsonpath, mvel, ognl, ref,
- * simple, spel, sql, terser, tokenize, xpath, xquery, xtokenize
+ * There are 22 enums and the value can be one of: bean, constant, csimple,
+ * datasonnet, exchangeProperty, file, groovy, header, hl7terser, joor, jq,
+ * jsonpath, mvel, ognl, python, ref, simple, spel, tokenize, xpath,
xquery,
+ * xtokenize
*
* @param componentName to use a custom component name for the endpoint
* instead of the default name
diff --git
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/ControlBusEndpointBuilderFactory.java
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/ControlBusEndpointBuilderFactory.java
index bfdef6c6385..2ea4470a193 100644
---
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/ControlBusEndpointBuilderFactory.java
+++
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/ControlBusEndpointBuilderFactory.java
@@ -261,9 +261,10 @@ public interface ControlBusEndpointBuilderFactory {
* Allows you to specify the name of a Language to use for evaluating
* the message body. If there is any result from the evaluation, then
* the result is put in the message body.
- * There are 19 enums and the value can be one of: bean, constant, el,
- * exchangeProperty, file, groovy, header, jsonpath, mvel, ognl, ref,
- * simple, spel, sql, terser, tokenize, xpath, xquery, xtokenize
+ * There are 22 enums and the value can be one of: bean, constant,
+ * csimple, datasonnet, exchangeProperty, file, groovy, header,
+ * hl7terser, joor, jq, jsonpath, mvel, ognl, python, ref, simple,
spel,
+ * tokenize, xpath, xquery, xtokenize
*
* @param path command:language
* @return the dsl builder
@@ -289,9 +290,10 @@ public interface ControlBusEndpointBuilderFactory {
* Allows you to specify the name of a Language to use for evaluating
* the message body. If there is any result from the evaluation, then
* the result is put in the message body.
- * There are 19 enums and the value can be one of: bean, constant, el,
- * exchangeProperty, file, groovy, header, jsonpath, mvel, ognl, ref,
- * simple, spel, sql, terser, tokenize, xpath, xquery, xtokenize
+ * There are 22 enums and the value can be one of: bean, constant,
+ * csimple, datasonnet, exchangeProperty, file, groovy, header,
+ * hl7terser, joor, jq, jsonpath, mvel, ognl, python, ref, simple,
spel,
+ * tokenize, xpath, xquery, xtokenize
*
* @param componentName to use a custom component name for the endpoint
* instead of the default name