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 9bc84e58d042 camel-core-model: the avro dataformat's library option
defaults to a value not in its own enum (#29971)
9bc84e58d042 is described below
commit 9bc84e58d0426d105b9991277cfa5a2b559986b9
Author: dhairya05 <[email protected]>
AuthorDate: Wed Nov 18 00:26:47 2026 +0530
camel-core-model: the avro dataformat's library option defaults to a value
not in its own enum (#29971)
* camel-core-model: the avro dataformat's library option defaults to a
value not in its own enum
@Metadata(defaultValue = "avroJackson", description = "Which Avro
library to use.")
private AvroLibrary library = AvroLibrary.Jackson;
avroJackson is the dataFormatName AvroLibrary.Jackson carries, not the
constant, and the constant is what the attribute takes. The catalog ends
up contradicting itself:
"library": { ... "enum": [ "ApacheAvro", "Jackson" ], "defaultValue":
"avroJackson", ... }
The YAML DSL schema says the same, and there it is a JSON Schema whose
declared default is not among its own enum values, so a validating
editor rejects the default it was given. camel-spring.xsd and
camel-xml-io.xsd both document "Default value: avroJackson" for an
attribute that only accepts ApacheAvro or Jackson.
JsonDataFormat, the closest sibling, has it right: defaultValue =
"Jackson" against enum Fastjson, Gson, Jackson, Jsonb.
Declare Jackson, the constant the field is initialised to.
* Regen
* camel-yaml-dsl-validator: resolve a data format whose library is the
model's own name
CatalogBodyTypes.dataFormat matched the library option against the data
format names of the model, which worked while avro's default was the
data format name avroJackson. With the default now the enum constant
Jackson, avro: {} matched neither avro nor avroJackson and the validator
lost avro's body types.
Match the library against <model><library> as well, so Jackson finds
avroJackson, and fall back to the data format named like the model, so
ApacheAvro finds avro. That second half also fixes protobuf, whose
default GoogleProtobuf never resolved to the protobuf data format.
TextBodyFlowTest#testTheBodyOfBinaryDataFormats now covers
avro: {library: ApacheAvro} next to the default case.
* camel-yaml-dsl-validator: an avro unmarshal with ApacheAvro gives an
object, not parsed data
The ApacheAvro library makes an object of instanceClassName, which the file
producer is not reported for, like cbor. Test the library option resolution
of the avro data format directly instead.
Co-Authored-By: Claude Opus 5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
---
.../org/apache/camel/catalog/models/avro.json | 2 +-
.../apache/camel/catalog/schemas/camel-spring.xsd | 2 +-
.../apache/camel/catalog/schemas/camel-xml-io.xsd | 2 +-
.../camel/catalog/schemas/camelYamlDsl-model.json | 2 +-
.../org/apache/camel/model/dataformat/avro.json | 2 +-
.../camel/model/dataformat/AvroDataFormat.java | 2 +-
.../apache/camel/java/out/JavaDslModelWriter.java | 2 +-
.../java/org/apache/camel/xml/out/ModelWriter.java | 2 +-
.../org/apache/camel/yaml/out/YamlModelWriter.java | 2 +-
.../dsl/yaml/deserializers/ModelDeserializers.java | 2 +-
.../camel/dsl/yaml/validator/CatalogBodyTypes.java | 6 +++-
.../camel/dsl/yaml/validator/TextBodyFlowTest.java | 32 ++++++++++++++++++++--
.../resources/schema/camelYamlDsl-canonical.json | 2 +-
.../resources/schema/camelYamlDsl-model.json | 2 +-
.../generated/resources/schema/camelYamlDsl.json | 2 +-
15 files changed, 48 insertions(+), 16 deletions(-)
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/avro.json
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/avro.json
index eb7f631c645a..b4c45d3f81ab 100644
---
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/avro.json
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/avro.json
@@ -15,7 +15,7 @@
"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" },
"instanceClassName": { "index": 1, "kind": "attribute", "displayName":
"Instance Class Name", "group": "common", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "Class name to use for marshal and
unmarshalling." },
- "library": { "index": 2, "kind": "attribute", "displayName": "Library",
"group": "common", "required": false, "type": "enum", "javaType":
"org.apache.camel.model.dataformat.AvroLibrary", "enum": [ "ApacheAvro",
"Jackson" ], "deprecated": false, "autowired": false, "secret": false,
"defaultValue": "avroJackson", "description": "Which Avro library to use." },
+ "library": { "index": 2, "kind": "attribute", "displayName": "Library",
"group": "common", "required": false, "type": "enum", "javaType":
"org.apache.camel.model.dataformat.AvroLibrary", "enum": [ "ApacheAvro",
"Jackson" ], "deprecated": false, "autowired": false, "secret": false,
"defaultValue": "Jackson", "description": "Which Avro library to use." },
"objectMapper": { "index": 3, "kind": "attribute", "displayName": "Object
Mapper", "group": "advanced", "label": "advanced", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "description": "Lookup and use the existing
ObjectMapper with the given id when using Jackson." },
"useDefaultObjectMapper": { "index": 4, "kind": "attribute",
"displayName": "Use Default Object Mapper", "group": "common", "required":
false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": true, "description":
"Whether to lookup and use default Jackson ObjectMapper from the registry. The
registry is only searched when autoDiscoverObjectMapper is true as well." },
"unmarshalType": { "index": 5, "kind": "attribute", "displayName":
"Unmarshal Type", "group": "common", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "Class name of the java type to use when
unmarshalling." },
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd
index 426502a63374..bf10cf6aa43e 100644
---
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd
@@ -7389,7 +7389,7 @@ Class name to use for marshal and unmarshalling.
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Which Avro library to use. Default value: avroJackson
+Which Avro library to use. Default value: Jackson
]]>
</xs:documentation>
</xs:annotation>
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-xml-io.xsd
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-xml-io.xsd
index 72432e257d34..9cec60200983 100644
---
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-xml-io.xsd
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-xml-io.xsd
@@ -6508,7 +6508,7 @@ Class name to use for marshal and unmarshalling.
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Which Avro library to use. Default value: avroJackson
+Which Avro library to use. Default value: Jackson
]]>
</xs:documentation>
</xs:annotation>
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camelYamlDsl-model.json
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camelYamlDsl-model.json
index 8b7d13c9c10f..ea8a0380020d 100644
---
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camelYamlDsl-model.json
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camelYamlDsl-model.json
@@ -10392,7 +10392,7 @@
"enum" : [ "ApacheAvro", "Jackson" ],
"description" : "Which Avro library to use.",
"title" : "Library",
- "default" : "avroJackson",
+ "default" : "Jackson",
"displayName" : "Library",
"kind" : "attribute",
"index" : 2,
diff --git
a/core/camel-core-model/src/generated/resources/META-INF/org/apache/camel/model/dataformat/avro.json
b/core/camel-core-model/src/generated/resources/META-INF/org/apache/camel/model/dataformat/avro.json
index eb7f631c645a..b4c45d3f81ab 100644
---
a/core/camel-core-model/src/generated/resources/META-INF/org/apache/camel/model/dataformat/avro.json
+++
b/core/camel-core-model/src/generated/resources/META-INF/org/apache/camel/model/dataformat/avro.json
@@ -15,7 +15,7 @@
"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" },
"instanceClassName": { "index": 1, "kind": "attribute", "displayName":
"Instance Class Name", "group": "common", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "Class name to use for marshal and
unmarshalling." },
- "library": { "index": 2, "kind": "attribute", "displayName": "Library",
"group": "common", "required": false, "type": "enum", "javaType":
"org.apache.camel.model.dataformat.AvroLibrary", "enum": [ "ApacheAvro",
"Jackson" ], "deprecated": false, "autowired": false, "secret": false,
"defaultValue": "avroJackson", "description": "Which Avro library to use." },
+ "library": { "index": 2, "kind": "attribute", "displayName": "Library",
"group": "common", "required": false, "type": "enum", "javaType":
"org.apache.camel.model.dataformat.AvroLibrary", "enum": [ "ApacheAvro",
"Jackson" ], "deprecated": false, "autowired": false, "secret": false,
"defaultValue": "Jackson", "description": "Which Avro library to use." },
"objectMapper": { "index": 3, "kind": "attribute", "displayName": "Object
Mapper", "group": "advanced", "label": "advanced", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "description": "Lookup and use the existing
ObjectMapper with the given id when using Jackson." },
"useDefaultObjectMapper": { "index": 4, "kind": "attribute",
"displayName": "Use Default Object Mapper", "group": "common", "required":
false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": true, "description":
"Whether to lookup and use default Jackson ObjectMapper from the registry. The
registry is only searched when autoDiscoverObjectMapper is true as well." },
"unmarshalType": { "index": 5, "kind": "attribute", "displayName":
"Unmarshal Type", "group": "common", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "Class name of the java type to use when
unmarshalling." },
diff --git
a/core/camel-core-model/src/main/java/org/apache/camel/model/dataformat/AvroDataFormat.java
b/core/camel-core-model/src/main/java/org/apache/camel/model/dataformat/AvroDataFormat.java
index 4821b0f00043..0dd903d5af0c 100644
---
a/core/camel-core-model/src/main/java/org/apache/camel/model/dataformat/AvroDataFormat.java
+++
b/core/camel-core-model/src/main/java/org/apache/camel/model/dataformat/AvroDataFormat.java
@@ -48,7 +48,7 @@ public class AvroDataFormat extends DataFormatDefinition
implements ContentTypeH
@Metadata(description = "Class name to use for marshal and unmarshalling.")
private String instanceClassName;
@XmlAttribute
- @Metadata(defaultValue = "avroJackson", description = "Which Avro library
to use.")
+ @Metadata(defaultValue = "Jackson", description = "Which Avro library to
use.")
private AvroLibrary library = AvroLibrary.Jackson;
@XmlAttribute
@Metadata(label = "advanced",
diff --git
a/core/camel-java-io/src/generated/java/org/apache/camel/java/out/JavaDslModelWriter.java
b/core/camel-java-io/src/generated/java/org/apache/camel/java/out/JavaDslModelWriter.java
index 8ce8a9047761..0ef1fde6ab6a 100644
---
a/core/camel-java-io/src/generated/java/org/apache/camel/java/out/JavaDslModelWriter.java
+++
b/core/camel-java-io/src/generated/java/org/apache/camel/java/out/JavaDslModelWriter.java
@@ -2881,7 +2881,7 @@ public class JavaDslModelWriter extends
JavaDslModelWriterSupport {
doWriteAttribute(sb, "jsonView", def.getJsonViewTypeName(), null);
doWriteAttribute(sb, "unmarshalType", def.getUnmarshalTypeName(),
null);
doWriteAttribute(sb, "instanceClassName", def.getInstanceClassName(),
null);
- doWriteAttribute(sb, "library", toString(def.getLibrary()),
"avroJackson");
+ doWriteAttribute(sb, "library", toString(def.getLibrary()), "Jackson");
doWriteAttribute(sb, "objectMapper", def.getObjectMapper(), null);
doWriteAttribute(sb, "useDefaultObjectMapper",
def.getUseDefaultObjectMapper(), "true");
doWriteAttribute(sb, "include", def.getInclude(), null);
diff --git
a/core/camel-xml-io/src/generated/java/org/apache/camel/xml/out/ModelWriter.java
b/core/camel-xml-io/src/generated/java/org/apache/camel/xml/out/ModelWriter.java
index 0eb472d59208..b56118335125 100644
---
a/core/camel-xml-io/src/generated/java/org/apache/camel/xml/out/ModelWriter.java
+++
b/core/camel-xml-io/src/generated/java/org/apache/camel/xml/out/ModelWriter.java
@@ -2193,7 +2193,7 @@ public class ModelWriter extends BaseWriter {
doWriteAttribute("jsonView", def.getJsonViewTypeName(), null);
doWriteAttribute("unmarshalType", def.getUnmarshalTypeName(), null);
doWriteAttribute("instanceClassName", def.getInstanceClassName(),
null);
- doWriteAttribute("library", toString(def.getLibrary()), "avroJackson");
+ doWriteAttribute("library", toString(def.getLibrary()), "Jackson");
doWriteAttribute("objectMapper", def.getObjectMapper(), null);
doWriteAttribute("useDefaultObjectMapper",
def.getUseDefaultObjectMapper(), "true");
doWriteAttribute("include", def.getInclude(), null);
diff --git
a/core/camel-yaml-io/src/generated/java/org/apache/camel/yaml/out/YamlModelWriter.java
b/core/camel-yaml-io/src/generated/java/org/apache/camel/yaml/out/YamlModelWriter.java
index fab0593590ec..974d71685723 100644
---
a/core/camel-yaml-io/src/generated/java/org/apache/camel/yaml/out/YamlModelWriter.java
+++
b/core/camel-yaml-io/src/generated/java/org/apache/camel/yaml/out/YamlModelWriter.java
@@ -2193,7 +2193,7 @@ public class YamlModelWriter extends
YamlModelWriterSupport {
doWriteAttribute(jo, "jsonView", def.getJsonViewTypeName(), null);
doWriteAttribute(jo, "unmarshalType", def.getUnmarshalTypeName(),
null);
doWriteAttribute(jo, "instanceClassName", def.getInstanceClassName(),
null);
- doWriteAttribute(jo, "library", toString(def.getLibrary()),
"avroJackson");
+ doWriteAttribute(jo, "library", toString(def.getLibrary()), "Jackson");
doWriteAttribute(jo, "objectMapper", def.getObjectMapper(), null);
doWriteAttribute(jo, "useDefaultObjectMapper",
def.getUseDefaultObjectMapper(), "true");
doWriteAttribute(jo, "include", def.getInclude(), null);
diff --git
a/dsl/camel-yaml-dsl/camel-yaml-dsl-deserializers/src/generated/java/org/apache/camel/dsl/yaml/deserializers/ModelDeserializers.java
b/dsl/camel-yaml-dsl/camel-yaml-dsl-deserializers/src/generated/java/org/apache/camel/dsl/yaml/deserializers/ModelDeserializers.java
index 26a78bbd7540..b4424d36fc33 100644
---
a/dsl/camel-yaml-dsl/camel-yaml-dsl-deserializers/src/generated/java/org/apache/camel/dsl/yaml/deserializers/ModelDeserializers.java
+++
b/dsl/camel-yaml-dsl/camel-yaml-dsl-deserializers/src/generated/java/org/apache/camel/dsl/yaml/deserializers/ModelDeserializers.java
@@ -736,7 +736,7 @@ public final class ModelDeserializers extends
YamlDeserializerSupport {
@YamlProperty(name = "include", type = "string",
description = "If you want to marshal a pojo to JSON, and the pojo has some
fields with null values. And you want to skip these null values, you can set
this option to NON_NULL.", displayName = "Include"),
@YamlProperty(name = "instanceClassName", type = "string",
description = "Class name to use for marshal and unmarshalling.", displayName =
"Instance Class Name"),
@YamlProperty(name = "jsonView", type = "string",
description = "When marshalling a POJO to JSON you might want to exclude
certain fields from the JSON output. With Jackson you can use JSON views to
accomplish this. This option is to refer to the class which has JsonView
annotations.", displayName = "Json View"),
- @YamlProperty(name = "library", type =
"enum:ApacheAvro,Jackson", defaultValue = "avroJackson", description = "Which
Avro library to use.", displayName = "Library"),
+ @YamlProperty(name = "library", type =
"enum:ApacheAvro,Jackson", defaultValue = "Jackson", description = "Which Avro
library to use.", displayName = "Library"),
@YamlProperty(name = "moduleClassNames", type = "string",
description = "To use custom Jackson modules specified as a String with FQN
class names. Multiple classes can be separated by comma.", displayName =
"Module Class Names"),
@YamlProperty(name = "moduleRefs", type = "string",
description = "To use custom Jackson modules referred from the Camel registry.
Multiple modules can be separated by comma.", displayName = "Module Refs"),
@YamlProperty(name = "objectMapper", type = "string",
description = "Lookup and use the existing ObjectMapper with the given id when
using Jackson.", displayName = "Object Mapper"),
diff --git
a/dsl/camel-yaml-dsl/camel-yaml-dsl-validator/src/main/java/org/apache/camel/dsl/yaml/validator/CatalogBodyTypes.java
b/dsl/camel-yaml-dsl/camel-yaml-dsl-validator/src/main/java/org/apache/camel/dsl/yaml/validator/CatalogBodyTypes.java
index d4c5b7cc6a23..4e4a4429521d 100644
---
a/dsl/camel-yaml-dsl/camel-yaml-dsl-validator/src/main/java/org/apache/camel/dsl/yaml/validator/CatalogBodyTypes.java
+++
b/dsl/camel-yaml-dsl/camel-yaml-dsl-validator/src/main/java/org/apache/camel/dsl/yaml/validator/CatalogBodyTypes.java
@@ -490,7 +490,11 @@ final class CatalogBodyTypes {
// json is jackson, gson, fastjson or jsonb: the library option
names it
JsonNode library = options != null && options.isObject() ?
options.get("library") : null;
String wanted = library != null && library.isValueNode() ?
library.asString() : defaultLibrary(key);
- name = names.stream().filter(n ->
n.equalsIgnoreCase(wanted)).findFirst().orElse(null);
+ name = names.stream()
+ .filter(n -> n.equalsIgnoreCase(wanted) ||
n.equalsIgnoreCase(key + wanted))
+ .findFirst()
+ // ApacheAvro, GoogleProtobuf: the data format named like
the model
+ .orElse(names.contains(key) ? key : null);
}
if (name == null) {
return null;
diff --git
a/dsl/camel-yaml-dsl/camel-yaml-dsl-validator/src/test/java/org/apache/camel/dsl/yaml/validator/TextBodyFlowTest.java
b/dsl/camel-yaml-dsl/camel-yaml-dsl-validator/src/test/java/org/apache/camel/dsl/yaml/validator/TextBodyFlowTest.java
index 13d37bd6b07f..b6b7efb3a36f 100644
---
a/dsl/camel-yaml-dsl/camel-yaml-dsl-validator/src/test/java/org/apache/camel/dsl/yaml/validator/TextBodyFlowTest.java
+++
b/dsl/camel-yaml-dsl/camel-yaml-dsl-validator/src/test/java/org/apache/camel/dsl/yaml/validator/TextBodyFlowTest.java
@@ -1180,8 +1180,9 @@ public class TextBodyFlowTest {
@Test
public void testTheBodyOfBinaryDataFormats() {
- // avro with its default library, Jackson, gives a Map, which the file
producer cannot write; zipFile gives the
- // content of the entry as a stream, cbor an object of a class, and
fory what the data holds, which say nothing
+ // avro with its default library, Jackson, gives a Map, which the file
producer cannot write; with ApacheAvro
+ // an object of instanceClassName, zipFile the content of the entry as
a stream, cbor an object of a class, and
+ // fory what the data holds, which say nothing
String yaml = """
- route:
id: avro
@@ -1191,6 +1192,16 @@ public class TextBodyFlowTest {
- unmarshal:
avro: {}
- to: file:out
+ - route:
+ id: avroApache
+ from:
+ uri: file:in
+ steps:
+ - unmarshal:
+ avro:
+ library: ApacheAvro
+ instanceClassName: com.acme.Order
+ - to: file:out
- route:
id: zip
from:
@@ -1221,6 +1232,23 @@ public class TextBodyFlowTest {
.contains("route avro: to: file needs the body as text, bytes,
a stream or a file"));
}
+ @Test
+ public void testTheAvroDataFormatOfTheLibraryOption() {
+ // the library option names the constant of AvroLibrary: Jackson is
avroJackson, ApacheAvro the avro data format
+ CatalogBodyTypes bodyTypes = new CatalogBodyTypes(new
DefaultCamelCatalog(), null);
+ ObjectNode jackson = JsonNodeFactory.instance.objectNode();
+ assertThat(bodyTypes.unmarshalOut("avro",
jackson).carriers()).containsExactlyInAnyOrder("map", "list");
+ jackson.put("library", "Jackson");
+ assertThat(bodyTypes.unmarshalOut("avro",
jackson).carriers()).containsExactlyInAnyOrder("map", "list");
+
+ ObjectNode apache = JsonNodeFactory.instance.objectNode();
+ apache.put("library", "ApacheAvro");
+ apache.put("instanceClassName", "com.acme.Order");
+ CatalogBodyTypes.Answer out = bodyTypes.unmarshalOut("avro", apache);
+ assertThat(out.carriers()).contains("pojo").doesNotContain("map",
"list");
+ assertThat(out.javaType()).isEqualTo("com.acme.Order");
+ }
+
@Test
public void testAnOptionTheBodyDependsOnOutweighsAnotherOption() {
// xslt with output bytes gives bytes, so a field read needs an
unmarshal; with a resultHandlerFactory too the
diff --git
a/dsl/camel-yaml-dsl/camel-yaml-dsl/src/generated/resources/schema/camelYamlDsl-canonical.json
b/dsl/camel-yaml-dsl/camel-yaml-dsl/src/generated/resources/schema/camelYamlDsl-canonical.json
index f5f7f3831cb4..7daec03ae368 100644
---
a/dsl/camel-yaml-dsl/camel-yaml-dsl/src/generated/resources/schema/camelYamlDsl-canonical.json
+++
b/dsl/camel-yaml-dsl/camel-yaml-dsl/src/generated/resources/schema/camelYamlDsl-canonical.json
@@ -6429,7 +6429,7 @@
"type" : "string",
"title" : "Library",
"description" : "Which Avro library to use.",
- "default" : "avroJackson",
+ "default" : "Jackson",
"enum" : [ "ApacheAvro", "Jackson" ]
},
"moduleClassNames" : {
diff --git
a/dsl/camel-yaml-dsl/camel-yaml-dsl/src/generated/resources/schema/camelYamlDsl-model.json
b/dsl/camel-yaml-dsl/camel-yaml-dsl/src/generated/resources/schema/camelYamlDsl-model.json
index 8b7d13c9c10f..ea8a0380020d 100644
---
a/dsl/camel-yaml-dsl/camel-yaml-dsl/src/generated/resources/schema/camelYamlDsl-model.json
+++
b/dsl/camel-yaml-dsl/camel-yaml-dsl/src/generated/resources/schema/camelYamlDsl-model.json
@@ -10392,7 +10392,7 @@
"enum" : [ "ApacheAvro", "Jackson" ],
"description" : "Which Avro library to use.",
"title" : "Library",
- "default" : "avroJackson",
+ "default" : "Jackson",
"displayName" : "Library",
"kind" : "attribute",
"index" : 2,
diff --git
a/dsl/camel-yaml-dsl/camel-yaml-dsl/src/generated/resources/schema/camelYamlDsl.json
b/dsl/camel-yaml-dsl/camel-yaml-dsl/src/generated/resources/schema/camelYamlDsl.json
index b0d1d9db84b2..1b5e8dbb4eb3 100644
---
a/dsl/camel-yaml-dsl/camel-yaml-dsl/src/generated/resources/schema/camelYamlDsl.json
+++
b/dsl/camel-yaml-dsl/camel-yaml-dsl/src/generated/resources/schema/camelYamlDsl.json
@@ -8535,7 +8535,7 @@
"type" : "string",
"title" : "Library",
"description" : "Which Avro library to use.",
- "default" : "avroJackson",
+ "default" : "Jackson",
"enum" : [ "ApacheAvro", "Jackson" ]
},
"moduleClassNames" : {