[camel-karaf] branch main updated: [create-pull-request] automated change
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-karaf.git The following commit(s) were added to refs/heads/main by this push: new c36741a2 [create-pull-request] automated change c36741a2 is described below commit c36741a2661226774cf91148248afa12844b1943 Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Sun Nov 20 01:18:00 2022 + [create-pull-request] automated change --- .../apache/camel/catalog/karaf/languages.properties | 1 + .../catalog/karaf/languages/{python.json => js.json} | 20 +++- .../apache/camel/catalog/karaf/languages/python.json | 2 ++ 3 files changed, 14 insertions(+), 9 deletions(-) diff --git a/catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/languages.properties b/catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/languages.properties index 6446daa6..8aa9f4d1 100644 --- a/catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/languages.properties +++ b/catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/languages.properties @@ -9,6 +9,7 @@ header hl7terser joor jq +js jsonpath mvel ognl diff --git a/catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/languages/python.json b/catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/languages/js.json similarity index 50% copy from catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/languages/python.json copy to catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/languages/js.json index 6c37e5be..3685b166 100644 --- a/catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/languages/python.json +++ b/catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/languages/js.json @@ -1,22 +1,24 @@ { "language": { "kind": "language", -"name": "python", -"title": "Python", -"description": "Evaluates a Python expression.", +"name": "js", +"title": "JavaScript", +"description": "Evaluates a JavaScript expression.", "deprecated": false, -"firstVersion": "3.19.0", -"label": "language,python", -"javaType": "org.apache.camel.language.python.PythonLanguage", +"firstVersion": "3.20.0", +"label": "language,javascript", +"javaType": "org.apache.camel.language.js.JavaScriptLanguage", "supportLevel": "Experimental", "groupId": "org.apache.camel", -"artifactId": "camel-python", +"artifactId": "camel-javascript", "version": "3.20.0-SNAPSHOT", -"modelName": "python", -"modelJavaType": "org.apache.camel.model.language.PythonExpression" +"modelName": "js", +"modelJavaType": "org.apache.camel.model.language.JavaScriptExpression" }, "properties": { "expression": { "kind": "value", "displayName": "Expression", "required": true, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "The expression value in your chosen language syntax" }, +"resultType": { "kind": "attribute", "displayName": "Result Type", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Sets the class of the result type (type from output)" }, +"headerName": { "kind": "attribute", "displayName": "Header Name", "label": "advanced", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Name of header to use as input, instead of the message body It has as higher precedent than the propertyName if both are set." }, "trim": { "kind": "attribute", "displayName": "Trim", "label": "advanced", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "Whether to trim the value to remove leading and trailing whitespaces and line breaks" }, "id": { "kind": "attribute", "displayName": "Id", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Sets the id of this node" } } diff --git a/catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/languages/python.json b/catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/languages/python.json index 6c37e5be..9679ec24 100644 --- a/catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/languages/python.json +++ b/catalog/camel-catalog-pro
[GitHub] [camel-karaf] oscerd merged pull request #211: [Github Actions] Periodic Sync Camel Karaf Main Branch
oscerd merged PR #211: URL: https://github.com/apache/camel-karaf/pull/211 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-spring-boot] branch main updated: CAMEL-18718: camel-javascript
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-spring-boot.git The following commit(s) were added to refs/heads/main by this push: new c740575d4d9 CAMEL-18718: camel-javascript c740575d4d9 is described below commit c740575d4d9c7b6dfdb196c7e3c263ce568599a6 Author: Claus Ibsen AuthorDate: Sun Nov 20 08:31:28 2022 +0100 CAMEL-18718: camel-javascript --- .../resources/org/apache/camel/springboot/catalog/languages/js.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/js.json b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/js.json index ea763bf2112..c9ea615f6b7 100644 --- a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/js.json +++ b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/js.json @@ -8,7 +8,7 @@ "firstVersion": "3.20.0", "label": "language,javascript", "javaType": "org.apache.camel.language.js.JavaScriptLanguage", -"supportLevel": "Experimental", +"supportLevel": "Preview", "groupId": "org.apache.camel.springboot", "artifactId": "camel-javascript-starter", "version": "3.20.0-SNAPSHOT",
[camel] branch main updated: CAMEL-18718: camel-javascript
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 fb0102527d1 CAMEL-18718: camel-javascript fb0102527d1 is described below commit fb0102527d15bfc492269fdade3d11998f7b68ff Author: Claus Ibsen AuthorDate: Sun Nov 20 08:29:28 2022 +0100 CAMEL-18718: camel-javascript --- .../generated/resources/org/apache/camel/catalog/languages/js.json| 2 +- components/camel-javascript/pom.xml | 4 .../src/generated/resources/org/apache/camel/language/js/js.json | 2 +- components/camel-javascript/src/main/docs/js-language.adoc| 2 +- 4 files changed, 3 insertions(+), 7 deletions(-) diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/languages/js.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/languages/js.json index 3685b166e79..77dffcaccc7 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/languages/js.json +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/languages/js.json @@ -8,7 +8,7 @@ "firstVersion": "3.20.0", "label": "language,javascript", "javaType": "org.apache.camel.language.js.JavaScriptLanguage", -"supportLevel": "Experimental", +"supportLevel": "Preview", "groupId": "org.apache.camel", "artifactId": "camel-javascript", "version": "3.20.0-SNAPSHOT", diff --git a/components/camel-javascript/pom.xml b/components/camel-javascript/pom.xml index 15467464b40..4d70b901ccb 100644 --- a/components/camel-javascript/pom.xml +++ b/components/camel-javascript/pom.xml @@ -31,10 +31,6 @@ Camel :: JavaScript Camel JavaScript language - -Experimental - - org.apache.camel diff --git a/components/camel-javascript/src/generated/resources/org/apache/camel/language/js/js.json b/components/camel-javascript/src/generated/resources/org/apache/camel/language/js/js.json index 3685b166e79..77dffcaccc7 100644 --- a/components/camel-javascript/src/generated/resources/org/apache/camel/language/js/js.json +++ b/components/camel-javascript/src/generated/resources/org/apache/camel/language/js/js.json @@ -8,7 +8,7 @@ "firstVersion": "3.20.0", "label": "language,javascript", "javaType": "org.apache.camel.language.js.JavaScriptLanguage", -"supportLevel": "Experimental", +"supportLevel": "Preview", "groupId": "org.apache.camel", "artifactId": "camel-javascript", "version": "3.20.0-SNAPSHOT", diff --git a/components/camel-javascript/src/main/docs/js-language.adoc b/components/camel-javascript/src/main/docs/js-language.adoc index 57efd19dbb3..ee40a78be37 100644 --- a/components/camel-javascript/src/main/docs/js-language.adoc +++ b/components/camel-javascript/src/main/docs/js-language.adoc @@ -4,7 +4,7 @@ :artifactid: camel-javascript :description: Evaluates a JavaScript expression. :since: 3.20 -:supportlevel: Experimental +:supportlevel: Preview //Manually maintained attributes :camel-spring-boot-name: javascript
[camel-kafka-connector] branch automatic-periodic-sync updated (06ebea325 -> 01d25ed6e)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch automatic-periodic-sync in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git discard 06ebea325 [create-pull-request] automated change This update removed existing revisions from the reference, leaving the reference pointing at a previous point in the repository history. * -- * -- N refs/heads/automatic-periodic-sync (01d25ed6e) \ O -- O -- O (06ebea325) Any revisions marked "omit" are not gone; other references still refer to them. Any revisions marked "discard" are gone forever. No new revisions were added by this update. Summary of changes: .../awscloudwatchsink/CamelAwscloudwatchsinkSinkConnector.java | 3 ++- .../awscloudwatchsink/CamelAwscloudwatchsinkSinkConnectorConfig.java | 3 ++- .../awscloudwatchsink/CamelAwscloudwatchsinkSinkTask.java | 3 ++- .../camel/kafkaconnector/awsddbsink/CamelAwsddbsinkSinkConnector.java | 3 ++- .../kafkaconnector/awsddbsink/CamelAwsddbsinkSinkConnectorConfig.java | 3 ++- .../camel/kafkaconnector/awsddbsink/CamelAwsddbsinkSinkTask.java | 3 ++- .../awsddbstreamssource/CamelAwsddbstreamssourceSourceConnector.java | 3 ++- .../CamelAwsddbstreamssourceSourceConnectorConfig.java | 3 ++- .../awsddbstreamssource/CamelAwsddbstreamssourceSourceTask.java| 3 ++- .../camel/kafkaconnector/awsec2sink/CamelAwsec2sinkSinkConnector.java | 3 ++- .../kafkaconnector/awsec2sink/CamelAwsec2sinkSinkConnectorConfig.java | 3 ++- .../camel/kafkaconnector/awsec2sink/CamelAwsec2sinkSinkTask.java | 3 ++- .../awseventbridgesink/CamelAwseventbridgesinkSinkConnector.java | 3 ++- .../awseventbridgesink/CamelAwseventbridgesinkSinkConnectorConfig.java | 3 ++- .../awseventbridgesink/CamelAwseventbridgesinkSinkTask.java| 3 ++- .../CamelAwskinesisfirehosesinkSinkConnector.java | 3 ++- .../CamelAwskinesisfirehosesinkSinkConnectorConfig.java| 3 ++- .../awskinesisfirehosesink/CamelAwskinesisfirehosesinkSinkTask.java| 3 ++- .../awskinesissink/CamelAwskinesissinkSinkConnector.java | 3 ++- .../awskinesissink/CamelAwskinesissinkSinkConnectorConfig.java | 3 ++- .../kafkaconnector/awskinesissink/CamelAwskinesissinkSinkTask.java | 3 ++- .../awskinesissource/CamelAwskinesissourceSourceConnector.java | 3 ++- .../awskinesissource/CamelAwskinesissourceSourceConnectorConfig.java | 3 ++- .../awskinesissource/CamelAwskinesissourceSourceTask.java | 3 ++- .../kafkaconnector/awslambdasink/CamelAwslambdasinkSinkConnector.java | 3 ++- .../awslambdasink/CamelAwslambdasinkSinkConnectorConfig.java | 3 ++- .../camel/kafkaconnector/awslambdasink/CamelAwslambdasinkSinkTask.java | 3 ++- .../awsredshiftsink/CamelAwsredshiftsinkSinkConnector.java | 3 ++- .../awsredshiftsink/CamelAwsredshiftsinkSinkConnectorConfig.java | 3 ++- .../kafkaconnector/awsredshiftsink/CamelAwsredshiftsinkSinkTask.java | 3 ++- .../awsredshiftsource/CamelAwsredshiftsourceSourceConnector.java | 3 ++- .../awsredshiftsource/CamelAwsredshiftsourceSourceConnectorConfig.java | 3 ++- .../awsredshiftsource/CamelAwsredshiftsourceSourceTask.java| 3 ++- .../camel/kafkaconnector/awss3sink/CamelAwss3sinkSinkConnector.java| 3 ++- .../kafkaconnector/awss3sink/CamelAwss3sinkSinkConnectorConfig.java| 3 ++- .../apache/camel/kafkaconnector/awss3sink/CamelAwss3sinkSinkTask.java | 3 ++- .../kafkaconnector/awss3source/CamelAwss3sourceSourceConnector.java| 3 ++- .../awss3source/CamelAwss3sourceSourceConnectorConfig.java | 3 ++- .../camel/kafkaconnector/awss3source/CamelAwss3sourceSourceTask.java | 3 ++- .../CamelAwss3streaminguploadsinkSinkConnector.java| 3 ++- .../CamelAwss3streaminguploadsinkSinkConnectorConfig.java | 3 ++- .../CamelAwss3streaminguploadsinkSinkTask.java | 3 ++- .../awssecretsmanagersink/CamelAwssecretsmanagersinkSinkConnector.java | 3 ++- .../CamelAwssecretsmanagersinkSinkConnectorConfig.java | 3 ++- .../awssecretsmanagersink/CamelAwssecretsmanagersinkSinkTask.java | 3 ++- .../camel/kafkaconnector/awssessink/CamelAwssessinkSinkConnector.java | 3 ++- .../kafkaconnector/awssessink/CamelAwssessinkSinkConnectorConfig.java | 3 ++- .../camel/kafkaconnector/awssessink/CamelAwssessinkSinkTask.java | 3 ++- .../awssnsfifosink/CamelAwssnsfifosinkSinkConnector.java | 3 ++- .../awssnsfifosink/CamelAwssnsfifosinkSinkConnectorConfig.java | 3 ++- .../kafkaconnector/awssnsfifosink/CamelAwssnsfifosinkSinkTask.java | 3 ++- .../camel/kafkaconnector/awssnssink/CamelAwssnssinkSinkConnector.java | 3 ++- .../kafkaconnector/awssnssink/CamelAwssnssinkSinkConnectorConfig.java | 3 ++- .../camel/kafkaconnector/awssnssink/Camel
[GitHub] [camel-kafka-connector] github-actions[bot] closed pull request #1473: [Github Actions] Periodic Sync Camel-kafka-connector main Branch
github-actions[bot] closed pull request #1473: [Github Actions] Periodic Sync Camel-kafka-connector main Branch URL: https://github.com/apache/camel-kafka-connector/pull/1473 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-quarkus] github-actions[bot] commented on issue #2926: [CI] - Quarkus Main Branch Build Failure
github-actions[bot] commented on issue #2926: URL: https://github.com/apache/camel-quarkus/issues/2926#issuecomment-1321028035 The [quarkus-main](https://github.com/apache/camel-quarkus/tree/quarkus-main) branch build has failed: * Build ID: 3506142483-941-345d942d-76a6-4f77-b1f7-165666c9d103 * Camel Quarkus Commit: d6bfe9d08b6749d851d8cdb144fb0b92de063cf0 * Quarkus Main Commit: 9cffb4cced84c9e2da2b6a53bd2b20abe4cbfbfe * Link to build: https://github.com/apache/camel-quarkus/actions/runs/3506142483 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-karavan] branch main updated: Upgrade to jkube 1.10.1 (#529)
This is an automated email from the ASF dual-hosted git repository. marat pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-karavan.git The following commit(s) were added to refs/heads/main by this push: new 8add64a Upgrade to jkube 1.10.1 (#529) 8add64a is described below commit 8add64a1f910aadd684830fd644f6d1294f6d08e Author: Claus Ibsen AuthorDate: Sun Nov 20 04:29:33 2022 +0100 Upgrade to jkube 1.10.1 (#529) --- .../resources/snippets/spring-boot-kubernetes-application.properties | 2 +- .../resources/snippets/spring-boot-openshift-application.properties | 2 +- karavan-vscode/package.json | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/karavan-app/src/main/resources/snippets/spring-boot-kubernetes-application.properties b/karavan-app/src/main/resources/snippets/spring-boot-kubernetes-application.properties index b49c48e..e7be270 100644 --- a/karavan-app/src/main/resources/snippets/spring-boot-kubernetes-application.properties +++ b/karavan-app/src/main/resources/snippets/spring-boot-kubernetes-application.properties @@ -6,7 +6,7 @@ camel.jbang.runtime=spring-boot camel.jbang.dependencies=camel:microprofile-health camel.health.enabled=true camel.health.exposure-level=full -jkube.version=1.10.0 +jkube.version=1.10.1 jkube.build.strategy=jib jkube.imagePullPolicy=IfNotPresent jkube.enricher.jkube-controller.replicaCount=1 \ No newline at end of file diff --git a/karavan-app/src/main/resources/snippets/spring-boot-openshift-application.properties b/karavan-app/src/main/resources/snippets/spring-boot-openshift-application.properties index 34a4e95..48f61da 100644 --- a/karavan-app/src/main/resources/snippets/spring-boot-openshift-application.properties +++ b/karavan-app/src/main/resources/snippets/spring-boot-openshift-application.properties @@ -6,7 +6,7 @@ camel.jbang.runtime=spring-boot camel.jbang.dependencies=camel:microprofile-health camel.health.enabled=true camel.health.exposure-level=full -jkube.version=1.10.0 +jkube.version=1.10.1 jkube.build.strategy=jib jkube.imagePullPolicy=IfNotPresent jkube.enricher.jkube-controller.type=Deployment diff --git a/karavan-vscode/package.json b/karavan-vscode/package.json index 193c45b..9f961cd 100644 --- a/karavan-vscode/package.json +++ b/karavan-vscode/package.json @@ -265,7 +265,7 @@ "default": [ "camel.jbang.dependencies=camel:microprofile-health", "# jkube properties", -"jkube.version=1.10.0", +"jkube.version=1.10.1", "jkube.build.strategy=s2i", "jkube.namespace=${NAMESPACE}", "jkube.generator.name=image-registry.openshift-image-registry.svc:5000/${NAMESPACE}/$NAME:${DATE}", @@ -286,7 +286,7 @@ "default": [ "camel.jbang.dependencies=camel:microprofile-health", "# jkube properties", -"jkube.version=1.10.0", +"jkube.version=1.10.1", "jkube.build.strategy=docker", "jkube.namespace=default", "jkube.generator.name=default/$NAME:${DATE}",
[GitHub] [camel-karavan] mgubaidullin merged pull request #529: Upgrade to jkube 1.10.1
mgubaidullin merged PR #529: URL: https://github.com/apache/camel-karavan/pull/529 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-quarkus] github-actions[bot] commented on issue #2927: [CI] - Camel Main Branch Build Failure
github-actions[bot] commented on issue #2927: URL: https://github.com/apache/camel-quarkus/issues/2927#issuecomment-1321012918 The [camel-main](https://github.com/apache/camel-quarkus/tree/camel-main) branch build has failed: * Build ID: 3505732259-837-c8af755a-4b28-4d28-ac47-be2bdc1cf969 * Camel Quarkus Commit: 5e9033dc68c018f5851d06f7c47d4850d140ae4b * Camel Main Commit: 9cffb4cced84c9e2da2b6a53bd2b20abe4cbfbfe * Link to build: https://github.com/apache/camel-quarkus/actions/runs/3505732259 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-karaf] branch automatic-periodic-sync updated (4ead3bf0 -> 5d84acb2)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch automatic-periodic-sync in repository https://gitbox.apache.org/repos/asf/camel-karaf.git from 4ead3bf0 [create-pull-request] automated change add 5d84acb2 [create-pull-request] automated change No new revisions were added by this update. Summary of changes: .../apache/camel/catalog/karaf/languages.properties | 1 + .../catalog/karaf/languages/{jq.json => js.json} | 20 ++-- .../apache/camel/catalog/karaf/languages/python.json | 2 ++ 3 files changed, 13 insertions(+), 10 deletions(-) copy catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/languages/{jq.json => js.json} (79%)
[GitHub] [camel-karaf] github-actions[bot] opened a new pull request, #211: [Github Actions] Periodic Sync Camel Karaf Main Branch
github-actions[bot] opened a new pull request, #211: URL: https://github.com/apache/camel-karaf/pull/211 Periodic Sync of Camel Karaf Main Branch with main Camel Main. see https://github.com/apache/camel-karaf/blob/main/.github/workflows/automatic-sync-main.yml -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-spring-boot] branch automatic-periodic-sync updated (efbdeb2a134 -> 41ee8160746)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch automatic-periodic-sync in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git omit efbdeb2a134 [create-pull-request] automated change add f469ab8eb13 [create-pull-request] automated change add f314403a03d Regen add 41ee8160746 CAMEL-18718: camel-javascript This update added new revisions after undoing existing revisions. That is to say, some revisions that were in the old version of the branch are not in the new version. This situation occurs when a user --force pushes a change and generates a repository containing something like this: * -- * -- B -- O -- O -- O (efbdeb2a134) \ N -- N -- N refs/heads/automatic-periodic-sync (41ee8160746) You should already have received notification emails for all of the O revisions, and so the following emails describe only the N revisions from the common base, B. Any revisions marked "omit" are not gone; other references still refer to them. Any revisions marked "discard" are gone forever. No new revisions were added by this update. Summary of changes: .../camel/springboot/catalog/languages.properties | 1 + .../catalog/languages/{jq.json => js.json} | 20 - .../camel/springboot/catalog/languages/python.json | 2 ++ .../pom.xml| 4 ++-- .../src/main/docs/javascript.json} | 26 +++--- .../JavaScriptLanguageAutoConfiguration.java} | 20 - .../JavaScriptLanguageConfiguration.java} | 10 - .../src/main/resources/META-INF/LICENSE.txt| 0 .../src/main/resources/META-INF/NOTICE.txt | 0 .../src/main/resources/META-INF/spring.factories | 2 +- .../src/main/resources/META-INF/spring.provides| 2 +- .../camel-python-starter/src/main/docs/python.json | 6 + .../springboot/PythonLanguageConfiguration.java| 13 +++ components-starter/pom.xml | 1 + tooling/camel-spring-boot-bom/pom.xml | 5 + tooling/camel-spring-boot-dependencies/pom.xml | 10 + 16 files changed, 80 insertions(+), 42 deletions(-) copy catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/{jq.json => js.json} (79%) copy components-starter/{camel-plc4x-starter => camel-javascript-starter}/pom.xml (94%) copy components-starter/{camel-jq-starter/src/main/docs/jq.json => camel-javascript-starter/src/main/docs/javascript.json} (50%) copy components-starter/{camel-core-starter/src/main/java/org/apache/camel/language/ref/springboot/RefLanguageAutoConfiguration.java => camel-javascript-starter/src/main/java/org/apache/camel/language/js/springboot/JavaScriptLanguageAutoConfiguration.java} (85%) copy components-starter/{camel-jq-starter/src/main/java/org/apache/camel/language/jq/springboot/JqLanguageConfiguration.java => camel-javascript-starter/src/main/java/org/apache/camel/language/js/springboot/JavaScriptLanguageConfiguration.java} (87%) copy {archetypes/camel-archetype-spring-boot => components-starter/camel-javascript-starter}/src/main/resources/META-INF/LICENSE.txt (100%) copy {archetypes/camel-archetype-spring-boot => components-starter/camel-javascript-starter}/src/main/resources/META-INF/NOTICE.txt (100%) copy components-starter/{camel-avro-starter => camel-javascript-starter}/src/main/resources/META-INF/spring.factories (94%) copy components-starter/{camel-arangodb-starter => camel-javascript-starter}/src/main/resources/META-INF/spring.provides (97%)
[GitHub] [camel] davsclaus commented on pull request #8717: Camel 18719 : camel-jbang - Adding the dependency of camel-quarkus-core creates two entries in exported POM.xml
davsclaus commented on PR #8717: URL: https://github.com/apache/camel/pull/8717#issuecomment-1320968252 @mrinalsharma no rush, we need this within 2 weeks before we cut the 3.20 release -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel] branch regen_bot updated (2abfca032df -> c3c75a8978c)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch regen_bot in repository https://gitbox.apache.org/repos/asf/camel.git omit 2abfca032df Regen for commit 581c0870453be810361697106e67326a57fa5dc9 add 61aaf8d2a4f CAMEL-18718: camel-javascript (#8732) add 30d573b63a0 Regen for commit ca3e54436e8b4bd4242e577b2b05de589a7e56ba add 34ebb9aa0fb CAMEL-18728: Fix elasticsearch-rest component name to prevent component name clash (#8728) add beee61bf2bc Regen add c3c75a8978c Regen This update added new revisions after undoing existing revisions. That is to say, some revisions that were in the old version of the branch are not in the new version. This situation occurs when a user --force pushes a change and generates a repository containing something like this: * -- * -- B -- O -- O -- O (2abfca032df) \ N -- N -- N refs/heads/regen_bot (c3c75a8978c) You should already have received notification emails for all of the O revisions, and so the following emails describe only the N revisions from the common base, B. Any revisions marked "omit" are not gone; other references still refer to them. Any revisions marked "discard" are gone forever. No new revisions were added by this update. Summary of changes: bom/camel-bom/pom.xml | 5 + camel-dependencies/pom.xml | 2 +- catalog/camel-allcomponents/pom.xml| 4 + .../org/apache/camel/catalog/languages.properties | 1 + .../org/apache/camel/catalog/languages/js.json | 25 .../org/apache/camel/catalog/models.properties | 1 + .../org/apache/camel/catalog/models/aggregate.json | 8 +- .../org/apache/camel/catalog/models/delay.json | 2 +- .../apache/camel/catalog/models/dynamicRouter.json | 2 +- .../org/apache/camel/catalog/models/enrich.json| 2 +- .../org/apache/camel/catalog/models/filter.json| 2 +- .../camel/catalog/models/idempotentConsumer.json | 2 +- .../org/apache/camel/catalog/models/js.json| 22 +++ .../org/apache/camel/catalog/models/loop.json | 2 +- .../apache/camel/catalog/models/onException.json | 6 +- .../apache/camel/catalog/models/pollEnrich.json| 2 +- .../camel/catalog/models/propertyExpression.json | 2 +- .../apache/camel/catalog/models/recipientList.json | 2 +- .../apache/camel/catalog/models/resequence.json| 2 +- .../apache/camel/catalog/models/routingSlip.json | 2 +- .../org/apache/camel/catalog/models/script.json| 2 +- .../org/apache/camel/catalog/models/setBody.json | 2 +- .../org/apache/camel/catalog/models/setHeader.json | 2 +- .../apache/camel/catalog/models/setProperty.json | 2 +- .../org/apache/camel/catalog/models/sort.json | 2 +- .../org/apache/camel/catalog/models/split.json | 2 +- .../org/apache/camel/catalog/models/sticky.json| 2 +- .../org/apache/camel/catalog/models/throttle.json | 4 +- .../org/apache/camel/catalog/models/transform.json | 2 +- .../org/apache/camel/catalog/models/validate.json | 2 +- .../org/apache/camel/catalog/models/when.json | 2 +- .../catalog/models/whenSkipSendToEndpoint.json | 2 +- .../apache/camel/catalog/schemas/camel-spring.xsd | 91 components/camel-javascript/pom.xml| 68 + .../services/org/apache/camel/language.properties | 7 + .../META-INF/services/org/apache/camel/language/js | 2 + .../resources/org/apache/camel/language/js/js.json | 25 .../src/main/docs/js-language.adoc | 65 .../org/apache/camel/language/js/JavaScript.java | 36 + .../camel/language/js/JavaScriptExpression.java| 71 + .../apache/camel/language/js/JavaScriptHelper.java | 37 + .../camel/language/js/JavaScriptLanguage.java | 55 +++ .../java/org/apache/camel/language/js/package.html | 27 .../camel/language/js/JavaScriptChoiceTest.java| 54 +++ .../apache/camel/language/js/JavaScriptTest.java | 35 + .../src/test/resources/log4j2.properties | 28 components/pom.xml | 1 + .../services/org/apache/camel/model.properties | 1 + .../org/apache/camel/model/aggregate.json | 8 +- .../resources/org/apache/camel/model/delay.json| 2 +- .../org/apache/camel/model/dynamicRouter.json | 2 +- .../resources/org/apache/camel/model/enrich.json | 2 +- .../resources/org/apache/camel/model/filter.json | 2 +- .../org/apache/camel/model/idempotentConsumer.json | 2 +- .../org/apache/camel/model/language/jaxb.index | 1 + .../org/apache/camel/model/language/js.json| 22 +++ .../apache/camel/model/loadbalancer/sticky.json| 2 +- .../resources/org/apache/camel/model/loop.json | 2 +- .../org/apache/camel/model/onException.json| 6 +- .../org/apache/ca
[camel-spring-boot] branch main updated (f469ab8eb13 -> 41ee8160746)
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a change to branch main in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git from f469ab8eb13 [create-pull-request] automated change new f314403a03d Regen new 41ee8160746 CAMEL-18718: camel-javascript The 2 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: .../camel/springboot/catalog/languages.properties | 1 + .../catalog/languages/{jq.json => js.json} | 20 - .../camel/springboot/catalog/languages/python.json | 2 ++ .../pom.xml| 4 ++-- .../src/main/docs/javascript.json} | 26 +++--- .../JavaScriptLanguageAutoConfiguration.java} | 20 - .../JavaScriptLanguageConfiguration.java} | 10 - .../src/main/resources/META-INF/LICENSE.txt| 0 .../src/main/resources/META-INF/NOTICE.txt | 0 .../src/main/resources/META-INF/spring.factories | 2 +- .../src/main/resources/META-INF/spring.provides| 2 +- .../camel-python-starter/src/main/docs/python.json | 6 + .../springboot/PythonLanguageConfiguration.java| 13 +++ components-starter/pom.xml | 1 + tooling/camel-spring-boot-bom/pom.xml | 5 + tooling/camel-spring-boot-dependencies/pom.xml | 10 + 16 files changed, 80 insertions(+), 42 deletions(-) copy catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/{jq.json => js.json} (79%) copy components-starter/{camel-plc4x-starter => camel-javascript-starter}/pom.xml (94%) copy components-starter/{camel-jq-starter/src/main/docs/jq.json => camel-javascript-starter/src/main/docs/javascript.json} (50%) copy components-starter/{camel-core-starter/src/main/java/org/apache/camel/language/ref/springboot/RefLanguageAutoConfiguration.java => camel-javascript-starter/src/main/java/org/apache/camel/language/js/springboot/JavaScriptLanguageAutoConfiguration.java} (85%) copy components-starter/{camel-jq-starter/src/main/java/org/apache/camel/language/jq/springboot/JqLanguageConfiguration.java => camel-javascript-starter/src/main/java/org/apache/camel/language/js/springboot/JavaScriptLanguageConfiguration.java} (87%) copy {archetypes/camel-archetype-spring-boot => components-starter/camel-javascript-starter}/src/main/resources/META-INF/LICENSE.txt (100%) copy {archetypes/camel-archetype-spring-boot => components-starter/camel-javascript-starter}/src/main/resources/META-INF/NOTICE.txt (100%) copy components-starter/{camel-avro-starter => camel-javascript-starter}/src/main/resources/META-INF/spring.factories (94%) copy components-starter/{camel-arangodb-starter => camel-javascript-starter}/src/main/resources/META-INF/spring.provides (97%)
[camel-spring-boot] 02/02: CAMEL-18718: camel-javascript
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-spring-boot.git commit 41ee81607467d5c62073cc370828abff594ccac5 Author: Claus Ibsen AuthorDate: Sat Nov 19 20:21:16 2022 +0100 CAMEL-18718: camel-javascript --- .../camel/springboot/catalog/languages.properties | 1 + .../camel/springboot/catalog/languages/js.json | 25 +++ .../camel-javascript-starter/pom.xml | 48 + .../src/main/docs/javascript.json | 42 + .../JavaScriptLanguageAutoConfiguration.java | 80 .../JavaScriptLanguageConfiguration.java | 65 +++ .../src/main/resources/META-INF/LICENSE.txt| 203 + .../src/main/resources/META-INF/NOTICE.txt | 11 ++ .../src/main/resources/META-INF/spring.factories | 19 ++ .../src/main/resources/META-INF/spring.provides| 17 ++ components-starter/pom.xml | 1 + tooling/camel-spring-boot-bom/pom.xml | 5 + tooling/camel-spring-boot-dependencies/pom.xml | 5 + 13 files changed, 522 insertions(+) diff --git a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages.properties b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages.properties index 86fbd76e0c2..cb390b03f92 100644 --- a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages.properties +++ b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages.properties @@ -4,6 +4,7 @@ groovy hl7terser joor jq +js jsonpath mvel ognl diff --git a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/js.json b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/js.json new file mode 100644 index 000..ea763bf2112 --- /dev/null +++ b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/js.json @@ -0,0 +1,25 @@ +{ + "language": { +"kind": "language", +"name": "js", +"title": "JavaScript", +"description": "Evaluates a JavaScript expression.", +"deprecated": false, +"firstVersion": "3.20.0", +"label": "language,javascript", +"javaType": "org.apache.camel.language.js.JavaScriptLanguage", +"supportLevel": "Experimental", +"groupId": "org.apache.camel.springboot", +"artifactId": "camel-javascript-starter", +"version": "3.20.0-SNAPSHOT", +"modelName": "js", +"modelJavaType": "org.apache.camel.model.language.JavaScriptExpression" + }, + "properties": { +"expression": { "kind": "value", "displayName": "Expression", "required": true, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "The expression value in your chosen language syntax" }, +"resultType": { "kind": "attribute", "displayName": "Result Type", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Sets the class of the result type (type from output)" }, +"headerName": { "kind": "attribute", "displayName": "Header Name", "label": "advanced", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Name of header to use as input, instead of the message body It has as higher precedent than the propertyName if both are set." }, +"trim": { "kind": "attribute", "displayName": "Trim", "label": "advanced", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "Whether to trim the value to remove leading and trailing whitespaces and line breaks" }, +"id": { "kind": "attribute", "displayName": "Id", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Sets the id of this node" } + } +} diff --git a/components-starter/camel-javascript-starter/pom.xml b/components-starter/camel-javascript-starter/pom.xml new file mode 100644 index 000..b40241158ee --- /dev/null +++ b/components-starter/camel-javascript-starter/pom.xml @@ -0,0 +1,48 @@ + + +http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";> + 4.0.0 + +org.apache.camel.springboot +components-starter +3.20.0-SNAPSHOT + + camel-javascript-starter + jar + + + + org.springframework.boot + sp
[camel-spring-boot] 01/02: Regen
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-spring-boot.git commit f314403a03dcdd81c5054619f22a9c0d661529ab Author: Claus Ibsen AuthorDate: Sat Nov 19 20:15:46 2022 +0100 Regen --- .../apache/camel/springboot/catalog/languages/python.json | 2 ++ .../camel-python-starter/src/main/docs/python.json | 6 ++ .../python/springboot/PythonLanguageConfiguration.java | 13 + tooling/camel-spring-boot-dependencies/pom.xml | 5 + 4 files changed, 26 insertions(+) diff --git a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/python.json b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/python.json index cc4c2945dcd..d591dbbbd30 100644 --- a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/python.json +++ b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/python.json @@ -17,6 +17,8 @@ }, "properties": { "expression": { "kind": "value", "displayName": "Expression", "required": true, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "The expression value in your chosen language syntax" }, +"resultType": { "kind": "attribute", "displayName": "Result Type", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Sets the class of the result type (type from output)" }, +"headerName": { "kind": "attribute", "displayName": "Header Name", "label": "advanced", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Name of header to use as input, instead of the message body It has as higher precedent than the propertyName if both are set." }, "trim": { "kind": "attribute", "displayName": "Trim", "label": "advanced", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "Whether to trim the value to remove leading and trailing whitespaces and line breaks" }, "id": { "kind": "attribute", "displayName": "Id", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Sets the id of this node" } } diff --git a/components-starter/camel-python-starter/src/main/docs/python.json b/components-starter/camel-python-starter/src/main/docs/python.json index 18ca25421de..e022db12176 100644 --- a/components-starter/camel-python-starter/src/main/docs/python.json +++ b/components-starter/camel-python-starter/src/main/docs/python.json @@ -24,6 +24,12 @@ "description": "Whether to enable auto configuration of the python language. This is enabled by default.", "sourceType": "org.apache.camel.language.python.springboot.PythonLanguageConfiguration" }, +{ + "name": "camel.language.python.header-name", + "type": "java.lang.String", + "description": "Name of header to use as input, instead of the message body It has as higher precedent than the propertyName if both are set.", + "sourceType": "org.apache.camel.language.python.springboot.PythonLanguageConfiguration" +}, { "name": "camel.language.python.trim", "type": "java.lang.Boolean", diff --git a/components-starter/camel-python-starter/src/main/java/org/apache/camel/language/python/springboot/PythonLanguageConfiguration.java b/components-starter/camel-python-starter/src/main/java/org/apache/camel/language/python/springboot/PythonLanguageConfiguration.java index b5ac13075c0..338d0d87113 100644 --- a/components-starter/camel-python-starter/src/main/java/org/apache/camel/language/python/springboot/PythonLanguageConfiguration.java +++ b/components-starter/camel-python-starter/src/main/java/org/apache/camel/language/python/springboot/PythonLanguageConfiguration.java @@ -36,12 +36,25 @@ public class PythonLanguageConfiguration * enabled by default. */ private Boolean enabled; +/** + * Name of header to use as input, instead of the message body It has as + * higher precedent than the propertyName if both are set. + */ +private String headerName; /** * Whether to trim the value to remove leading and trailing whitespaces and * line breaks */ private Boolean trim = true; +public String getHeaderName() { +return headerName; +} + +public void setHeaderName(String headerName) { +this.headerName = headerName; +} + public Boolean getTrim() {
[camel] branch main updated: Regen
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 c3c75a8978c Regen c3c75a8978c is described below commit c3c75a8978cf71d4861bee6f1aeacb84147925ea Author: Claus Ibsen AuthorDate: Sat Nov 19 19:47:36 2022 +0100 Regen --- .../org/apache/camel/catalog/languages.properties | 1 + .../org/apache/camel/catalog/languages/js.json | 25 ++ components/pom.xml | 1 + .../org/apache/camel/main/languages.properties | 1 + 4 files changed, 28 insertions(+) diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/languages.properties b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/languages.properties index 6446daa6c39..8aa9f4d1a08 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/languages.properties +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/languages.properties @@ -9,6 +9,7 @@ header hl7terser joor jq +js jsonpath mvel ognl diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/languages/js.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/languages/js.json new file mode 100644 index 000..3685b166e79 --- /dev/null +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/languages/js.json @@ -0,0 +1,25 @@ +{ + "language": { +"kind": "language", +"name": "js", +"title": "JavaScript", +"description": "Evaluates a JavaScript expression.", +"deprecated": false, +"firstVersion": "3.20.0", +"label": "language,javascript", +"javaType": "org.apache.camel.language.js.JavaScriptLanguage", +"supportLevel": "Experimental", +"groupId": "org.apache.camel", +"artifactId": "camel-javascript", +"version": "3.20.0-SNAPSHOT", +"modelName": "js", +"modelJavaType": "org.apache.camel.model.language.JavaScriptExpression" + }, + "properties": { +"expression": { "kind": "value", "displayName": "Expression", "required": true, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "The expression value in your chosen language syntax" }, +"resultType": { "kind": "attribute", "displayName": "Result Type", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Sets the class of the result type (type from output)" }, +"headerName": { "kind": "attribute", "displayName": "Header Name", "label": "advanced", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Name of header to use as input, instead of the message body It has as higher precedent than the propertyName if both are set." }, +"trim": { "kind": "attribute", "displayName": "Trim", "label": "advanced", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "Whether to trim the value to remove leading and trailing whitespaces and line breaks" }, +"id": { "kind": "attribute", "displayName": "Id", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Sets the id of this node" } + } +} diff --git a/components/pom.xml b/components/pom.xml index e2c788c1d47..2296f2397fd 100644 --- a/components/pom.xml +++ b/components/pom.xml @@ -179,6 +179,7 @@ camel-jackson-protobuf camel-jacksonxml camel-jasypt +camel-javascript camel-jaxb camel-jbpm camel-jcache diff --git a/core/camel-main/src/generated/resources/org/apache/camel/main/languages.properties b/core/camel-main/src/generated/resources/org/apache/camel/main/languages.properties index 6446daa6c39..8aa9f4d1a08 100644 --- a/core/camel-main/src/generated/resources/org/apache/camel/main/languages.properties +++ b/core/camel-main/src/generated/resources/org/apache/camel/main/languages.properties @@ -9,6 +9,7 @@ header hl7terser joor jq +js jsonpath mvel ognl
[camel] branch main updated: Regen
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 beee61bf2bc Regen beee61bf2bc is described below commit beee61bf2bc6096a16d9aeb5d1405f01712a2efb Author: Claus Ibsen AuthorDate: Sat Nov 19 19:40:48 2022 +0100 Regen --- .../org/apache/camel/catalog/languages.properties | 1 - .../org/apache/camel/catalog/languages/js.json | 25 -- .../org/apache/camel/main/languages.properties | 1 - 3 files changed, 27 deletions(-) diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/languages.properties b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/languages.properties index 8aa9f4d1a08..6446daa6c39 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/languages.properties +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/languages.properties @@ -9,7 +9,6 @@ header hl7terser joor jq -js jsonpath mvel ognl diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/languages/js.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/languages/js.json deleted file mode 100644 index 3685b166e79..000 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/languages/js.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "language": { -"kind": "language", -"name": "js", -"title": "JavaScript", -"description": "Evaluates a JavaScript expression.", -"deprecated": false, -"firstVersion": "3.20.0", -"label": "language,javascript", -"javaType": "org.apache.camel.language.js.JavaScriptLanguage", -"supportLevel": "Experimental", -"groupId": "org.apache.camel", -"artifactId": "camel-javascript", -"version": "3.20.0-SNAPSHOT", -"modelName": "js", -"modelJavaType": "org.apache.camel.model.language.JavaScriptExpression" - }, - "properties": { -"expression": { "kind": "value", "displayName": "Expression", "required": true, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "The expression value in your chosen language syntax" }, -"resultType": { "kind": "attribute", "displayName": "Result Type", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Sets the class of the result type (type from output)" }, -"headerName": { "kind": "attribute", "displayName": "Header Name", "label": "advanced", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Name of header to use as input, instead of the message body It has as higher precedent than the propertyName if both are set." }, -"trim": { "kind": "attribute", "displayName": "Trim", "label": "advanced", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "Whether to trim the value to remove leading and trailing whitespaces and line breaks" }, -"id": { "kind": "attribute", "displayName": "Id", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Sets the id of this node" } - } -} diff --git a/core/camel-main/src/generated/resources/org/apache/camel/main/languages.properties b/core/camel-main/src/generated/resources/org/apache/camel/main/languages.properties index 8aa9f4d1a08..6446daa6c39 100644 --- a/core/camel-main/src/generated/resources/org/apache/camel/main/languages.properties +++ b/core/camel-main/src/generated/resources/org/apache/camel/main/languages.properties @@ -9,7 +9,6 @@ header hl7terser joor jq -js jsonpath mvel ognl
[GitHub] [camel] essobedo commented on pull request #8731: CAMEL-18730: camel-report-maven-plugin - Fix import issue
essobedo commented on PR #8731: URL: https://github.com/apache/camel/pull/8731#issuecomment-1320942240 Not yet been tested but I'm afraid that it affects all the versions 3.x -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel] branch main updated: CAMEL-18728: Fix elasticsearch-rest component name to prevent component name clash (#8728)
This is an automated email from the ASF dual-hosted git repository. nfilotto 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 34ebb9aa0fb CAMEL-18728: Fix elasticsearch-rest component name to prevent component name clash (#8728) 34ebb9aa0fb is described below commit 34ebb9aa0fb62ee2997c7d1daa6a21e2ecc59e70 Author: ludovic-boutros AuthorDate: Sat Nov 19 19:29:43 2022 +0100 CAMEL-18728: Fix elasticsearch-rest component name to prevent component name clash (#8728) --- .../builder/endpoint/EndpointBuilderFactory.java | 1 + .../camel/builder/endpoint/EndpointBuilders.java | 1 + .../builder/endpoint/StaticEndpointBuilders.java | 8 +- .../dsl/ElasticsearchEndpointBuilderFactory.java | 120 +++-- ...> ElasticsearchRestEndpointBuilderFactory.java} | 107 +- .../camel/maven/packaging/EndpointDslMojo.java | 2 + 6 files changed, 153 insertions(+), 86 deletions(-) diff --git a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointBuilderFactory.java b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointBuilderFactory.java index f79c0c225df..e69f3f47480 100644 --- a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointBuilderFactory.java +++ b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointBuilderFactory.java @@ -101,6 +101,7 @@ public interface EndpointBuilderFactory org.apache.camel.builder.endpoint.dsl.EKS2EndpointBuilderFactory.EKS2Builders, org.apache.camel.builder.endpoint.dsl.EhcacheEndpointBuilderFactory.EhcacheBuilders, org.apache.camel.builder.endpoint.dsl.ElasticsearchEndpointBuilderFactory.ElasticsearchBuilders, + org.apache.camel.builder.endpoint.dsl.ElasticsearchRestEndpointBuilderFactory.ElasticsearchRestBuilders, org.apache.camel.builder.endpoint.dsl.Etcd3EndpointBuilderFactory.Etcd3Builders, org.apache.camel.builder.endpoint.dsl.EventEndpointBuilderFactory.EventBuilders, org.apache.camel.builder.endpoint.dsl.EventHubsEndpointBuilderFactory.EventHubsBuilders, diff --git a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointBuilders.java b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointBuilders.java index 9b1b441f062..e7c88d9e4ce 100644 --- a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointBuilders.java +++ b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointBuilders.java @@ -98,6 +98,7 @@ public interface EndpointBuilders org.apache.camel.builder.endpoint.dsl.EKS2EndpointBuilderFactory, org.apache.camel.builder.endpoint.dsl.EhcacheEndpointBuilderFactory, org.apache.camel.builder.endpoint.dsl.ElasticsearchEndpointBuilderFactory, + org.apache.camel.builder.endpoint.dsl.ElasticsearchRestEndpointBuilderFactory, org.apache.camel.builder.endpoint.dsl.Etcd3EndpointBuilderFactory, org.apache.camel.builder.endpoint.dsl.EventEndpointBuilderFactory, org.apache.camel.builder.endpoint.dsl.EventHubsEndpointBuilderFactory, 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 a95ff7226f4..96cfb774a6c 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 @@ -4252,9 +4252,9 @@ public class StaticEndpointBuilders { * @return the dsl builder */ @Deprecated -public static org.apache.camel.builder.endpoint.dsl.ElasticsearchEndpointBuilderFactory.ElasticsearchEndpointBuilder elasticsearchRest( +public static org.apache.camel.builder.endpoint.dsl.ElasticsearchRestEndpointBuilderFactory.ElasticsearchRestEndpointBuilder elasticsearchRest( String path) { -return org.apache.camel.builder.endpoint.dsl.ElasticsearchEndpointBuilderFactory.endpointBuilder("elasticsearch-rest", path); +return org.apache.camel.builder.endpoint.dsl.ElasticsearchRestEndpointBuilderFactory.endpointBuilder("elasticsearch-rest", path); } /** * Elasticsearch Rest (camel-elasticsearch-rest) @@ -4275,10 +4275,10 @@ public class StaticEndpointBuilders { * @return the dsl builder */ @Deprecated -public static org.apache.camel.builder.endpoint.dsl.ElasticsearchEndpointBuilderFactory.ElasticsearchEndpointBuilder elasticsearchRest( +public static org.apache.camel.builder.endpoint.dsl
[GitHub] [camel] essobedo merged pull request #8728: [CAMEL-18728]: Fix elasticsearch-rest component name to prevent component name clash
essobedo merged PR #8728: URL: https://github.com/apache/camel/pull/8728 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel] branch main created (now 30d573b63a0)
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a change to branch main in repository https://gitbox.apache.org/repos/asf/camel.git at 30d573b63a0 Regen for commit ca3e54436e8b4bd4242e577b2b05de589a7e56ba No new revisions were added by this update.
[GitHub] [camel] oscerd merged pull request #8734: Generated sources regen
oscerd merged PR #8734: URL: https://github.com/apache/camel/pull/8734 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel] branch regen_bot updated (ee265553836 -> 2abfca032df)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch regen_bot in repository https://gitbox.apache.org/repos/asf/camel.git omit ee265553836 Regen for commit ca3e54436e8b4bd4242e577b2b05de589a7e56ba add 525d1208f19 Polished add 581c0870453 java-dsl - Cleanup unexpected files after compilation. add 2abfca032df Regen for commit 581c0870453be810361697106e67326a57fa5dc9 This update added new revisions after undoing existing revisions. That is to say, some revisions that were in the old version of the branch are not in the new version. This situation occurs when a user --force pushes a change and generates a repository containing something like this: * -- * -- B -- O -- O -- O (ee265553836) \ N -- N -- N refs/heads/regen_bot (2abfca032df) You should already have received notification emails for all of the O revisions, and so the following emails describe only the N revisions from the common base, B. Any revisions marked "omit" are not gone; other references still refer to them. Any revisions marked "discard" are gone forever. No new revisions were added by this update. Summary of changes: .../java/org/apache/camel/dsl/java/joor/MultiCompile.java| 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-)
[GitHub] [camel] github-actions[bot] opened a new pull request, #8734: Generated sources regen
github-actions[bot] opened a new pull request, #8734: URL: https://github.com/apache/camel/pull/8734 Regen bot :robot: found some uncommitted changes after running build on :camel: main. Please do not delete `regen_bot` branch after merge/rebase. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel] mrinalsharma commented on pull request #8717: Camel 18719 : camel-jbang - Adding the dependency of camel-quarkus-core creates two entries in exported POM.xml
mrinalsharma commented on PR #8717: URL: https://github.com/apache/camel/pull/8717#issuecomment-1320931153 > Sorry, got stuck in a personal issue. Will try to finish it today. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel] oscerd merged pull request #8733: Generated sources regen
oscerd merged PR #8733: URL: https://github.com/apache/camel/pull/8733 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel] branch main updated (61aaf8d2a4f -> 30d573b63a0)
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a change to branch main in repository https://gitbox.apache.org/repos/asf/camel.git from 61aaf8d2a4f CAMEL-18718: camel-javascript (#8732) add 30d573b63a0 Regen for commit ca3e54436e8b4bd4242e577b2b05de589a7e56ba No new revisions were added by this update. Summary of changes: .../org/apache/camel/catalog/languages/python.json | 2 ++ .../org/apache/camel/catalog/models/python.json| 2 ++ .../apache/camel/catalog/schemas/camel-spring.xsd | 25 +- .../org/apache/camel/language/python/python.json | 2 ++ 4 files changed, 30 insertions(+), 1 deletion(-)
[camel] branch regen_bot updated (cbd9302e84f -> ee265553836)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch regen_bot in repository https://gitbox.apache.org/repos/asf/camel.git from cbd9302e84f (chores) camel-dataset: avoid checking data set index when creating the exchanges add 4a6fe53d445 CAMEL-18730: camel-report-maven-plugin - Fix import issue (#8731) add ca3e54436e8 camel-python - Add options like other languages have in DSL add ee265553836 Regen for commit ca3e54436e8b4bd4242e577b2b05de589a7e56ba No new revisions were added by this update. Summary of changes: .../org/apache/camel/catalog/languages/python.json | 2 + .../org/apache/camel/catalog/models/python.json| 2 + .../apache/camel/catalog/schemas/camel-spring.xsd | 25 - .../org/apache/camel/maven/RouteCoverageMojo.java | 3 +- .../org/apache/camel/language/python/python.json | 2 + .../org/apache/camel/language/python/package.html | 2 +- .../src/test/resources/log4j2.properties | 2 +- .../org/apache/camel/model/language/python.json| 2 + .../org/apache/camel/builder/ExpressionClause.java | 11 +++ .../camel/builder/ExpressionClauseSupport.java | 13 +++ .../camel/model/language/PythonExpression.java | 108 - .../camel/reifier/language/ExpressionReifier.java | 2 +- ...onReifier.java => PythonExpressionReifier.java} | 14 +-- .../java/org/apache/camel/xml/in/ModelParser.java | 16 ++- .../dsl/yaml/deserializers/ModelDeserializers.java | 12 +++ .../generated/resources/schema/camel-yaml-dsl.json | 6 ++ .../generated/resources/schema/camelYamlDsl.json | 6 ++ 17 files changed, 208 insertions(+), 20 deletions(-) copy core/camel-core-reifier/src/main/java/org/apache/camel/reifier/language/{JqExpressionReifier.java => PythonExpressionReifier.java} (84%)
[GitHub] [camel] github-actions[bot] opened a new pull request, #8733: Generated sources regen
github-actions[bot] opened a new pull request, #8733: URL: https://github.com/apache/camel/pull/8733 Regen bot :robot: found some uncommitted changes after running build on :camel: main. Please do not delete `regen_bot` branch after merge/rebase. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel] davsclaus merged pull request #8732: CAMEL-18718: camel-javascript
davsclaus merged PR #8732: URL: https://github.com/apache/camel/pull/8732 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel] 02/02: java-dsl - Cleanup unexpected files after compilation.
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 commit 581c0870453be810361697106e67326a57fa5dc9 Author: Claus Ibsen AuthorDate: Sat Nov 19 18:15:57 2022 +0100 java-dsl - Cleanup unexpected files after compilation. --- .../java/org/apache/camel/dsl/java/joor/MultiCompile.java | 11 +++ 1 file changed, 11 insertions(+) diff --git a/dsl/camel-java-joor-dsl/src/main/java/org/apache/camel/dsl/java/joor/MultiCompile.java b/dsl/camel-java-joor-dsl/src/main/java/org/apache/camel/dsl/java/joor/MultiCompile.java index d3a19b756a3..a7f2a75f376 100644 --- a/dsl/camel-java-joor-dsl/src/main/java/org/apache/camel/dsl/java/joor/MultiCompile.java +++ b/dsl/camel-java-joor-dsl/src/main/java/org/apache/camel/dsl/java/joor/MultiCompile.java @@ -47,6 +47,7 @@ import javax.tools.SimpleJavaFileObject; import javax.tools.StandardJavaFileManager; import javax.tools.ToolProvider; +import org.apache.camel.util.FileUtil; import org.joor.ReflectException; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -129,6 +130,9 @@ public final class MultiCompile { CompilationTask task = compiler.getTask(out, fileManager, dc, options, null, files); boolean success = task.call(); +// after compilation then we need to cleanup some unexpected output +cleanupWaste(); + if (!success || fileManager.isEmpty()) { if (dc.getDiagnostics().isEmpty()) { throw new ReflectException("Compilation error:\n" + out); @@ -335,4 +339,11 @@ public final class MultiCompile { } } +/** + * Cleanup after compiling as for some weird reason a file named javax.inject.Named is created when using @Named + */ +private static void cleanupWaste() { +FileUtil.deleteFile(new File("javax.inject.Named")); +} + }
[camel] branch main updated (ca3e54436e8 -> 581c0870453)
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a change to branch main in repository https://gitbox.apache.org/repos/asf/camel.git from ca3e54436e8 camel-python - Add options like other languages have in DSL new 525d1208f19 Polished new 581c0870453 java-dsl - Cleanup unexpected files after compilation. The 2 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: .../java/org/apache/camel/dsl/java/joor/MultiCompile.java| 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-)
[camel] 01/02: Polished
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 commit 525d1208f1963fb2b7439643a9bb99baa7de90e6 Author: Claus Ibsen AuthorDate: Sat Nov 19 18:04:58 2022 +0100 Polished --- .../src/main/java/org/apache/camel/dsl/java/joor/MultiCompile.java | 1 - 1 file changed, 1 deletion(-) diff --git a/dsl/camel-java-joor-dsl/src/main/java/org/apache/camel/dsl/java/joor/MultiCompile.java b/dsl/camel-java-joor-dsl/src/main/java/org/apache/camel/dsl/java/joor/MultiCompile.java index c275e7f157f..d3a19b756a3 100644 --- a/dsl/camel-java-joor-dsl/src/main/java/org/apache/camel/dsl/java/joor/MultiCompile.java +++ b/dsl/camel-java-joor-dsl/src/main/java/org/apache/camel/dsl/java/joor/MultiCompile.java @@ -43,7 +43,6 @@ import javax.tools.FileObject; import javax.tools.ForwardingJavaFileManager; import javax.tools.JavaCompiler; import javax.tools.JavaCompiler.CompilationTask; -import javax.tools.JavaFileObject; import javax.tools.SimpleJavaFileObject; import javax.tools.StandardJavaFileManager; import javax.tools.ToolProvider;
[GitHub] [camel] github-actions[bot] commented on pull request #8728: [CAMEL-18728]: Fix elasticsearch-rest component name to prevent component name clash
github-actions[bot] commented on PR #8728: URL: https://github.com/apache/camel/pull/8728#issuecomment-1320926524 ### Components tested: | Total | Tested | Failed :x: | Passed :white_check_mark: | | --- | --- | --- | --- | | 4 | 4 | 0 | 4 | -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel] branch main updated: camel-python - Add options like other languages have in DSL
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 ca3e54436e8 camel-python - Add options like other languages have in DSL ca3e54436e8 is described below commit ca3e54436e8b4bd4242e577b2b05de589a7e56ba Author: Claus Ibsen AuthorDate: Sat Nov 19 17:38:56 2022 +0100 camel-python - Add options like other languages have in DSL --- .../org/apache/camel/language/python/package.html | 2 +- .../src/test/resources/log4j2.properties | 2 +- .../org/apache/camel/model/language/python.json| 2 + .../org/apache/camel/builder/ExpressionClause.java | 11 +++ .../camel/builder/ExpressionClauseSupport.java | 13 +++ .../camel/model/language/PythonExpression.java | 108 - .../camel/reifier/language/ExpressionReifier.java | 2 +- .../reifier/language/PythonExpressionReifier.java | 63 .../java/org/apache/camel/xml/in/ModelParser.java | 16 ++- .../dsl/yaml/deserializers/ModelDeserializers.java | 12 +++ .../generated/resources/schema/camel-yaml-dsl.json | 6 ++ .../generated/resources/schema/camelYamlDsl.json | 6 ++ 12 files changed, 236 insertions(+), 7 deletions(-) diff --git a/components/camel-python/src/main/java/org/apache/camel/language/python/package.html b/components/camel-python/src/main/java/org/apache/camel/language/python/package.html index 93bfb86b6eb..71ce9639e0c 100644 --- a/components/camel-python/src/main/java/org/apache/camel/language/python/package.html +++ b/components/camel-python/src/main/java/org/apache/camel/language/python/package.html @@ -21,7 +21,7 @@ -A http://activemq.apache.org/camel/language.html";>Language Plugin for the Python Language. +A language plugin for the Python Language. diff --git a/components/camel-python/src/test/resources/log4j2.properties b/components/camel-python/src/test/resources/log4j2.properties index 5f9c62c74eb..f8e3be0c7d4 100644 --- a/components/camel-python/src/test/resources/log4j2.properties +++ b/components/camel-python/src/test/resources/log4j2.properties @@ -17,7 +17,7 @@ appender.file.type = File appender.file.name = file -appender.file.fileName = target/camel-ognl-test.log +appender.file.fileName = target/camel-python-test.log appender.file.layout.type = PatternLayout appender.file.layout.pattern = %d [%-15.15t] %-5p %-30.30c{1} - %m%n appender.out.type = Console diff --git a/core/camel-core-model/src/generated/resources/org/apache/camel/model/language/python.json b/core/camel-core-model/src/generated/resources/org/apache/camel/model/language/python.json index 80da79cc1d0..051b931520a 100644 --- a/core/camel-core-model/src/generated/resources/org/apache/camel/model/language/python.json +++ b/core/camel-core-model/src/generated/resources/org/apache/camel/model/language/python.json @@ -14,6 +14,8 @@ }, "properties": { "expression": { "kind": "value", "displayName": "Expression", "required": true, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "The expression value in your chosen language syntax" }, +"resultType": { "kind": "attribute", "displayName": "Result Type", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Sets the class of the result type (type from output)" }, +"headerName": { "kind": "attribute", "displayName": "Header Name", "label": "advanced", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Name of header to use as input, instead of the message body It has as higher precedent than the propertyName if both are set." }, "trim": { "kind": "attribute", "displayName": "Trim", "label": "advanced", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "Whether to trim the value to remove leading and trailing whitespaces and line breaks" }, "id": { "kind": "attribute", "displayName": "Id", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Sets the id of this node" } } diff --git a/core/camel-core-model/src/main/java/org/apache/camel/builder/ExpressionClause.java b/core/camel-core-model/src/main/java/org/apache/camel/builder/ExpressionClause.java index a4a530e2d07..b0f62c4b64d 100644 --- a/core/camel-core-model/src/main/java/org/apache/camel/builder/ExpressionClause.java +++ b/core/camel-core-model/src/main/java/org/apache/camel/builder/ExpressionClause.java @@ -602,6 +602,17 @@ public class ExpressionClause implements Expression, Pre
[GitHub] [camel] davsclaus commented on pull request #8717: Camel 18719 : camel-jbang - Adding the dependency of camel-quarkus-core creates two entries in exported POM.xml
davsclaus commented on PR #8717: URL: https://github.com/apache/camel/pull/8717#issuecomment-1320918655 @mrinalsharma do you have time to fix that last comment? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel] branch js updated (af7ad0b3e1f -> 87552fea019)
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a change to branch js in repository https://gitbox.apache.org/repos/asf/camel.git from af7ad0b3e1f CAMEL-18718: camel-javascript add 87552fea019 Fixed CS No new revisions were added by this update. Summary of changes: .../java/org/apache/camel/model/language/JavaScriptExpression.java| 4 ++-- .../apache/camel/reifier/language/JavaScriptExpressionReifier.java| 1 - 2 files changed, 2 insertions(+), 3 deletions(-)
[GitHub] [camel] davsclaus commented on pull request #8731: CAMEL-18730: camel-report-maven-plugin - Fix import issue
davsclaus commented on PR #8731: URL: https://github.com/apache/camel/pull/8731#issuecomment-1320917797 Do we have this problem in 3.18 and 3.14 branches? Mind that 3.14 is still Java 8 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel] davsclaus opened a new pull request, #8732: CAMEL-18718: camel-javascript
davsclaus opened a new pull request, #8732: URL: https://github.com/apache/camel/pull/8732 CAMEL-18718: camel-javascript -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel] github-actions[bot] commented on pull request #8732: CAMEL-18718: camel-javascript
github-actions[bot] commented on PR #8732: URL: https://github.com/apache/camel/pull/8732#issuecomment-1320917625 :star2: Thank you for your contribution to the Apache Camel project! :star2: :warning: Please note that the changes on this PR may be **tested automatically**. If necessary Apache Camel Committers may access logs and test results in the job summaries! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel] 02/06: CAMEL-18718: camel-javascript
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch js in repository https://gitbox.apache.org/repos/asf/camel.git commit 73c46bebd25b9a11e6110eec426507b39e8c3836 Author: Claus Ibsen AuthorDate: Sat Nov 19 10:38:11 2022 +0100 CAMEL-18718: camel-javascript --- camel-dependencies/pom.xml | 2 +- parent/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/camel-dependencies/pom.xml b/camel-dependencies/pom.xml index 863ca93baaa..e67d5f210ef 100644 --- a/camel-dependencies/pom.xml +++ b/camel-dependencies/pom.xml @@ -229,7 +229,7 @@ 20.0 0.10.1 1.34.0 -22.1.0 +22.2.0 18.3 2.4.4 1.5.3 diff --git a/parent/pom.xml b/parent/pom.xml index 98c2cfc8b87..a3233fd1d93 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -208,7 +208,7 @@ 30.1 ${google-cloud-guava-version-prefix}-jre 2.2.0 -22.1.0 +22.2.0 18.3 2.4.4 1.48.1
[camel] 01/06: CAMEL-18718: camel-javascript
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch js in repository https://gitbox.apache.org/repos/asf/camel.git commit 8938663cda29bda3a94c3535c0f2e27893c6cadd Author: Claus Ibsen AuthorDate: Sat Nov 19 10:36:04 2022 +0100 CAMEL-18718: camel-javascript --- catalog/camel-allcomponents/pom.xml| 4 + components/camel-javascript/pom.xml| 68 + .../services/org/apache/camel/language.properties | 7 + .../META-INF/services/org/apache/camel/language/js | 2 + .../resources/org/apache/camel/language/js/js.json | 25 .../src/main/docs/js-language.adoc | 65 .../camel/language/js/JavaScriptExpression.java| 72 + .../camel/language/js/JavaScriptLanguage.java | 58 .../java/org/apache/camel/language/js/package.html | 27 .../camel/language/js/JavaScriptChoiceTest.java| 54 +++ .../apache/camel/language/js/JavaScriptTest.java | 35 + .../src/test/resources/log4j2.properties | 28 .../services/org/apache/camel/model.properties | 1 + .../org/apache/camel/model/aggregate.json | 8 +- .../resources/org/apache/camel/model/delay.json| 2 +- .../org/apache/camel/model/dynamicRouter.json | 2 +- .../resources/org/apache/camel/model/enrich.json | 2 +- .../resources/org/apache/camel/model/filter.json | 2 +- .../org/apache/camel/model/idempotentConsumer.json | 2 +- .../org/apache/camel/model/language/jaxb.index | 1 + .../org/apache/camel/model/language/js.json| 22 +++ .../apache/camel/model/loadbalancer/sticky.json| 2 +- .../resources/org/apache/camel/model/loop.json | 2 +- .../org/apache/camel/model/onException.json| 6 +- .../org/apache/camel/model/pollEnrich.json | 2 +- .../org/apache/camel/model/propertyExpression.json | 2 +- .../org/apache/camel/model/recipientList.json | 2 +- .../org/apache/camel/model/resequence.json | 2 +- .../org/apache/camel/model/routingSlip.json| 2 +- .../resources/org/apache/camel/model/script.json | 2 +- .../resources/org/apache/camel/model/setBody.json | 2 +- .../org/apache/camel/model/setHeader.json | 2 +- .../org/apache/camel/model/setProperty.json| 2 +- .../resources/org/apache/camel/model/sort.json | 2 +- .../resources/org/apache/camel/model/split.json| 2 +- .../resources/org/apache/camel/model/throttle.json | 4 +- .../org/apache/camel/model/transform.json | 2 +- .../resources/org/apache/camel/model/validate.json | 2 +- .../resources/org/apache/camel/model/when.json | 2 +- .../apache/camel/model/whenSkipSendToEndpoint.json | 2 +- .../org/apache/camel/builder/ExpressionClause.java | 14 ++ .../camel/builder/ExpressionClauseSupport.java | 24 +++ .../camel/builder/LanguageBuilderFactory.java | 8 + .../camel/model/language/JavaScriptExpression.java | 165 + .../camel/reifier/language/ExpressionReifier.java | 3 + .../language/JavaScriptExpressionReifier.java | 64 .../java/org/apache/camel/xml/in/ModelParser.java | 17 +++ parent/pom.xml | 5 + 48 files changed, 800 insertions(+), 31 deletions(-) diff --git a/catalog/camel-allcomponents/pom.xml b/catalog/camel-allcomponents/pom.xml index a6de09655bd..bdf84996f06 100644 --- a/catalog/camel-allcomponents/pom.xml +++ b/catalog/camel-allcomponents/pom.xml @@ -745,6 +745,10 @@ org.apache.camel camel-jasypt + + org.apache.camel + camel-javascript + org.apache.camel camel-jaxb diff --git a/components/camel-javascript/pom.xml b/components/camel-javascript/pom.xml new file mode 100644 index 000..15467464b40 --- /dev/null +++ b/components/camel-javascript/pom.xml @@ -0,0 +1,68 @@ + + +http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";> +4.0.0 + + +org.apache.camel +components +3.20.0-SNAPSHOT + + +camel-javascript +jar +Camel :: JavaScript +Camel JavaScript language + + +Experimental + + + + +org.apache.camel +camel-support + + + +org.graalvm.js +js +${graaljs-version} + + + + +org.apache.camel +camel-test-junit5 +test + + +org.apache.logging.log4j +log4j-slf4j-impl +test + + +org.junit.jupiter +junit-jupiter +
[camel] 06/06: CAMEL-18718: camel-javascript
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch js in repository https://gitbox.apache.org/repos/asf/camel.git commit af7ad0b3e1fc9e65504d1608be36146bd6fd9509 Author: Claus Ibsen AuthorDate: Sat Nov 19 17:18:48 2022 +0100 CAMEL-18718: camel-javascript --- .../org/apache/camel/language/js/JavaScript.java | 36 ++ 1 file changed, 36 insertions(+) diff --git a/components/camel-javascript/src/main/java/org/apache/camel/language/js/JavaScript.java b/components/camel-javascript/src/main/java/org/apache/camel/language/js/JavaScript.java new file mode 100644 index 000..43da2147f2a --- /dev/null +++ b/components/camel-javascript/src/main/java/org/apache/camel/language/js/JavaScript.java @@ -0,0 +1,36 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.camel.language.js; + +import java.lang.annotation.Documented; +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +import org.apache.camel.support.language.LanguageAnnotation; + +/** + * An annotation for injection of JavaScript expressions into method parameters, fields or properties + */ +@Retention(RetentionPolicy.RUNTIME) +@Documented +@Target({ ElementType.FIELD, ElementType.METHOD, ElementType.PARAMETER }) +@LanguageAnnotation(language = "js") +public @interface JavaScript { +String value(); +}
[camel] 04/06: CAMEL-18718: camel-javascript
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch js in repository https://gitbox.apache.org/repos/asf/camel.git commit a2dd3b44732720f52d7c242cf5c01de237ac0a08 Author: Claus Ibsen AuthorDate: Sat Nov 19 10:48:48 2022 +0100 CAMEL-18718: camel-javascript --- .../camel/language/js/JavaScriptExpression.java| 25 +++--- .../camel/language/js/JavaScriptLanguage.java | 15 ++--- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/components/camel-javascript/src/main/java/org/apache/camel/language/js/JavaScriptExpression.java b/components/camel-javascript/src/main/java/org/apache/camel/language/js/JavaScriptExpression.java index 4a9b8469b8a..4c0850c2e84 100644 --- a/components/camel-javascript/src/main/java/org/apache/camel/language/js/JavaScriptExpression.java +++ b/components/camel-javascript/src/main/java/org/apache/camel/language/js/JavaScriptExpression.java @@ -42,20 +42,21 @@ public class JavaScriptExpression extends ExpressionSupport { @Override public T evaluate(Exchange exchange, Class type) { -Context cx = JavaScriptHelper.newContext(); -Value b = cx.getBindings("js"); +try (Context cx = JavaScriptHelper.newContext()) { +Value b = cx.getBindings("js"); -b.putMember("exchange", exchange); -b.putMember("context", exchange.getContext()); -b.putMember("exchangeId", exchange.getExchangeId()); -b.putMember("message", exchange.getMessage()); -b.putMember("headers", exchange.getMessage().getHeaders()); -b.putMember("properties", exchange.getAllProperties()); -b.putMember("body", exchange.getMessage().getBody()); +b.putMember("exchange", exchange); +b.putMember("context", exchange.getContext()); +b.putMember("exchangeId", exchange.getExchangeId()); +b.putMember("message", exchange.getMessage()); +b.putMember("headers", exchange.getMessage().getHeaders()); +b.putMember("properties", exchange.getAllProperties()); +b.putMember("body", exchange.getMessage().getBody()); -Value o = cx.eval("js", expressionString); -Object answer = o != null ? o.as(type) : null; -return type.cast(answer); +Value o = cx.eval("js", expressionString); +Object answer = o != null ? o.as(type) : null; +return type.cast(answer); +} } public Class getType() { diff --git a/components/camel-javascript/src/main/java/org/apache/camel/language/js/JavaScriptLanguage.java b/components/camel-javascript/src/main/java/org/apache/camel/language/js/JavaScriptLanguage.java index 8c6d799b194..0a125359144 100644 --- a/components/camel-javascript/src/main/java/org/apache/camel/language/js/JavaScriptLanguage.java +++ b/components/camel-javascript/src/main/java/org/apache/camel/language/js/JavaScriptLanguage.java @@ -44,13 +44,12 @@ public class JavaScriptLanguage extends LanguageSupport implements ScriptingLang @Override public T evaluate(String script, Map bindings, Class resultType) { script = loadResource(script); - -Context cx = JavaScriptHelper.newContext(); -Value b = cx.getBindings("js"); - -bindings.forEach(b::putMember); -Value o = cx.eval("js", script); -Object answer = o != null ? o.as(resultType) : null; -return resultType.cast(answer); +try (Context cx = JavaScriptHelper.newContext()) { +Value b = cx.getBindings("js"); +bindings.forEach(b::putMember); +Value o = cx.eval("js", script); +Object answer = o != null ? o.as(resultType) : null; +return resultType.cast(answer); +} } }
[camel] 03/06: CAMEL-18718: camel-javascript
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch js in repository https://gitbox.apache.org/repos/asf/camel.git commit cb81d59c0a92e0a0f613ed6c6a28aa1e15fa60f7 Author: Claus Ibsen AuthorDate: Sat Nov 19 10:43:01 2022 +0100 CAMEL-18718: camel-javascript --- .../camel/language/js/JavaScriptExpression.java| 4 +-- .../apache/camel/language/js/JavaScriptHelper.java | 37 ++ .../camel/language/js/JavaScriptLanguage.java | 4 +-- 3 files changed, 39 insertions(+), 6 deletions(-) diff --git a/components/camel-javascript/src/main/java/org/apache/camel/language/js/JavaScriptExpression.java b/components/camel-javascript/src/main/java/org/apache/camel/language/js/JavaScriptExpression.java index 226a9993492..4a9b8469b8a 100644 --- a/components/camel-javascript/src/main/java/org/apache/camel/language/js/JavaScriptExpression.java +++ b/components/camel-javascript/src/main/java/org/apache/camel/language/js/JavaScriptExpression.java @@ -42,9 +42,7 @@ public class JavaScriptExpression extends ExpressionSupport { @Override public T evaluate(Exchange exchange, Class type) { -Context cx = Context.newBuilder("js") -.allowIO(true) -.build(); +Context cx = JavaScriptHelper.newContext(); Value b = cx.getBindings("js"); b.putMember("exchange", exchange); diff --git a/components/camel-javascript/src/main/java/org/apache/camel/language/js/JavaScriptHelper.java b/components/camel-javascript/src/main/java/org/apache/camel/language/js/JavaScriptHelper.java new file mode 100644 index 000..207bbc3a686 --- /dev/null +++ b/components/camel-javascript/src/main/java/org/apache/camel/language/js/JavaScriptHelper.java @@ -0,0 +1,37 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.camel.language.js; + +import org.graalvm.polyglot.Context; +import org.graalvm.polyglot.HostAccess; +import org.graalvm.polyglot.PolyglotAccess; + +public final class JavaScriptHelper { + +private JavaScriptHelper() { +} + +public static Context newContext() { +final Context.Builder contextBuilder = Context.newBuilder("js") +.allowIO(true) +.allowHostAccess(HostAccess.ALL) +.allowHostClassLookup(s -> true) +.allowPolyglotAccess(PolyglotAccess.NONE) +.option("engine.WarnInterpreterOnly", "false"); +return contextBuilder.build(); +} +} diff --git a/components/camel-javascript/src/main/java/org/apache/camel/language/js/JavaScriptLanguage.java b/components/camel-javascript/src/main/java/org/apache/camel/language/js/JavaScriptLanguage.java index 3ca43ae5de8..8c6d799b194 100644 --- a/components/camel-javascript/src/main/java/org/apache/camel/language/js/JavaScriptLanguage.java +++ b/components/camel-javascript/src/main/java/org/apache/camel/language/js/JavaScriptLanguage.java @@ -45,9 +45,7 @@ public class JavaScriptLanguage extends LanguageSupport implements ScriptingLang public T evaluate(String script, Map bindings, Class resultType) { script = loadResource(script); -Context cx = Context.newBuilder("js") -.allowIO(true) -.build(); +Context cx = JavaScriptHelper.newContext(); Value b = cx.getBindings("js"); bindings.forEach(b::putMember);
[camel] 05/06: CAMEL-18718: camel-javascript
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch js in repository https://gitbox.apache.org/repos/asf/camel.git commit 781f7c28554f46ea33d24aa497e924a7444f3174 Author: Claus Ibsen AuthorDate: Sat Nov 19 11:02:47 2022 +0100 CAMEL-18718: camel-javascript --- bom/camel-bom/pom.xml | 5 ++ .../org/apache/camel/catalog/languages.properties | 1 + .../org/apache/camel/catalog/languages/js.json | 25 ++ .../org/apache/camel/catalog/models.properties | 1 + .../org/apache/camel/catalog/models/aggregate.json | 8 +- .../org/apache/camel/catalog/models/delay.json | 2 +- .../apache/camel/catalog/models/dynamicRouter.json | 2 +- .../org/apache/camel/catalog/models/enrich.json| 2 +- .../org/apache/camel/catalog/models/filter.json| 2 +- .../camel/catalog/models/idempotentConsumer.json | 2 +- .../org/apache/camel/catalog/models/js.json| 22 ++ .../org/apache/camel/catalog/models/loop.json | 2 +- .../apache/camel/catalog/models/onException.json | 6 +- .../apache/camel/catalog/models/pollEnrich.json| 2 +- .../camel/catalog/models/propertyExpression.json | 2 +- .../apache/camel/catalog/models/recipientList.json | 2 +- .../apache/camel/catalog/models/resequence.json| 2 +- .../apache/camel/catalog/models/routingSlip.json | 2 +- .../org/apache/camel/catalog/models/script.json| 2 +- .../org/apache/camel/catalog/models/setBody.json | 2 +- .../org/apache/camel/catalog/models/setHeader.json | 2 +- .../apache/camel/catalog/models/setProperty.json | 2 +- .../org/apache/camel/catalog/models/sort.json | 2 +- .../org/apache/camel/catalog/models/split.json | 2 +- .../org/apache/camel/catalog/models/sticky.json| 2 +- .../org/apache/camel/catalog/models/throttle.json | 4 +- .../org/apache/camel/catalog/models/transform.json | 2 +- .../org/apache/camel/catalog/models/validate.json | 2 +- .../org/apache/camel/catalog/models/when.json | 2 +- .../catalog/models/whenSkipSendToEndpoint.json | 2 +- .../apache/camel/catalog/schemas/camel-spring.xsd | 91 ++ .../org/apache/camel/main/languages.properties | 1 + .../modules/languages/examples/json/js.json| 1 + docs/components/modules/languages/nav.adoc | 1 + .../modules/languages/pages/js-language.adoc | 1 + .../deserializers/ExpressionDeserializers.java | 5 ++ .../dsl/yaml/deserializers/ModelDeserializers.java | 75 ++ .../deserializers/ModelDeserializersResolver.java | 2 + .../generated/resources/schema/camel-yaml-dsl.json | 31 .../generated/resources/schema/camelYamlDsl.json | 31 40 files changed, 324 insertions(+), 31 deletions(-) diff --git a/bom/camel-bom/pom.xml b/bom/camel-bom/pom.xml index 9519ece2eaf..dc1f5912422 100644 --- a/bom/camel-bom/pom.xml +++ b/bom/camel-bom/pom.xml @@ -1153,6 +1153,11 @@ camel-java-joor-dsl ${project.version} + +org.apache.camel +camel-javascript +${project.version} + org.apache.camel camel-jaxb diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/languages.properties b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/languages.properties index 6446daa6c39..8aa9f4d1a08 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/languages.properties +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/languages.properties @@ -9,6 +9,7 @@ header hl7terser joor jq +js jsonpath mvel ognl diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/languages/js.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/languages/js.json new file mode 100644 index 000..3685b166e79 --- /dev/null +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/languages/js.json @@ -0,0 +1,25 @@ +{ + "language": { +"kind": "language", +"name": "js", +"title": "JavaScript", +"description": "Evaluates a JavaScript expression.", +"deprecated": false, +"firstVersion": "3.20.0", +"label": "language,javascript", +"javaType": "org.apache.camel.language.js.JavaScriptLanguage", +"supportLevel": "Experimental", +"groupId": "org.apache.camel", +"artifactId": "camel-javascript", +"version": "3.20.0-SNAPSHOT", +"modelName": "js", +"modelJavaType": "org.apache.camel.model.language.JavaScriptExpression" + }, + "properties": { +"expression": { "kind": "value", "displayName": "Expression", "required": true, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "The expression value in your chosen language syntax" }, +"resultType": { "kind": "attribute", "displ
[camel] branch js created (now af7ad0b3e1f)
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a change to branch js in repository https://gitbox.apache.org/repos/asf/camel.git at af7ad0b3e1f CAMEL-18718: camel-javascript This branch includes the following new commits: new 8938663cda2 CAMEL-18718: camel-javascript new 73c46bebd25 CAMEL-18718: camel-javascript new cb81d59c0a9 CAMEL-18718: camel-javascript new a2dd3b44732 CAMEL-18718: camel-javascript new 781f7c28554 CAMEL-18718: camel-javascript new af7ad0b3e1f CAMEL-18718: camel-javascript The 6 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference.
[GitHub] [camel] ludovic-boutros commented on pull request #8728: [CAMEL-18728]: Fix elasticsearch-rest component name to prevent component name clash
ludovic-boutros commented on PR #8728: URL: https://github.com/apache/camel/pull/8728#issuecomment-1320916036 @essobedo it should be good now. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel] branch regen_bot updated (295d75c6817 -> cbd9302e84f)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch regen_bot in repository https://gitbox.apache.org/repos/asf/camel.git from 295d75c6817 Added support to set x-queue-type in RabbitMQ (#8725) add cbd9302e84f (chores) camel-dataset: avoid checking data set index when creating the exchanges No new revisions were added by this update. Summary of changes: .../main/java/org/apache/camel/component/dataset/DataSetConsumer.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
[camel] branch main updated: CAMEL-18730: camel-report-maven-plugin - Fix import issue (#8731)
This is an automated email from the ASF dual-hosted git repository. nfilotto 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 4a6fe53d445 CAMEL-18730: camel-report-maven-plugin - Fix import issue (#8731) 4a6fe53d445 is described below commit 4a6fe53d445f71eef64891fcd4d0143f9c8c33a1 Author: Nicolas Filotto AuthorDate: Sat Nov 19 14:40:37 2022 +0100 CAMEL-18730: camel-report-maven-plugin - Fix import issue (#8731) ## Motivation After generating the route coverage of the tests, if we launch the maven command `mvn camel-report:route-coverage`, the plugin fails due to an import issue. ## Modifications: * Remove the bad import and replace it with `List.of`. --- .../src/main/java/org/apache/camel/maven/RouteCoverageMojo.java| 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/catalog/camel-report-maven-plugin/src/main/java/org/apache/camel/maven/RouteCoverageMojo.java b/catalog/camel-report-maven-plugin/src/main/java/org/apache/camel/maven/RouteCoverageMojo.java index 0392711bfb8..f64279bd1a8 100644 --- a/catalog/camel-report-maven-plugin/src/main/java/org/apache/camel/maven/RouteCoverageMojo.java +++ b/catalog/camel-report-maven-plugin/src/main/java/org/apache/camel/maven/RouteCoverageMojo.java @@ -47,7 +47,6 @@ import org.w3c.dom.Attr; import org.w3c.dom.Document; import org.w3c.dom.Element; -import edu.emory.mathcs.backport.java.util.Collections; import org.apache.camel.maven.model.RouteCoverageNode; import org.apache.camel.parser.RouteBuilderParser; import org.apache.camel.parser.XmlRouteParser; @@ -249,7 +248,7 @@ public class RouteCoverageMojo extends AbstractExecMojo { getLog().warn("No route coverage data found for route: " + routeId + ". Make sure to enable route coverage in your unit tests and assign unique route ids to your routes. Also remember to run unit tests first."); } else { -List coverage = gatherRouteCoverageSummary(Collections.singletonList(t), coverageData); +List coverage = gatherRouteCoverageSummary(List.of(t), coverageData); totalNumberOfNodes += coverage.size(); String out = templateCoverageData(fileName, routeId, coverage, notCovered, coveredNodes); getLog().info("Route coverage summary:\n\n" + out);
[GitHub] [camel] essobedo merged pull request #8731: CAMEL-18730: camel-report-maven-plugin - Fix import issue
essobedo merged PR #8731: URL: https://github.com/apache/camel/pull/8731 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel] essobedo commented on pull request #8728: [CAMEL-18728]: Fix elasticsearch-rest component name to prevent component name clash
essobedo commented on PR #8728: URL: https://github.com/apache/camel/pull/8728#issuecomment-1320887961 Could you please also remove "in order" from your commit message? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel] branch main updated: (chores) camel-dataset: avoid checking data set index when creating the exchanges
This is an automated email from the ASF dual-hosted git repository. orpiske 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 cbd9302e84f (chores) camel-dataset: avoid checking data set index when creating the exchanges cbd9302e84f is described below commit cbd9302e84fb6d5e9018acea404c4602d8ecbdaa Author: Otavio Rodolfo Piske AuthorDate: Fri Nov 18 10:52:42 2022 +0100 (chores) camel-dataset: avoid checking data set index when creating the exchanges --- .../main/java/org/apache/camel/component/dataset/DataSetConsumer.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/components/camel-dataset/src/main/java/org/apache/camel/component/dataset/DataSetConsumer.java b/components/camel-dataset/src/main/java/org/apache/camel/component/dataset/DataSetConsumer.java index 863f5398380..a7e2c80f93c 100644 --- a/components/camel-dataset/src/main/java/org/apache/camel/component/dataset/DataSetConsumer.java +++ b/components/camel-dataset/src/main/java/org/apache/camel/component/dataset/DataSetConsumer.java @@ -35,11 +35,13 @@ public class DataSetConsumer extends DefaultConsumer { private DataSetEndpoint endpoint; private Processor reporter; private ExecutorService executorService; +private final boolean withIndexHeader; public DataSetConsumer(DataSetEndpoint endpoint, Processor processor) { super(endpoint, processor); this.endpoint = endpoint; this.camelContext = endpoint.getCamelContext(); +this.withIndexHeader = !endpoint.getDataSetIndex().equals("off"); } @Override @@ -90,7 +92,7 @@ public class DataSetConsumer extends DefaultConsumer { endpoint.getDataSet().populateMessage(exchange, messageIndex); -if (!endpoint.getDataSetIndex().equals("off")) { +if (withIndexHeader) { Message in = exchange.getIn(); in.setHeader(DataSetConstants.DATASET_INDEX, messageIndex); }
[GitHub] [camel] orpiske merged pull request #8727: (chores) camel-dataset: avoid checking data set index when creating the exchanges
orpiske merged PR #8727: URL: https://github.com/apache/camel/pull/8727 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel] github-actions[bot] commented on pull request #8728: [CAMEL-18728]: Fix elasticsearch-rest component name and package in order to prevent component name clash for DSLs.
github-actions[bot] commented on PR #8728: URL: https://github.com/apache/camel/pull/8728#issuecomment-1320879242 ### Components tested: | Total | Tested | Failed :x: | Passed :white_check_mark: | | --- | --- | --- | --- | | 3 | 3 | 0 | 3 | -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel] github-actions[bot] commented on pull request #8731: CAMEL-18730: camel-report-maven-plugin - Fix import issue
github-actions[bot] commented on PR #8731: URL: https://github.com/apache/camel/pull/8731#issuecomment-1320878882 :no_entry_sign: There are (likely) no components to be tested in this PR -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel] ludovic-boutros commented on pull request #8728: [CAMEL-18728]: Fix elasticsearch-rest component name and package in order to prevent component name clash for DSLs.
ludovic-boutros commented on PR #8728: URL: https://github.com/apache/camel/pull/8728#issuecomment-1320867598 It should be ok now. So easy when you understand the build process a bit more 👍 . Thank you. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel] essobedo opened a new pull request, #8731: CAMEL-18730: camel-report-maven-plugin - Fix import issue
essobedo opened a new pull request, #8731: URL: https://github.com/apache/camel/pull/8731 Fixes https://issues.apache.org/jira/browse/CAMEL-18730 ## Motivation After generating the route coverage of the tests, if we launch the maven command `mvn camel-report:route-coverage`, the plugin fails due to an import issue. ## Modifications: * Remove the bad import and replace it with `List.of`. ## Result Tested against the example `main`: ``` mvn camel-report:route-coverage [INFO] Scanning for projects... [INFO] [INFO] < org.apache.camel.example:camel-example-main >- [INFO] Building Camel :: Example :: Main 3.20.0-SNAPSHOT [INFO] [ jar ]- [INFO] [INFO] --- camel-report-maven-plugin:3.20.0-SNAPSHOT:route-coverage (default-cli) @ camel-example-main --- [INFO] Discovered 1 routes [INFO] Route coverage summary: Class: org.apache.camel.example.MyRouteBuilder Route: foo Line # CountRoute -- -- 25 2from 26 2 bean 27 2 log Coverage: 3 out of 3 (100.0% / threshold 100.0%) Status: Success [INFO] [INFO] Overall coverage summary: Coverage: 3 out of 3 (100.0% / threshold 0.0%) Status: Success ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel] branch CAMEL-18730/fix-camel-report-maven-plugin-import-issue created (now e3d3a93d5eb)
This is an automated email from the ASF dual-hosted git repository. nfilotto pushed a change to branch CAMEL-18730/fix-camel-report-maven-plugin-import-issue in repository https://gitbox.apache.org/repos/asf/camel.git at e3d3a93d5eb CAMEL-18730: camel-report-maven-plugin - Fix import issue This branch includes the following new commits: new e3d3a93d5eb CAMEL-18730: camel-report-maven-plugin - Fix import issue The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference.
[camel] 01/01: CAMEL-18730: camel-report-maven-plugin - Fix import issue
This is an automated email from the ASF dual-hosted git repository. nfilotto pushed a commit to branch CAMEL-18730/fix-camel-report-maven-plugin-import-issue in repository https://gitbox.apache.org/repos/asf/camel.git commit e3d3a93d5eb58321f674f17f2dad90f0d1f7b017 Author: Nicolas Filotto AuthorDate: Sat Nov 19 12:45:16 2022 +0100 CAMEL-18730: camel-report-maven-plugin - Fix import issue --- .../src/main/java/org/apache/camel/maven/RouteCoverageMojo.java| 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/catalog/camel-report-maven-plugin/src/main/java/org/apache/camel/maven/RouteCoverageMojo.java b/catalog/camel-report-maven-plugin/src/main/java/org/apache/camel/maven/RouteCoverageMojo.java index 0392711bfb8..f64279bd1a8 100644 --- a/catalog/camel-report-maven-plugin/src/main/java/org/apache/camel/maven/RouteCoverageMojo.java +++ b/catalog/camel-report-maven-plugin/src/main/java/org/apache/camel/maven/RouteCoverageMojo.java @@ -47,7 +47,6 @@ import org.w3c.dom.Attr; import org.w3c.dom.Document; import org.w3c.dom.Element; -import edu.emory.mathcs.backport.java.util.Collections; import org.apache.camel.maven.model.RouteCoverageNode; import org.apache.camel.parser.RouteBuilderParser; import org.apache.camel.parser.XmlRouteParser; @@ -249,7 +248,7 @@ public class RouteCoverageMojo extends AbstractExecMojo { getLog().warn("No route coverage data found for route: " + routeId + ". Make sure to enable route coverage in your unit tests and assign unique route ids to your routes. Also remember to run unit tests first."); } else { -List coverage = gatherRouteCoverageSummary(Collections.singletonList(t), coverageData); +List coverage = gatherRouteCoverageSummary(List.of(t), coverageData); totalNumberOfNodes += coverage.size(); String out = templateCoverageData(fileName, routeId, coverage, notCovered, coveredNodes); getLog().info("Route coverage summary:\n\n" + out);
[GitHub] [camel] github-actions[bot] commented on pull request #8727: (chores) camel-dataset: avoid checking data set index when creating the exchanges
github-actions[bot] commented on PR #8727: URL: https://github.com/apache/camel/pull/8727#issuecomment-1320865913 ### Components tested: | Total | Tested | Failed :x: | Passed :white_check_mark: | | --- | --- | --- | --- | | 1 | 1 | 0 | 1 | -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel] orpiske commented on a diff in pull request #8727: (chores) camel-dataset: avoid checking data set index when creating the exchanges
orpiske commented on code in PR #8727: URL: https://github.com/apache/camel/pull/8727#discussion_r1027072607 ## components/camel-dataset/src/main/java/org/apache/camel/component/dataset/DataSetConsumer.java: ## @@ -35,11 +35,13 @@ public class DataSetConsumer extends DefaultConsumer { private DataSetEndpoint endpoint; private Processor reporter; private ExecutorService executorService; +private boolean dataSetIndex; Review Comment: > Or if we take directly the negation, it could rather be `withHeader` I went with a similar one: `withIndexHeader` so it's more specific. Thanks for pointing it out. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-quarkus] llowinge commented on issue #4282: CXF endpoint configured via URI options doesn't work with PAYLOAD mode
llowinge commented on issue #4282: URL: https://github.com/apache/camel-quarkus/issues/4282#issuecomment-1320846552 @ffang @ppalaga Isn't it bug when i declare `?dataFormat=PAYLOAD` but `POJO` dataFormat from different route declaration is being used ? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel] branch regen_bot updated (17d7bab23d5 -> 295d75c6817)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch regen_bot in repository https://gitbox.apache.org/repos/asf/camel.git from 17d7bab23d5 [CAMEL-18729]expose test resources/classes from camel-cxf-soap so that can be reused in camel-cxf-soap-starter add 295d75c6817 Added support to set x-queue-type in RabbitMQ (#8725) No new revisions were added by this update. Summary of changes: .../java/org/apache/camel/component/rabbitmq/RabbitMQConstants.java | 1 + .../org/apache/camel/component/rabbitmq/RabbitMQDeclareSupport.java | 5 + .../apache/camel/component/springrabbit/SpringRabbitMQConstants.java | 1 + .../apache/camel/component/springrabbit/SpringRabbitMQEndpoint.java | 4 4 files changed, 11 insertions(+)
[camel] branch main updated: Added support to set x-queue-type in RabbitMQ (#8725)
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 295d75c6817 Added support to set x-queue-type in RabbitMQ (#8725) 295d75c6817 is described below commit 295d75c6817ed899d94fcb1facf31941b31daa82 Author: Eduan AuthorDate: Sat Nov 19 10:37:32 2022 +0200 Added support to set x-queue-type in RabbitMQ (#8725) --- .../java/org/apache/camel/component/rabbitmq/RabbitMQConstants.java | 1 + .../org/apache/camel/component/rabbitmq/RabbitMQDeclareSupport.java | 5 + .../apache/camel/component/springrabbit/SpringRabbitMQConstants.java | 1 + .../apache/camel/component/springrabbit/SpringRabbitMQEndpoint.java | 4 4 files changed, 11 insertions(+) diff --git a/components/camel-rabbitmq/src/main/java/org/apache/camel/component/rabbitmq/RabbitMQConstants.java b/components/camel-rabbitmq/src/main/java/org/apache/camel/component/rabbitmq/RabbitMQConstants.java index a99ef556283..d07efe30c2e 100644 --- a/components/camel-rabbitmq/src/main/java/org/apache/camel/component/rabbitmq/RabbitMQConstants.java +++ b/components/camel-rabbitmq/src/main/java/org/apache/camel/component/rabbitmq/RabbitMQConstants.java @@ -96,6 +96,7 @@ public final class RabbitMQConstants { public static final String RABBITMQ_QUEUE_MESSAGE_TTL_KEY = "x-message-ttl"; public static final String RABBITMQ_QUEUE_TTL_KEY = "x-expires"; public static final String RABBITMQ_QUEUE_SINGLE_ACTIVE_CONSUMER_KEY = "x-single-active-consumer"; +public static final String RABBITMQ_QUEUE_TYPE_KEY = "x-queue-type"; public static final Set BASIC_AMQP_PROPERTIES = Stream .of(CONTENT_TYPE, PRIORITY, MESSAGE_ID, CLUSTERID, REPLY_TO, CORRELATIONID, DELIVERY_MODE, USERID, TYPE, diff --git a/components/camel-rabbitmq/src/main/java/org/apache/camel/component/rabbitmq/RabbitMQDeclareSupport.java b/components/camel-rabbitmq/src/main/java/org/apache/camel/component/rabbitmq/RabbitMQDeclareSupport.java index 8b7b56158b0..bd2a3281a41 100644 --- a/components/camel-rabbitmq/src/main/java/org/apache/camel/component/rabbitmq/RabbitMQDeclareSupport.java +++ b/components/camel-rabbitmq/src/main/java/org/apache/camel/component/rabbitmq/RabbitMQDeclareSupport.java @@ -100,6 +100,11 @@ public class RabbitMQDeclareSupport { queueArgs.put(RabbitMQConstants.RABBITMQ_QUEUE_SINGLE_ACTIVE_CONSUMER_KEY, Boolean.parseBoolean((String) singleConsumer)); } + +Object queueType = queueArgs.get(RabbitMQConstants.RABBITMQ_QUEUE_TYPE_KEY); +if (queueType instanceof String) { +queueArgs.put(RabbitMQConstants.RABBITMQ_QUEUE_TYPE_KEY, singleConsumer); +} } private void populateQueueArgumentsFromDeadLetterExchange(final Map queueArgs) { diff --git a/components/camel-spring-rabbitmq/src/main/java/org/apache/camel/component/springrabbit/SpringRabbitMQConstants.java b/components/camel-spring-rabbitmq/src/main/java/org/apache/camel/component/springrabbit/SpringRabbitMQConstants.java index 7e51f6384e7..bb012c425e2 100644 --- a/components/camel-spring-rabbitmq/src/main/java/org/apache/camel/component/springrabbit/SpringRabbitMQConstants.java +++ b/components/camel-spring-rabbitmq/src/main/java/org/apache/camel/component/springrabbit/SpringRabbitMQConstants.java @@ -39,6 +39,7 @@ public final class SpringRabbitMQConstants { public static final String DELIVERY_LIMIT = "x-delivery-limit"; public static final String EXPIRES = "x-expires"; public static final String SINGLE_ACTIVE_CONSUMER = "x-single-active-consumer"; +public static final String QUEUE_TYPE = "x-queue-type"; private SpringRabbitMQConstants() { // Constants class diff --git a/components/camel-spring-rabbitmq/src/main/java/org/apache/camel/component/springrabbit/SpringRabbitMQEndpoint.java b/components/camel-spring-rabbitmq/src/main/java/org/apache/camel/component/springrabbit/SpringRabbitMQEndpoint.java index 84b5b49f1a8..543f7c4c419 100644 --- a/components/camel-spring-rabbitmq/src/main/java/org/apache/camel/component/springrabbit/SpringRabbitMQEndpoint.java +++ b/components/camel-spring-rabbitmq/src/main/java/org/apache/camel/component/springrabbit/SpringRabbitMQEndpoint.java @@ -718,6 +718,10 @@ public class SpringRabbitMQEndpoint extends DefaultEndpoint implements AsyncEndp if (arg instanceof String) { args.put(SpringRabbitMQConstants.SINGLE_ACTIVE_CONSUMER, Boolean.parseBoolean((String) arg)); } +arg = args.get(SpringRabbitMQConstants.QUEUE_TYPE); +if (arg instanceof String) { +args.put(SpringRabbitMQConstants.QUEUE_TYPE, arg); +} } }
[GitHub] [camel] davsclaus merged pull request #8725: Added support for rabbitmq x-queue-type
davsclaus merged PR #8725: URL: https://github.com/apache/camel/pull/8725 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-spring-boot] branch main updated: [create-pull-request] automated change
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git The following commit(s) were added to refs/heads/main by this push: new f469ab8eb13 [create-pull-request] automated change f469ab8eb13 is described below commit f469ab8eb13ce6d07fe3eebb0e089981b0002778 Author: oscerd AuthorDate: Sat Nov 19 01:19:38 2022 + [create-pull-request] automated change --- tooling/camel-spring-boot-dependencies/pom.xml | 30 +- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/tooling/camel-spring-boot-dependencies/pom.xml b/tooling/camel-spring-boot-dependencies/pom.xml index 44a862bd465..fa6ef672874 100644 --- a/tooling/camel-spring-boot-dependencies/pom.xml +++ b/tooling/camel-spring-boot-dependencies/pom.xml @@ -169,7 +169,7 @@ io.methvin directory-watcher -0.17.0 +0.17.1 io.nessus @@ -4915,72 +4915,72 @@ org.testcontainers cassandra -1.17.5 +1.17.6 org.testcontainers couchbase -1.17.5 +1.17.6 org.testcontainers elasticsearch -1.17.5 +1.17.6 org.testcontainers gcloud -1.17.5 +1.17.6 org.testcontainers jdbc -1.17.5 +1.17.6 org.testcontainers junit-jupiter -1.17.5 +1.17.6 org.testcontainers kafka -1.17.5 +1.17.6 org.testcontainers localstack -1.17.5 +1.17.6 org.testcontainers mongodb -1.17.5 +1.17.6 org.testcontainers postgresql -1.17.5 +1.17.6 org.testcontainers pulsar -1.17.5 +1.17.6 org.testcontainers rabbitmq -1.17.5 +1.17.6 org.testcontainers redpanda -1.17.5 +1.17.6 org.testcontainers testcontainers -1.17.5 +1.17.6 stax
[GitHub] [camel-spring-boot] oscerd merged pull request #669: [Github Actions] Periodic Sync Camel Spring Boot Main Branch
oscerd merged PR #669: URL: https://github.com/apache/camel-spring-boot/pull/669 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org