This is an automated email from the ASF dual-hosted git repository. github-bot pushed a commit to branch camel-master in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
commit 10322c876a5f275b22864719ab7021e52b192aa6 Author: James Netherton <jamesnether...@gmail.com> AuthorDate: Wed Jan 6 08:53:07 2021 +0000 Upgrade to Camel 3.8.0 --- docs/modules/ROOT/pages/reference/extensions/jsonata.adoc | 2 +- docs/modules/ROOT/pages/reference/extensions/sjms.adoc | 3 +-- .../modules/ROOT/partials/reference/components/jsonata.adoc | 4 ++-- .../ROOT/partials/reference/components/paho-mqtt5.adoc | 1 + .../ROOT/partials/reference/components/sjms-batch.adoc | 13 ------------- .../ROOT/partials/reference/components/spring-rabbitmq.adoc | 1 + .../ROOT/partials/reference/others/flight-recorder.adoc | 1 + docs/modules/ROOT/partials/reference/others/jfr.adoc | 1 + .../apache/camel/component/qute/QuteEndpointConfigurer.java | 3 --- .../apache/camel/component/qute/QuteEndpointUriFactory.java | 3 +-- .../resources/org/apache/camel/component/qute/qute.json | 3 +-- .../quarkus/component/hazelcast/it/HazelcastQueueTest.java | 2 -- pom.xml | 6 +++--- 13 files changed, 13 insertions(+), 30 deletions(-) diff --git a/docs/modules/ROOT/pages/reference/extensions/jsonata.adoc b/docs/modules/ROOT/pages/reference/extensions/jsonata.adoc index d22514b..3b53fd3 100644 --- a/docs/modules/ROOT/pages/reference/extensions/jsonata.adoc +++ b/docs/modules/ROOT/pages/reference/extensions/jsonata.adoc @@ -16,7 +16,7 @@ JSON to JSON transformation using JSONATA. == What's inside -* xref:{cq-camel-components}::jsonata-component.adoc[JSONATA component], URI syntax: `jsonata:resourceUri` +* xref:{cq-camel-components}::jsonata-component.adoc[JSONata component], URI syntax: `jsonata:resourceUri` Please refer to the above link for usage and configuration details. diff --git a/docs/modules/ROOT/pages/reference/extensions/sjms.adoc b/docs/modules/ROOT/pages/reference/extensions/sjms.adoc index a9c8263..ccbfe90 100644 --- a/docs/modules/ROOT/pages/reference/extensions/sjms.adoc +++ b/docs/modules/ROOT/pages/reference/extensions/sjms.adoc @@ -18,9 +18,8 @@ Send and receive messages to/from a JMS Queue or Topic using plain JMS 1.x API. == What's inside * xref:{cq-camel-components}::sjms-component.adoc[Simple JMS component], URI syntax: `sjms:destinationType:destinationName` -* xref:{cq-camel-components}::sjms-batch-component.adoc[Simple JMS Batch component], URI syntax: `sjms-batch:destinationName` -Please refer to the above links for usage and configuration details. +Please refer to the above link for usage and configuration details. == Maven coordinates diff --git a/docs/modules/ROOT/partials/reference/components/jsonata.adoc b/docs/modules/ROOT/partials/reference/components/jsonata.adoc index 0e6518d..2b9f794 100644 --- a/docs/modules/ROOT/partials/reference/components/jsonata.adoc +++ b/docs/modules/ROOT/partials/reference/components/jsonata.adoc @@ -8,6 +8,6 @@ :cq-jvm-since: 1.6.0 :cq-native-since: 1.6.0 :cq-camel-part-name: jsonata -:cq-camel-part-title: JSONATA -:cq-camel-part-description: JSON to JSON transformation using JSONATA. +:cq-camel-part-title: JSONata +:cq-camel-part-description: Transforms JSON payload using JSONata transformation. :cq-extension-page-title: JSONATA diff --git a/docs/modules/ROOT/partials/reference/components/paho-mqtt5.adoc b/docs/modules/ROOT/partials/reference/components/paho-mqtt5.adoc new file mode 100644 index 0000000..a509c1d --- /dev/null +++ b/docs/modules/ROOT/partials/reference/components/paho-mqtt5.adoc @@ -0,0 +1 @@ +// Empty partial for a Camel bit unsupported by Camel Quarkus to avoid warnings when this file is included from a Camel page diff --git a/docs/modules/ROOT/partials/reference/components/sjms-batch.adoc b/docs/modules/ROOT/partials/reference/components/sjms-batch.adoc deleted file mode 100644 index eff2868..0000000 --- a/docs/modules/ROOT/partials/reference/components/sjms-batch.adoc +++ /dev/null @@ -1,13 +0,0 @@ -// Do not edit directly! -// This file was generated by camel-quarkus-maven-plugin:update-extension-doc-page -:cq-artifact-id: camel-quarkus-sjms -:cq-artifact-id-base: sjms -:cq-native-supported: true -:cq-status: Stable -:cq-deprecated: false -:cq-jvm-since: 1.0.0 -:cq-native-since: 1.0.0 -:cq-camel-part-name: sjms-batch -:cq-camel-part-title: Simple JMS Batch -:cq-camel-part-description: Highly performant and transactional batch consumption of messages from a JMS queue. -:cq-extension-page-title: Simple JMS diff --git a/docs/modules/ROOT/partials/reference/components/spring-rabbitmq.adoc b/docs/modules/ROOT/partials/reference/components/spring-rabbitmq.adoc new file mode 100644 index 0000000..a509c1d --- /dev/null +++ b/docs/modules/ROOT/partials/reference/components/spring-rabbitmq.adoc @@ -0,0 +1 @@ +// Empty partial for a Camel bit unsupported by Camel Quarkus to avoid warnings when this file is included from a Camel page diff --git a/docs/modules/ROOT/partials/reference/others/flight-recorder.adoc b/docs/modules/ROOT/partials/reference/others/flight-recorder.adoc new file mode 100644 index 0000000..a509c1d --- /dev/null +++ b/docs/modules/ROOT/partials/reference/others/flight-recorder.adoc @@ -0,0 +1 @@ +// Empty partial for a Camel bit unsupported by Camel Quarkus to avoid warnings when this file is included from a Camel page diff --git a/docs/modules/ROOT/partials/reference/others/jfr.adoc b/docs/modules/ROOT/partials/reference/others/jfr.adoc new file mode 100644 index 0000000..a509c1d --- /dev/null +++ b/docs/modules/ROOT/partials/reference/others/jfr.adoc @@ -0,0 +1 @@ +// Empty partial for a Camel bit unsupported by Camel Quarkus to avoid warnings when this file is included from a Camel page diff --git a/extensions/qute/component/src/generated/java/org/apache/camel/component/qute/QuteEndpointConfigurer.java b/extensions/qute/component/src/generated/java/org/apache/camel/component/qute/QuteEndpointConfigurer.java index ff14a7c..015d6e0 100644 --- a/extensions/qute/component/src/generated/java/org/apache/camel/component/qute/QuteEndpointConfigurer.java +++ b/extensions/qute/component/src/generated/java/org/apache/camel/component/qute/QuteEndpointConfigurer.java @@ -30,7 +30,6 @@ public class QuteEndpointConfigurer extends PropertyConfigurerSupport implements case "encoding": target.setEncoding(property(camelContext, java.lang.String.class, value)); return true; case "lazystartproducer": case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true; - case "synchronous": target.setSynchronous(property(camelContext, boolean.class, value)); return true; default: return false; } } @@ -47,7 +46,6 @@ public class QuteEndpointConfigurer extends PropertyConfigurerSupport implements case "encoding": return java.lang.String.class; case "lazystartproducer": case "lazyStartProducer": return boolean.class; - case "synchronous": return boolean.class; default: return null; } } @@ -65,7 +63,6 @@ public class QuteEndpointConfigurer extends PropertyConfigurerSupport implements case "encoding": return target.getEncoding(); case "lazystartproducer": case "lazyStartProducer": return target.isLazyStartProducer(); - case "synchronous": return target.isSynchronous(); default: return null; } } diff --git a/extensions/qute/component/src/generated/java/org/apache/camel/component/qute/QuteEndpointUriFactory.java b/extensions/qute/component/src/generated/java/org/apache/camel/component/qute/QuteEndpointUriFactory.java index 3ab0ef8..46cc173 100644 --- a/extensions/qute/component/src/generated/java/org/apache/camel/component/qute/QuteEndpointUriFactory.java +++ b/extensions/qute/component/src/generated/java/org/apache/camel/component/qute/QuteEndpointUriFactory.java @@ -20,10 +20,9 @@ public class QuteEndpointUriFactory extends org.apache.camel.support.component.E private static final Set<String> PROPERTY_NAMES; private static final Set<String> SECRET_PROPERTY_NAMES; static { - Set<String> props = new HashSet<>(7); + Set<String> props = new HashSet<>(6); props.add("allowTemplateFromHeader"); props.add("lazyStartProducer"); - props.add("synchronous"); props.add("contentCache"); props.add("allowContextMapAll"); props.add("resourceUri"); diff --git a/extensions/qute/component/src/generated/resources/org/apache/camel/component/qute/qute.json b/extensions/qute/component/src/generated/resources/org/apache/camel/component/qute/qute.json index 843e553..8ba71f3 100644 --- a/extensions/qute/component/src/generated/resources/org/apache/camel/component/qute/qute.json +++ b/extensions/qute/component/src/generated/resources/org/apache/camel/component/qute/qute.json @@ -33,7 +33,6 @@ "allowTemplateFromHeader": { "kind": "parameter", "displayName": "Allow Template From Header", "group": "producer", "label": "", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Whether to allow to use resource template from header or not (default false). Enabling this allows to specify dynamic templates via message header. However this can be seen as a potential security vuln [...] "contentCache": { "kind": "parameter", "displayName": "Content Cache", "group": "producer", "label": "", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Sets whether to use resource content cache or not" }, "encoding": { "kind": "parameter", "displayName": "Encoding", "group": "producer", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Character encoding of the resource content." }, - "lazyStartProducer": { "kind": "parameter", "displayName": "Lazy Start Producer", "group": "producer", "label": "producer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during sta [...] - "synchronous": { "kind": "parameter", "displayName": "Synchronous", "group": "advanced", "label": "advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported)." } + "lazyStartProducer": { "kind": "parameter", "displayName": "Lazy Start Producer", "group": "producer", "label": "producer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during sta [...] } } diff --git a/integration-tests/hazelcast/src/test/java/org/apache/camel/quarkus/component/hazelcast/it/HazelcastQueueTest.java b/integration-tests/hazelcast/src/test/java/org/apache/camel/quarkus/component/hazelcast/it/HazelcastQueueTest.java index b8ad960..3410a99 100644 --- a/integration-tests/hazelcast/src/test/java/org/apache/camel/quarkus/component/hazelcast/it/HazelcastQueueTest.java +++ b/integration-tests/hazelcast/src/test/java/org/apache/camel/quarkus/component/hazelcast/it/HazelcastQueueTest.java @@ -25,7 +25,6 @@ import io.quarkus.test.common.http.TestHTTPEndpoint; import io.quarkus.test.junit.QuarkusTest; import io.restassured.RestAssured; import io.restassured.http.ContentType; -import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; import static io.restassured.RestAssured.given; @@ -144,7 +143,6 @@ public class HazelcastQueueTest { @SuppressWarnings("unchecked") @Test - @Disabled public void testPollConsumer() { // add all values given() diff --git a/pom.xml b/pom.xml index 4602446..de5624b 100644 --- a/pom.xml +++ b/pom.xml @@ -23,7 +23,7 @@ <parent> <groupId>org.apache.camel</groupId> <artifactId>camel-dependencies</artifactId> - <version>3.7.0</version> + <version>3.8.0-SNAPSHOT</version> </parent> <groupId>org.apache.camel.quarkus</groupId> @@ -46,7 +46,7 @@ <bouncycastle.version>${bouncycastle-version}</bouncycastle.version><!-- keep in sync with Camel --> <camel.major.minor>3.7</camel.major.minor> <!-- run after each change: cd docs && mvndev validate --> - <camel.version>${camel.major.minor}.1</camel.version> + <camel.version>3.8.0-SNAPSHOT</camel.version> <camel.docs.components.xref>${camel.major.minor}.x@components</camel.docs.components.xref><!-- the version in Camel's docs/components/antora.yml --> <camel.docs.branch>camel-${camel.major.minor}.x</camel.docs.branch><!-- The stable branch on which our Antora docs depends --> @@ -79,7 +79,7 @@ <jaxen.version>1.2.0</jaxen.version> <javassist.version>3.22.0-CR2</javassist.version><!-- debezium --> <jersey-sun.version>1.19.4</jersey-sun.version><!-- Spark --> - <jetty.version>9.4.18.v20190429</jetty.version> + <jetty.version>${jetty9-version}</jetty.version> <jnr-ffi.version>2.1.2</jnr-ffi.version><!-- Mess in web3j transitive deps --> <kafka.version>2.5.0</kafka.version> <kudu.version>${kudu-version}</kudu.version><!-- keep in sync with Camel -->