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 33ff5c946a9 Regen 33ff5c946a9 is described below commit 33ff5c946a9b20491c46b0d0ec07d662240a5e20 Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Tue Nov 12 08:26:21 2024 +0100 Regen --- .../camel/springboot/catalog/dataformats/fury.json | 5 ++- .../camel-fury-starter/src/main/docs/fury.json | 21 +++++++++++++ .../springboot/FuryDataFormatConfiguration.java | 36 ++++++++++++++++++++++ tooling/camel-spring-boot-dependencies/pom.xml | 2 +- 4 files changed, 62 insertions(+), 2 deletions(-) diff --git a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/dataformats/fury.json b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/dataformats/fury.json index 751fe165924..bf46790da1f 100644 --- a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/dataformats/fury.json +++ b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/dataformats/fury.json @@ -17,6 +17,9 @@ }, "properties": { "id": { "index": 0, "kind": "attribute", "displayName": "Id", "group": "common", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "The id of this node" }, - "unmarshalType": { "index": 1, "kind": "attribute", "displayName": "Unmarshal Type", "group": "common", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Class of the java type to use when unmarshalling" } + "unmarshalType": { "index": 1, "kind": "attribute", "displayName": "Unmarshal Type", "group": "common", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Class of the java type to use when unmarshalling" }, + "requireClassRegistration": { "index": 2, "kind": "attribute", "displayName": "Require Class Registration", "group": "advanced", "label": "advanced", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "Whether to require register classes" }, + "threadSafe": { "index": 3, "kind": "attribute", "displayName": "Thread Safe", "group": "advanced", "label": "advanced", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "Whether to use the threadsafe fury" }, + "allowAutoWiredFury": { "index": 4, "kind": "attribute", "displayName": "Allow Auto Wired Fury", "group": "advanced", "label": "advanced", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "Whether to auto-discover Fury from the registry" } } } diff --git a/components-starter/camel-fury-starter/src/main/docs/fury.json b/components-starter/camel-fury-starter/src/main/docs/fury.json index ba8489fd873..c5ada2fa1d7 100644 --- a/components-starter/camel-fury-starter/src/main/docs/fury.json +++ b/components-starter/camel-fury-starter/src/main/docs/fury.json @@ -13,6 +13,13 @@ } ], "properties": [ + { + "name": "camel.dataformat.fury.allow-auto-wired-fury", + "type": "java.lang.Boolean", + "description": "Whether to auto-discover Fury from the registry", + "sourceType": "org.apache.camel.component.fury.springboot.FuryDataFormatConfiguration", + "defaultValue": true + }, { "name": "camel.dataformat.fury.customizer.enabled", "type": "java.lang.Boolean", @@ -24,6 +31,20 @@ "description": "Whether to enable auto configuration of the fury data format. This is enabled by default.", "sourceType": "org.apache.camel.component.fury.springboot.FuryDataFormatConfiguration" }, + { + "name": "camel.dataformat.fury.require-class-registration", + "type": "java.lang.Boolean", + "description": "Whether to require register classes", + "sourceType": "org.apache.camel.component.fury.springboot.FuryDataFormatConfiguration", + "defaultValue": true + }, + { + "name": "camel.dataformat.fury.thread-safe", + "type": "java.lang.Boolean", + "description": "Whether to use the threadsafe fury", + "sourceType": "org.apache.camel.component.fury.springboot.FuryDataFormatConfiguration", + "defaultValue": true + }, { "name": "camel.dataformat.fury.unmarshal-type", "type": "java.lang.String", diff --git a/components-starter/camel-fury-starter/src/main/java/org/apache/camel/component/fury/springboot/FuryDataFormatConfiguration.java b/components-starter/camel-fury-starter/src/main/java/org/apache/camel/component/fury/springboot/FuryDataFormatConfiguration.java index 64e5a19376e..f3efd4a1d35 100644 --- a/components-starter/camel-fury-starter/src/main/java/org/apache/camel/component/fury/springboot/FuryDataFormatConfiguration.java +++ b/components-starter/camel-fury-starter/src/main/java/org/apache/camel/component/fury/springboot/FuryDataFormatConfiguration.java @@ -38,6 +38,18 @@ public class FuryDataFormatConfiguration * Class of the java type to use when unmarshalling */ private String unmarshalType; + /** + * Whether to require register classes + */ + private Boolean requireClassRegistration = true; + /** + * Whether to use the threadsafe fury + */ + private Boolean threadSafe = true; + /** + * Whether to auto-discover Fury from the registry + */ + private Boolean allowAutoWiredFury = true; public String getUnmarshalType() { return unmarshalType; @@ -46,4 +58,28 @@ public class FuryDataFormatConfiguration public void setUnmarshalType(String unmarshalType) { this.unmarshalType = unmarshalType; } + + public Boolean getRequireClassRegistration() { + return requireClassRegistration; + } + + public void setRequireClassRegistration(Boolean requireClassRegistration) { + this.requireClassRegistration = requireClassRegistration; + } + + public Boolean getThreadSafe() { + return threadSafe; + } + + public void setThreadSafe(Boolean threadSafe) { + this.threadSafe = threadSafe; + } + + public Boolean getAllowAutoWiredFury() { + return allowAutoWiredFury; + } + + public void setAllowAutoWiredFury(Boolean allowAutoWiredFury) { + this.allowAutoWiredFury = allowAutoWiredFury; + } } \ No newline at end of file diff --git a/tooling/camel-spring-boot-dependencies/pom.xml b/tooling/camel-spring-boot-dependencies/pom.xml index d57636b282f..777ec581846 100644 --- a/tooling/camel-spring-boot-dependencies/pom.xml +++ b/tooling/camel-spring-boot-dependencies/pom.xml @@ -8667,7 +8667,7 @@ <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-archiver</artifactId> - <version>3.6.2</version> + <version>3.6.3</version> </dependency> <dependency> <groupId>org.apache.maven</groupId>