This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git
The following commit(s) were added to refs/heads/master by this push:
new 934eeac vertx4 upgrade - regen
934eeac is described below
commit 934eeac862f6c15880215a74543ebcdd79d4faac
Author: Claus Ibsen <[email protected]>
AuthorDate: Mon Apr 19 07:32:51 2021 +0200
vertx4 upgrade - regen
---
.../org/apache/camel/springboot/catalog/components/stitch.json | 2 +-
.../apache/camel/springboot/catalog/components/vertx-http.json | 2 +-
.../org/apache/camel/springboot/catalog/components/vertx.json | 2 +-
.../camel-vertx-starter/src/main/docs/vertx-starter.adoc | 2 +-
.../vertx/springboot/VertxComponentConfiguration.java | 10 +++++-----
.../component/vertx/springboot/VertxComponentConverter.java | 4 ++--
docs/modules/ROOT/pages/vertx-starter.adoc | 2 +-
7 files changed, 12 insertions(+), 12 deletions(-)
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/stitch.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/stitch.json
index 78216e0..f422aac 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/stitch.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/stitch.json
@@ -34,7 +34,7 @@
"token": { "kind": "property", "displayName": "Token", "group":
"security", "label": "security", "required": true, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": true, "configurationClass":
"org.apache.camel.component.stitch.StitchConfiguration", "configurationField":
"configuration", "description": "Stitch access token for the Stitch Import API"
}
},
"properties": {
- "tableName": { "kind": "path", "displayName": "Table Name", "group":
"producer", "label": "", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"configurationClass": "org.apache.camel.component.stitch.StitchConfiguration",
"configurationField": "configuration", "description": "The name of the
destination table the data is being pushed to. Table names must be unique in
each destination schema, or loading issu [...]
+ "tableName": { "kind": "path", "displayName": "Table Name", "group":
"producer", "label": "", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"configurationClass": "org.apache.camel.component.stitch.StitchConfiguration",
"configurationField": "configuration", "description": "The name of the
destination table the data is being pushed to. Table names must be unique in
each destination schema, or loading issu [...]
"keyNames": { "kind": "parameter", "displayName": "Key Names", "group":
"producer", "label": "producer", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.stitch.StitchConfiguration", "configurationField":
"configuration", "description": "A collection of comma separated strings
representing the Primary Key fields in the source table. Stitch use these
Primary [...]
"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 [...]
"region": { "kind": "parameter", "displayName": "Region", "group":
"producer", "label": "producer", "required": false, "type": "object",
"javaType": "org.apache.camel.component.stitch.client.StitchRegion", "enum": [
"NORTH_AMERICA", "EUROPE" ], "deprecated": false, "autowired": false, "secret":
false, "defaultValue": "EUROPE", "configurationClass":
"org.apache.camel.component.stitch.StitchConfiguration", "configurationField":
"configuration", "description": "Stitch account region, e. [...]
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/vertx-http.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/vertx-http.json
index 5514f06..072a6c8 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/vertx-http.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/vertx-http.json
@@ -46,7 +46,7 @@
"connectTimeout": { "kind": "parameter", "displayName": "Connect Timeout",
"group": "producer", "label": "producer", "required": false, "type": "integer",
"javaType": "int", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": 60000, "configurationClass":
"org.apache.camel.component.vertx.http.VertxHttpConfiguration",
"configurationField": "configuration", "description": "The amount of time in
milliseconds until a connection is established. A timeout value of zer [...]
"cookieStore": { "kind": "parameter", "displayName": "Cookie Store",
"group": "producer", "label": "producer", "required": false, "type": "object",
"javaType": "io.vertx.ext.web.client.spi.CookieStore", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": "InMemoryCookieStore",
"configurationClass":
"org.apache.camel.component.vertx.http.VertxHttpConfiguration",
"configurationField": "configuration", "description": "A custom CookieStore to
use when session manage [...]
"headerFilterStrategy": { "kind": "parameter", "displayName": "Header
Filter Strategy", "group": "producer", "label": "producer", "required": false,
"type": "object", "javaType": "org.apache.camel.spi.HeaderFilterStrategy",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
"VertxHttpHeaderFilterStrategy", "configurationClass":
"org.apache.camel.component.vertx.http.VertxHttpConfiguration",
"configurationField": "configuration", "description": "A custom org.apa [...]
- "httpMethod": { "kind": "parameter", "displayName": "Http Method",
"group": "producer", "label": "producer", "required": false, "type": "object",
"javaType": "io.vertx.core.http.HttpMethod", "enum": [ "OPTIONS", "GET",
"HEAD", "POST", "PUT", "DELETE", "TRACE", "CONNECT", "PATCH", "OTHER" ],
"deprecated": false, "autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.vertx.http.VertxHttpConfiguration",
"configurationField": "configuration", "description" [...]
+ "httpMethod": { "kind": "parameter", "displayName": "Http Method",
"group": "producer", "label": "producer", "required": false, "type": "object",
"javaType": "io.vertx.core.http.HttpMethod", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.vertx.http.VertxHttpConfiguration",
"configurationField": "configuration", "description": "The HTTP method to use.
The HttpMethod header cannot override this option if set" },
"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 [...]
"okStatusCodeRange": { "kind": "parameter", "displayName": "Ok Status Code
Range", "group": "producer", "label": "producer", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": "200-299", "configurationClass":
"org.apache.camel.component.vertx.http.VertxHttpConfiguration",
"configurationField": "configuration", "description": "The status codes which
are considered a success response. The values [...]
"responsePayloadAsByteArray": { "kind": "parameter", "displayName":
"Response Payload As Byte Array", "group": "producer", "label": "producer",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": true,
"configurationClass":
"org.apache.camel.component.vertx.http.VertxHttpConfiguration",
"configurationField": "configuration", "description": "Whether the response
body should be byte or as io.vertx.core.b [...]
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/vertx.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/vertx.json
index 7959f14..10fb5b4 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/vertx.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/vertx.json
@@ -30,7 +30,7 @@
"bridgeErrorHandler": { "kind": "property", "displayName": "Bridge Error
Handler", "group": "consumer", "label": "consumer", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "description": "Allows for bridging the
consumer to the Camel routing Error Handler, which mean any exceptions occurred
while the consumer is trying to pickup incoming messages, or the likes, will
now be processed as a me [...]
"lazyStartProducer": { "kind": "property", "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 star [...]
"autowiredEnabled": { "kind": "property", "displayName": "Autowired
Enabled", "group": "advanced", "label": "advanced", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": true, "description": "Whether autowiring is
enabled. This is used for automatic autowiring options (the option must be
marked as autowired) by looking up in the registry to find if there is a single
instance of matching type, which t [...]
- "vertxFactory": { "kind": "property", "displayName": "Vertx Factory",
"group": "advanced", "label": "advanced", "required": false, "type": "object",
"javaType": "io.vertx.core.spi.VertxFactory", "deprecated": false, "autowired":
false, "secret": false, "description": "To use a custom VertxFactory
implementation" }
+ "vertxFactory": { "kind": "property", "displayName": "Vertx Factory",
"group": "advanced", "label": "advanced", "required": false, "type": "object",
"javaType": "io.vertx.core.impl.VertxBuilder", "deprecated": false,
"autowired": false, "secret": false, "description": "To use a custom
VertxFactory implementation" }
},
"properties": {
"address": { "kind": "path", "displayName": "Address", "group": "common",
"label": "", "required": true, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "deprecationNote": "", "autowired":
false, "secret": false, "description": "Sets the event bus address used to
communicate" },
diff --git
a/components-starter/camel-vertx-starter/src/main/docs/vertx-starter.adoc
b/components-starter/camel-vertx-starter/src/main/docs/vertx-starter.adoc
index 8a8d91f..f2b9d95 100644
--- a/components-starter/camel-vertx-starter/src/main/docs/vertx-starter.adoc
+++ b/components-starter/camel-vertx-starter/src/main/docs/vertx-starter.adoc
@@ -32,7 +32,7 @@ The component supports 10 options, which are listed below.
| *camel.component.vertx.port* | Port for creating an embedded clustered
EventBus | | Integer
| *camel.component.vertx.timeout* | Timeout in seconds to wait for clustered
Vertx EventBus to be ready. The default value is 60. | 60 | Integer
| *camel.component.vertx.vertx* | To use the given vertx EventBus instead of
creating a new embedded EventBus. The option is a io.vertx.core.Vertx type. |
| Vertx
-| *camel.component.vertx.vertx-factory* | To use a custom VertxFactory
implementation. The option is a io.vertx.core.spi.VertxFactory type. | |
VertxFactory
+| *camel.component.vertx.vertx-factory* | To use a custom VertxFactory
implementation. The option is a io.vertx.core.impl.VertxBuilder type. | |
VertxBuilder
| *camel.component.vertx.vertx-options* | Options to use for creating vertx.
The option is a io.vertx.core.VertxOptions type. | | VertxOptions
|===
// spring-boot-auto-configure options: END
diff --git
a/components-starter/camel-vertx-starter/src/main/java/org/apache/camel/component/vertx/springboot/VertxComponentConfiguration.java
b/components-starter/camel-vertx-starter/src/main/java/org/apache/camel/component/vertx/springboot/VertxComponentConfiguration.java
index 218d1cd..e7de1fc 100644
---
a/components-starter/camel-vertx-starter/src/main/java/org/apache/camel/component/vertx/springboot/VertxComponentConfiguration.java
+++
b/components-starter/camel-vertx-starter/src/main/java/org/apache/camel/component/vertx/springboot/VertxComponentConfiguration.java
@@ -19,7 +19,7 @@ package org.apache.camel.component.vertx.springboot;
import javax.annotation.Generated;
import io.vertx.core.Vertx;
import io.vertx.core.VertxOptions;
-import io.vertx.core.spi.VertxFactory;
+import io.vertx.core.impl.VertxBuilder;
import org.apache.camel.spring.boot.ComponentConfigurationPropertiesCommon;
import org.springframework.boot.context.properties.ConfigurationProperties;
@@ -93,9 +93,9 @@ public class VertxComponentConfiguration
private Boolean autowiredEnabled = true;
/**
* To use a custom VertxFactory implementation. The option is a
- * io.vertx.core.spi.VertxFactory type.
+ * io.vertx.core.impl.VertxBuilder type.
*/
- private VertxFactory vertxFactory;
+ private VertxBuilder vertxFactory;
public String getHost() {
return host;
@@ -161,11 +161,11 @@ public class VertxComponentConfiguration
this.autowiredEnabled = autowiredEnabled;
}
- public VertxFactory getVertxFactory() {
+ public VertxBuilder getVertxFactory() {
return vertxFactory;
}
- public void setVertxFactory(VertxFactory vertxFactory) {
+ public void setVertxFactory(VertxBuilder vertxFactory) {
this.vertxFactory = vertxFactory;
}
}
\ No newline at end of file
diff --git
a/components-starter/camel-vertx-starter/src/main/java/org/apache/camel/component/vertx/springboot/VertxComponentConverter.java
b/components-starter/camel-vertx-starter/src/main/java/org/apache/camel/component/vertx/springboot/VertxComponentConverter.java
index 1a76c33..ac4060e 100644
---
a/components-starter/camel-vertx-starter/src/main/java/org/apache/camel/component/vertx/springboot/VertxComponentConverter.java
+++
b/components-starter/camel-vertx-starter/src/main/java/org/apache/camel/component/vertx/springboot/VertxComponentConverter.java
@@ -43,7 +43,7 @@ public class VertxComponentConverter implements
GenericConverter {
Set<ConvertiblePair> answer = new LinkedHashSet<>();
answer.add(new ConvertiblePair(String.class,
io.vertx.core.Vertx.class));
answer.add(new ConvertiblePair(String.class,
io.vertx.core.VertxOptions.class));
- answer.add(new ConvertiblePair(String.class,
io.vertx.core.spi.VertxFactory.class));
+ answer.add(new ConvertiblePair(String.class,
io.vertx.core.impl.VertxBuilder.class));
return answer;
}
@@ -62,7 +62,7 @@ public class VertxComponentConverter implements
GenericConverter {
switch (targetType.getName()) {
case "io.vertx.core.Vertx": return applicationContext.getBean(ref,
io.vertx.core.Vertx.class);
case "io.vertx.core.VertxOptions": return
applicationContext.getBean(ref, io.vertx.core.VertxOptions.class);
- case "io.vertx.core.spi.VertxFactory": return
applicationContext.getBean(ref, io.vertx.core.spi.VertxFactory.class);
+ case "io.vertx.core.impl.VertxBuilder": return
applicationContext.getBean(ref, io.vertx.core.impl.VertxBuilder.class);
}
return null;
}
diff --git a/docs/modules/ROOT/pages/vertx-starter.adoc
b/docs/modules/ROOT/pages/vertx-starter.adoc
index 8a8d91f..f2b9d95 100644
--- a/docs/modules/ROOT/pages/vertx-starter.adoc
+++ b/docs/modules/ROOT/pages/vertx-starter.adoc
@@ -32,7 +32,7 @@ The component supports 10 options, which are listed below.
| *camel.component.vertx.port* | Port for creating an embedded clustered
EventBus | | Integer
| *camel.component.vertx.timeout* | Timeout in seconds to wait for clustered
Vertx EventBus to be ready. The default value is 60. | 60 | Integer
| *camel.component.vertx.vertx* | To use the given vertx EventBus instead of
creating a new embedded EventBus. The option is a io.vertx.core.Vertx type. |
| Vertx
-| *camel.component.vertx.vertx-factory* | To use a custom VertxFactory
implementation. The option is a io.vertx.core.spi.VertxFactory type. | |
VertxFactory
+| *camel.component.vertx.vertx-factory* | To use a custom VertxFactory
implementation. The option is a io.vertx.core.impl.VertxBuilder type. | |
VertxBuilder
| *camel.component.vertx.vertx-options* | Options to use for creating vertx.
The option is a io.vertx.core.VertxOptions type. | | VertxOptions
|===
// spring-boot-auto-configure options: END