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 2c813244286 CAMEL-19471: camel-yaml-dsl / camel-core-model - Enum
should use consistent case.
2c813244286 is described below
commit 2c8132442866daa6ee3565c86202586b123fe3b5
Author: Claus Ibsen <[email protected]>
AuthorDate: Mon Jun 19 17:12:24 2023 +0200
CAMEL-19471: camel-yaml-dsl / camel-core-model - Enum should use consistent
case.
---
.../org/apache/camel/catalog/dataformats/snakeYaml.json | 2 +-
.../resources/org/apache/camel/catalog/models/avro.json | 2 +-
.../resources/org/apache/camel/catalog/models/json.json | 2 +-
.../resources/org/apache/camel/catalog/models/param.json | 2 +-
.../resources/org/apache/camel/catalog/models/protobuf.json | 2 +-
.../org/apache/camel/catalog/models/restConfiguration.json | 2 +-
.../resources/org/apache/camel/catalog/models/yaml.json | 2 +-
.../org/apache/camel/component/snakeyaml/snakeYaml.json | 2 +-
.../resources/org/apache/camel/spring/xml/camelContext.json | 10 +++++-----
.../resources/org/apache/camel/spring/xml/errorHandler.json | 6 +++---
.../resources/org/apache/camel/model/dataformat/avro.json | 2 +-
.../resources/org/apache/camel/model/dataformat/json.json | 2 +-
.../resources/org/apache/camel/model/dataformat/protobuf.json | 2 +-
.../resources/org/apache/camel/model/dataformat/yaml.json | 2 +-
.../generated/resources/org/apache/camel/model/rest/param.json | 2 +-
.../org/apache/camel/model/rest/restConfiguration.json | 2 +-
.../org/apache/camel/maven/packaging/SchemaGeneratorMojo.java | 4 ----
17 files changed, 22 insertions(+), 26 deletions(-)
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/dataformats/snakeYaml.json
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/dataformats/snakeYaml.json
index 4e217b1ba23..54e71cfd300 100644
---
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/dataformats/snakeYaml.json
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/dataformats/snakeYaml.json
@@ -16,7 +16,7 @@
"modelJavaType": "org.apache.camel.model.dataformat.YAMLDataFormat"
},
"properties": {
- "library": { "index": 0, "kind": "attribute", "displayName": "Library",
"required": false, "type": "enum", "javaType":
"org.apache.camel.model.dataformat.YAMLLibrary", "enum": [ "snake-yaml" ],
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
"SnakeYAML", "description": "Which yaml library to use. By default it is
SnakeYAML" },
+ "library": { "index": 0, "kind": "attribute", "displayName": "Library",
"required": false, "type": "enum", "javaType":
"org.apache.camel.model.dataformat.YAMLLibrary", "enum": [ "SnakeYAML" ],
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
"SnakeYAML", "description": "Which yaml library to use. By default it is
SnakeYAML" },
"unmarshalType": { "index": 1, "kind": "attribute", "displayName":
"Unmarshal Type", "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" },
"constructor": { "index": 2, "kind": "attribute", "displayName":
"Constructor", "label": "advanced", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "BaseConstructor to construct incoming
documents." },
"representer": { "index": 3, "kind": "attribute", "displayName":
"Representer", "label": "advanced", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "Representer to emit outgoing objects." },
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 1de9453b8ab..6f58d4213af 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
@@ -14,7 +14,7 @@
},
"properties": {
"instanceClassName": { "index": 0, "kind": "attribute", "displayName":
"Instance Class Name", "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": 1, "kind": "attribute", "displayName": "Library",
"required": false, "type": "enum", "javaType":
"org.apache.camel.model.dataformat.AvroLibrary", "enum": [ "apache-avro",
"jackson" ], "deprecated": false, "autowired": false, "secret": false,
"defaultValue": "ApacheAvro", "description": "Which Avro library to use." },
+ "library": { "index": 1, "kind": "attribute", "displayName": "Library",
"required": false, "type": "enum", "javaType":
"org.apache.camel.model.dataformat.AvroLibrary", "enum": [ "ApacheAvro",
"Jackson" ], "deprecated": false, "autowired": false, "secret": false,
"defaultValue": "ApacheAvro", "description": "Which Avro library to use." },
"objectMapper": { "index": 2, "kind": "attribute", "displayName": "Object
Mapper", "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": 3, "kind": "attribute",
"displayName": "Use Default Object Mapper", "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." },
"unmarshalType": { "index": 4, "kind": "attribute", "displayName":
"Unmarshal Type", "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/models/json.json
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/json.json
index ee5a9974356..93e5ace4e05 100644
---
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/json.json
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/json.json
@@ -16,7 +16,7 @@
"useDefaultObjectMapper": { "index": 1, "kind": "attribute",
"displayName": "Use Default Object Mapper", "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." },
"autoDiscoverObjectMapper": { "index": 2, "kind": "attribute",
"displayName": "Auto Discover Object Mapper", "required": false, "type":
"boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": false, "description": "If set to true
then Jackson will look for an objectMapper to use from the registry" },
"prettyPrint": { "index": 3, "kind": "attribute", "displayName": "Pretty
Print", "required": false, "type": "boolean", "javaType": "java.lang.Boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
false, "description": "To enable pretty printing output nicely formatted. Is by
default false." },
- "library": { "index": 4, "kind": "attribute", "displayName": "Library",
"required": false, "type": "enum", "javaType":
"org.apache.camel.model.dataformat.JsonLibrary", "enum": [ "fastjson", "gson",
"jackson", "johnzon", "jsonb" ], "deprecated": false, "autowired": false,
"secret": false, "defaultValue": "Jackson", "description": "Which json library
to use." },
+ "library": { "index": 4, "kind": "attribute", "displayName": "Library",
"required": false, "type": "enum", "javaType":
"org.apache.camel.model.dataformat.JsonLibrary", "enum": [ "Fastjson", "Gson",
"Jackson", "Johnzon", "Jsonb" ], "deprecated": false, "autowired": false,
"secret": false, "defaultValue": "Jackson", "description": "Which json library
to use." },
"unmarshalType": { "index": 5, "kind": "attribute", "displayName":
"Unmarshal Type", "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" },
"jsonView": { "index": 6, "kind": "attribute", "displayName": "Json View",
"label": "advanced", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"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" },
"include": { "index": 7, "kind": "attribute", "displayName": "Include",
"label": "advanced", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"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" },
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/param.json
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/param.json
index 012a4477f66..96319c16911 100644
---
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/param.json
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/param.json
@@ -13,7 +13,7 @@
},
"properties": {
"name": { "index": 0, "kind": "attribute", "displayName": "Name",
"required": true, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "autowired": false, "secret": false, "description": "Sets
the parameter name." },
- "type": { "index": 1, "kind": "attribute", "displayName": "Type",
"required": false, "type": "enum", "javaType":
"org.apache.camel.model.rest.RestParamType", "enum": [ "body", "form-data",
"header", "path", "query" ], "deprecated": false, "autowired": false, "secret":
false, "defaultValue": "path", "description": "Sets the parameter type." },
+ "type": { "index": 1, "kind": "attribute", "displayName": "Type",
"required": false, "type": "enum", "javaType":
"org.apache.camel.model.rest.RestParamType", "enum": [ "body", "formData",
"header", "path", "query" ], "deprecated": false, "autowired": false, "secret":
false, "defaultValue": "path", "description": "Sets the parameter type." },
"defaultValue": { "index": 2, "kind": "attribute", "displayName": "Default
Value", "required": false, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "autowired": false, "secret": false, "description": "Sets
the parameter default value." },
"required": { "index": 3, "kind": "attribute", "displayName": "Required",
"required": false, "type": "boolean", "javaType": "java.lang.Boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": true,
"description": "Sets the parameter required flag." },
"collectionFormat": { "index": 4, "kind": "attribute", "displayName":
"Collection Format", "required": false, "type": "enum", "javaType":
"org.apache.camel.model.rest.CollectionFormat", "enum": [ "csv", "multi",
"pipes", "ssv", "tsv" ], "deprecated": false, "autowired": false, "secret":
false, "defaultValue": "csv", "description": "Sets the parameter collection
format." },
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/protobuf.json
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/protobuf.json
index da9fa3f006e..8fefb038233 100644
---
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/protobuf.json
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/protobuf.json
@@ -17,7 +17,7 @@
"objectMapper": { "index": 1, "kind": "attribute", "displayName": "Object
Mapper", "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": 2, "kind": "attribute",
"displayName": "Use Default Object Mapper", "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." },
"autoDiscoverObjectMapper": { "index": 3, "kind": "attribute",
"displayName": "Auto Discover Object Mapper", "required": false, "type":
"boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": false, "description": "If set to true
then Jackson will lookup for an objectMapper into the registry" },
- "library": { "index": 4, "kind": "attribute", "displayName": "Library",
"required": false, "type": "enum", "javaType":
"org.apache.camel.model.dataformat.ProtobufLibrary", "enum": [
"google-protobuf", "jackson" ], "deprecated": false, "autowired": false,
"secret": false, "defaultValue": "GoogleProtobuf", "description": "Which
Protobuf library to use." },
+ "library": { "index": 4, "kind": "attribute", "displayName": "Library",
"required": false, "type": "enum", "javaType":
"org.apache.camel.model.dataformat.ProtobufLibrary", "enum": [
"GoogleProtobuf", "Jackson" ], "deprecated": false, "autowired": false,
"secret": false, "defaultValue": "GoogleProtobuf", "description": "Which
Protobuf library to use." },
"unmarshalType": { "index": 5, "kind": "attribute", "displayName":
"Unmarshal Type", "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" },
"jsonView": { "index": 6, "kind": "attribute", "displayName": "Json View",
"required": false, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "autowired": false, "secret": false, "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" },
"include": { "index": 7, "kind": "attribute", "displayName": "Include",
"required": false, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "autowired": false, "secret": false, "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" },
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/restConfiguration.json
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/restConfiguration.json
index 56fa7d55029..1dfba27186e 100644
---
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/restConfiguration.json
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/restConfiguration.json
@@ -25,7 +25,7 @@
"apiContextPath": { "index": 10, "kind": "attribute", "displayName": "Api
Context Path", "label": "consumer", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "Sets a leading API context-path the REST API
services will be using. This can be used when using components such as
camel-servlet where the deployed web application is deployed using a
context-path." },
"apiContextRouteId": { "index": 11, "kind": "attribute", "displayName":
"Api Context Route Id", "label": "consumer,advanced", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "description": "Sets the route id to use
for the route that services the REST API. The route will by default use an auto
assigned route id." },
"apiVendorExtension": { "index": 12, "kind": "attribute", "displayName":
"Api Vendor Extension", "label": "consumer,advanced", "required": false,
"type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": false, "description":
"Whether vendor extension is enabled in the Rest APIs. If enabled then Camel
will include additional information as vendor extension (eg keys starting with
x-) such as route ids, class names etc [...]
- "hostNameResolver": { "index": 13, "kind": "attribute", "displayName":
"Host Name Resolver", "label": "consumer,advanced", "required": false, "type":
"enum", "javaType": "org.apache.camel.model.rest.RestHostNameResolver", "enum":
[ "all-local-ip", "local-host-name", "local-ip" ], "deprecated": false,
"autowired": false, "secret": false, "defaultValue": "allLocalIp",
"description": "If no hostname has been explicit configured, then this resolver
is used to compute the hostname the RES [...]
+ "hostNameResolver": { "index": 13, "kind": "attribute", "displayName":
"Host Name Resolver", "label": "consumer,advanced", "required": false, "type":
"enum", "javaType": "org.apache.camel.model.rest.RestHostNameResolver", "enum":
[ "allLocalIp", "localHostName", "localIp" ], "deprecated": false, "autowired":
false, "secret": false, "defaultValue": "allLocalIp", "description": "If no
hostname has been explicit configured, then this resolver is used to compute
the hostname the REST ser [...]
"bindingMode": { "index": 14, "kind": "attribute", "displayName": "Binding
Mode", "required": false, "type": "enum", "javaType":
"org.apache.camel.model.rest.RestBindingMode", "enum": [ "off", "auto", "json",
"xml", "json_xml" ], "deprecated": false, "autowired": false, "secret": false,
"defaultValue": "off", "description": "Sets the binding mode to use. The
default value is off" },
"skipBindingOnErrorCode": { "index": 15, "kind": "attribute",
"displayName": "Skip Binding On Error Code", "label": "advanced", "required":
false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": false, "description":
"Whether to skip binding on output if there is a custom HTTP error code header.
This allows to build custom error messages that do not bind to json \/ xml etc,
as success messages otherwise wil [...]
"clientRequestValidation": { "index": 16, "kind": "attribute",
"displayName": "Client Request Validation", "label": "consumer,advanced",
"required": false, "type": "boolean", "javaType": "java.lang.Boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
false, "description": "Whether to enable validation of the client request to
check: 1) Content-Type header matches what the Rest DSL consumes; returns HTTP
Status 415 if validation error. 2) Accept header m [...]
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/yaml.json
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/yaml.json
index be7db378331..ab0edf1d0e3 100644
---
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/yaml.json
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/yaml.json
@@ -13,7 +13,7 @@
"output": false
},
"properties": {
- "library": { "index": 0, "kind": "attribute", "displayName": "Library",
"required": false, "type": "enum", "javaType":
"org.apache.camel.model.dataformat.YAMLLibrary", "enum": [ "snake-yaml" ],
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
"SnakeYAML", "description": "Which yaml library to use. By default it is
SnakeYAML" },
+ "library": { "index": 0, "kind": "attribute", "displayName": "Library",
"required": false, "type": "enum", "javaType":
"org.apache.camel.model.dataformat.YAMLLibrary", "enum": [ "SnakeYAML" ],
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
"SnakeYAML", "description": "Which yaml library to use. By default it is
SnakeYAML" },
"unmarshalType": { "index": 1, "kind": "attribute", "displayName":
"Unmarshal Type", "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" },
"constructor": { "index": 2, "kind": "attribute", "displayName":
"Constructor", "label": "advanced", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "BaseConstructor to construct incoming
documents." },
"representer": { "index": 3, "kind": "attribute", "displayName":
"Representer", "label": "advanced", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "Representer to emit outgoing objects." },
diff --git
a/components/camel-snakeyaml/src/generated/resources/org/apache/camel/component/snakeyaml/snakeYaml.json
b/components/camel-snakeyaml/src/generated/resources/org/apache/camel/component/snakeyaml/snakeYaml.json
index 4e217b1ba23..54e71cfd300 100644
---
a/components/camel-snakeyaml/src/generated/resources/org/apache/camel/component/snakeyaml/snakeYaml.json
+++
b/components/camel-snakeyaml/src/generated/resources/org/apache/camel/component/snakeyaml/snakeYaml.json
@@ -16,7 +16,7 @@
"modelJavaType": "org.apache.camel.model.dataformat.YAMLDataFormat"
},
"properties": {
- "library": { "index": 0, "kind": "attribute", "displayName": "Library",
"required": false, "type": "enum", "javaType":
"org.apache.camel.model.dataformat.YAMLLibrary", "enum": [ "snake-yaml" ],
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
"SnakeYAML", "description": "Which yaml library to use. By default it is
SnakeYAML" },
+ "library": { "index": 0, "kind": "attribute", "displayName": "Library",
"required": false, "type": "enum", "javaType":
"org.apache.camel.model.dataformat.YAMLLibrary", "enum": [ "SnakeYAML" ],
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
"SnakeYAML", "description": "Which yaml library to use. By default it is
SnakeYAML" },
"unmarshalType": { "index": 1, "kind": "attribute", "displayName":
"Unmarshal Type", "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" },
"constructor": { "index": 2, "kind": "attribute", "displayName":
"Constructor", "label": "advanced", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "BaseConstructor to construct incoming
documents." },
"representer": { "index": 3, "kind": "attribute", "displayName":
"Representer", "label": "advanced", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "Representer to emit outgoing objects." },
diff --git
a/components/camel-spring-xml/src/generated/resources/org/apache/camel/spring/xml/camelContext.json
b/components/camel-spring-xml/src/generated/resources/org/apache/camel/spring/xml/camelContext.json
index 2821286e71f..24a821776af 100644
---
a/components/camel-spring-xml/src/generated/resources/org/apache/camel/spring/xml/camelContext.json
+++
b/components/camel-spring-xml/src/generated/resources/org/apache/camel/spring/xml/camelContext.json
@@ -13,7 +13,7 @@
},
"properties": {
"depends-on": { "index": 0, "kind": "attribute", "displayName": "Depends
On", "required": false, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "autowired": false, "secret": false, "description": "List
of other bean id's this CamelContext depends up. Multiple bean id's can be
separated by comma." },
- "startupSummaryLevel": { "index": 1, "kind": "attribute", "displayName":
"Startup Summary Level", "required": false, "type": "enum", "javaType":
"org.apache.camel.StartupSummaryLevel", "enum": [ "brief", "default", "off",
"oneline", "verbose" ], "deprecated": false, "autowired": false, "secret":
false, "defaultValue": "Default", "description": "Controls the level of
information logged during startup (and shutdown) of CamelContext." },
+ "startupSummaryLevel": { "index": 1, "kind": "attribute", "displayName":
"Startup Summary Level", "required": false, "type": "enum", "javaType":
"org.apache.camel.StartupSummaryLevel", "enum": [ "Brief", "Default", "Off",
"Oneline", "Verbose" ], "deprecated": false, "autowired": false, "secret":
false, "defaultValue": "Default", "description": "Controls the level of
information logged during startup (and shutdown) of CamelContext." },
"trace": { "index": 2, "kind": "attribute", "displayName": "Trace",
"required": false, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "autowired": false, "secret": false, "description": "Sets
whether tracing is enabled or not. To use tracing then this must be enabled on
startup to be installed in the CamelContext." },
"backlogTrace": { "index": 3, "kind": "attribute", "displayName": "Backlog
Trace", "required": false, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "autowired": false, "secret": false, "description": "Sets
whether backlog tracing is enabled or not. To use backlog tracing then this
must be enabled on startup to be installed in the CamelContext." },
"tracePattern": { "index": 4, "kind": "attribute", "displayName": "Trace
Pattern", "required": false, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "autowired": false, "secret": false, "description":
"Tracing pattern to match which node EIPs to trace. For example to match all To
EIP nodes, use to. The pattern matches by node and route id's Multiple patterns
can be separated by comma." },
@@ -40,14 +40,14 @@
"runtimeEndpointRegistryEnabled": { "index": 25, "kind": "attribute",
"displayName": "Runtime Endpoint Registry Enabled", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "description": "Sets whether
org.apache.camel.spi.RuntimeEndpointRegistry is enabled." },
"managementNamePattern": { "index": 26, "kind": "attribute",
"displayName": "Management Name Pattern", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": "#name#", "description": "The naming pattern
for creating the CamelContext management name." },
"threadNamePattern": { "index": 27, "kind": "attribute", "displayName":
"Thread Name Pattern", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": "Camel (#camelId#) thread ##counter# - #name#", "description":
"Sets the thread name pattern used for creating the full thread name. The
default pattern is: Camel (#camelId#) thread ##counter# - #name# Where
#camelId# is the name of the org.apache.ca [...]
- "shutdownRoute": { "index": 28, "kind": "attribute", "displayName":
"Shutdown Route", "required": false, "type": "enum", "javaType":
"org.apache.camel.ShutdownRoute", "enum": [ "default", "defer" ], "deprecated":
false, "autowired": false, "secret": false, "defaultValue": "Default",
"description": "Sets the ShutdownRoute option for routes." },
- "shutdownRunningTask": { "index": 29, "kind": "attribute", "displayName":
"Shutdown Running Task", "required": false, "type": "enum", "javaType":
"org.apache.camel.ShutdownRunningTask", "enum": [ "complete-all-tasks",
"complete-current-task-only" ], "deprecated": false, "autowired": false,
"secret": false, "defaultValue": "CompleteCurrentTaskOnly", "description":
"Sets the ShutdownRunningTask option to use when shutting down a route." },
+ "shutdownRoute": { "index": 28, "kind": "attribute", "displayName":
"Shutdown Route", "required": false, "type": "enum", "javaType":
"org.apache.camel.ShutdownRoute", "enum": [ "Default", "Defer" ], "deprecated":
false, "autowired": false, "secret": false, "defaultValue": "Default",
"description": "Sets the ShutdownRoute option for routes." },
+ "shutdownRunningTask": { "index": 29, "kind": "attribute", "displayName":
"Shutdown Running Task", "required": false, "type": "enum", "javaType":
"org.apache.camel.ShutdownRunningTask", "enum": [ "CompleteAllTasks",
"CompleteCurrentTaskOnly" ], "deprecated": false, "autowired": false, "secret":
false, "defaultValue": "CompleteCurrentTaskOnly", "description": "Sets the
ShutdownRunningTask option to use when shutting down a route." },
"loadTypeConverters": { "index": 30, "kind": "attribute", "displayName":
"Load Type Converters", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": "false", "description": "Whether to load custom type converters
by scanning classpath. This is used for backwards compatibility with Camel 2.x.
Its recommended to migrate to use fast type converter loading by setting
Converter(loader = true) on you [...]
"typeConverterStatisticsEnabled": { "index": 31, "kind": "attribute",
"displayName": "Type Converter Statistics Enabled", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "description": "Sets whether or not type converter
statistics is enabled. By default the type converter utilization statistics is
disabled. Notice: If enabled then there is a slight performance impact under
very heavy load. You can enable\ [...]
"loadHealthChecks": { "index": 32, "kind": "attribute", "displayName":
"Load Health Checks", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": "false", "description": "Whether to load custom health checks
by scanning classpath." },
"inflightRepositoryBrowseEnabled": { "index": 33, "kind": "attribute",
"displayName": "Inflight Repository Browse Enabled", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "description": "Sets whether the inflight repository
should allow browsing each inflight exchange. This is by default disabled as
there is a very slight performance overhead when enabled." },
- "typeConverterExists": { "index": 34, "kind": "attribute", "displayName":
"Type Converter Exists", "required": false, "type": "enum", "javaType":
"org.apache.camel.TypeConverterExists", "enum": [ "fail", "ignore", "override"
], "deprecated": false, "autowired": false, "secret": false, "defaultValue":
"Ignore", "description": "What should happen when attempting to add a duplicate
type converter. The default behavior is to ignore the duplicate." },
- "typeConverterExistsLoggingLevel": { "index": 35, "kind": "attribute",
"displayName": "Type Converter Exists Logging Level", "required": false,
"type": "enum", "javaType": "org.apache.camel.LoggingLevel", "enum": [ "debug",
"error", "info", "off", "trace", "warn" ], "deprecated": false, "autowired":
false, "secret": false, "defaultValue": "DEBUG", "description": "The logging
level to use when logging that a type converter already exists when attempting
to add a duplicate type convert [...]
+ "typeConverterExists": { "index": 34, "kind": "attribute", "displayName":
"Type Converter Exists", "required": false, "type": "enum", "javaType":
"org.apache.camel.TypeConverterExists", "enum": [ "Fail", "Ignore", "Override"
], "deprecated": false, "autowired": false, "secret": false, "defaultValue":
"Ignore", "description": "What should happen when attempting to add a duplicate
type converter. The default behavior is to ignore the duplicate." },
+ "typeConverterExistsLoggingLevel": { "index": 35, "kind": "attribute",
"displayName": "Type Converter Exists Logging Level", "required": false,
"type": "enum", "javaType": "org.apache.camel.LoggingLevel", "enum": [ "DEBUG",
"ERROR", "INFO", "OFF", "TRACE", "WARN" ], "deprecated": false, "autowired":
false, "secret": false, "defaultValue": "DEBUG", "description": "The logging
level to use when logging that a type converter already exists when attempting
to add a duplicate type convert [...]
"globalOptions": { "index": 36, "kind": "element", "displayName": "Global
Options", "required": false, "type": "object", "javaType":
"org.apache.camel.model.GlobalOptionsDefinition", "deprecated": false,
"autowired": false, "secret": false, "description": "Configuration of
CamelContext properties such as limit of debug logging and other general
options." },
"propertyPlaceholder": { "index": 37, "kind": "element", "displayName":
"Property Placeholder", "required": false, "type": "object", "javaType":
"org.apache.camel.core.xml.CamelPropertyPlaceholderDefinition", "deprecated":
false, "autowired": false, "secret": false, "description": "Configuration of
property placeholder" },
"package": { "index": 38, "kind": "element", "displayName": "Package",
"required": false, "type": "array", "javaType": "java.lang.String[]",
"deprecated": false, "autowired": false, "secret": false, "description": "Sets
the package names to be recursively searched for Java classes which extend
org.apache.camel.builder.RouteBuilder to be auto-wired up to the CamelContext
as a route. Note that classes are excluded if they are specifically configured
in the spring.xml A more advanced co [...]
diff --git
a/components/camel-spring-xml/src/generated/resources/org/apache/camel/spring/xml/errorHandler.json
b/components/camel-spring-xml/src/generated/resources/org/apache/camel/spring/xml/errorHandler.json
index 99076b20d40..ab1697c879f 100644
---
a/components/camel-spring-xml/src/generated/resources/org/apache/camel/spring/xml/errorHandler.json
+++
b/components/camel-spring-xml/src/generated/resources/org/apache/camel/spring/xml/errorHandler.json
@@ -12,11 +12,11 @@
"output": false
},
"properties": {
- "type": { "index": 0, "kind": "attribute", "displayName": "Type",
"required": true, "type": "enum", "javaType":
"org.apache.camel.spring.xml.SpringErrorHandlerType", "enum": [
"dead-letter-channel", "default-error-handler", "no-error-handler",
"transaction-error-handler" ], "deprecated": false, "autowired": false,
"secret": false, "defaultValue": "DefaultErrorHandler", "description": "The
type of the error handler" },
+ "type": { "index": 0, "kind": "attribute", "displayName": "Type",
"required": true, "type": "enum", "javaType":
"org.apache.camel.spring.xml.SpringErrorHandlerType", "enum": [
"DeadLetterChannel", "DefaultErrorHandler", "NoErrorHandler",
"TransactionErrorHandler" ], "deprecated": false, "autowired": false, "secret":
false, "defaultValue": "DefaultErrorHandler", "description": "The type of the
error handler" },
"deadLetterUri": { "index": 1, "kind": "attribute", "displayName": "Dead
Letter Uri", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"description": "The dead letter endpoint uri for the Dead Letter error
handler." },
"deadLetterHandleNewException": { "index": 2, "kind": "attribute",
"displayName": "Dead Letter Handle New Exception", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "description": "Whether the dead letter channel should
handle (and ignore) any new exception that may been thrown during sending the
message to the dead letter endpoint. The default value is true which means any
such kind of exception is handl [...]
- "level": { "index": 3, "kind": "attribute", "displayName": "Level",
"required": false, "type": "enum", "javaType": "org.apache.camel.LoggingLevel",
"enum": [ "debug", "error", "info", "off", "trace", "warn" ], "deprecated":
false, "autowired": false, "secret": false, "defaultValue": "ERROR",
"description": "Logging level to use when using the logging error handler
type." },
- "rollbackLoggingLevel": { "index": 4, "kind": "attribute", "displayName":
"Rollback Logging Level", "required": false, "type": "enum", "javaType":
"org.apache.camel.LoggingLevel", "enum": [ "debug", "error", "info", "off",
"trace", "warn" ], "deprecated": false, "autowired": false, "secret": false,
"defaultValue": "WARN", "description": "Sets the logging level to use for
logging transactional rollback. This option is default WARN." },
+ "level": { "index": 3, "kind": "attribute", "displayName": "Level",
"required": false, "type": "enum", "javaType": "org.apache.camel.LoggingLevel",
"enum": [ "DEBUG", "ERROR", "INFO", "OFF", "TRACE", "WARN" ], "deprecated":
false, "autowired": false, "secret": false, "defaultValue": "ERROR",
"description": "Logging level to use when using the logging error handler
type." },
+ "rollbackLoggingLevel": { "index": 4, "kind": "attribute", "displayName":
"Rollback Logging Level", "required": false, "type": "enum", "javaType":
"org.apache.camel.LoggingLevel", "enum": [ "DEBUG", "ERROR", "INFO", "OFF",
"TRACE", "WARN" ], "deprecated": false, "autowired": false, "secret": false,
"defaultValue": "WARN", "description": "Sets the logging level to use for
logging transactional rollback. This option is default WARN." },
"logName": { "index": 5, "kind": "attribute", "displayName": "Log Name",
"required": false, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "autowired": false, "secret": false, "description": "Name
of the logger to use for the logging error handler" },
"useOriginalMessage": { "index": 6, "kind": "attribute", "displayName":
"Use Original Message", "required": false, "type": "boolean", "javaType":
"java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "description": "Will use the original input
org.apache.camel.Message (original body and headers) when an
org.apache.camel.Exchange is moved to the dead letter queue. Notice: this only
applies when all redeliveries attempt have failed and th [...]
"useOriginalBody": { "index": 7, "kind": "attribute", "displayName": "Use
Original Body", "required": false, "type": "boolean", "javaType":
"java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "description": "Will use the original input
org.apache.camel.Message body (original body only) when an
org.apache.camel.Exchange is moved to the dead letter queue. Notice: this only
applies when all redeliveries attempt have failed and the org.ap [...]
diff --git
a/core/camel-core-model/src/generated/resources/org/apache/camel/model/dataformat/avro.json
b/core/camel-core-model/src/generated/resources/org/apache/camel/model/dataformat/avro.json
index 1de9453b8ab..6f58d4213af 100644
---
a/core/camel-core-model/src/generated/resources/org/apache/camel/model/dataformat/avro.json
+++
b/core/camel-core-model/src/generated/resources/org/apache/camel/model/dataformat/avro.json
@@ -14,7 +14,7 @@
},
"properties": {
"instanceClassName": { "index": 0, "kind": "attribute", "displayName":
"Instance Class Name", "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": 1, "kind": "attribute", "displayName": "Library",
"required": false, "type": "enum", "javaType":
"org.apache.camel.model.dataformat.AvroLibrary", "enum": [ "apache-avro",
"jackson" ], "deprecated": false, "autowired": false, "secret": false,
"defaultValue": "ApacheAvro", "description": "Which Avro library to use." },
+ "library": { "index": 1, "kind": "attribute", "displayName": "Library",
"required": false, "type": "enum", "javaType":
"org.apache.camel.model.dataformat.AvroLibrary", "enum": [ "ApacheAvro",
"Jackson" ], "deprecated": false, "autowired": false, "secret": false,
"defaultValue": "ApacheAvro", "description": "Which Avro library to use." },
"objectMapper": { "index": 2, "kind": "attribute", "displayName": "Object
Mapper", "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": 3, "kind": "attribute",
"displayName": "Use Default Object Mapper", "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." },
"unmarshalType": { "index": 4, "kind": "attribute", "displayName":
"Unmarshal Type", "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/generated/resources/org/apache/camel/model/dataformat/json.json
b/core/camel-core-model/src/generated/resources/org/apache/camel/model/dataformat/json.json
index ee5a9974356..93e5ace4e05 100644
---
a/core/camel-core-model/src/generated/resources/org/apache/camel/model/dataformat/json.json
+++
b/core/camel-core-model/src/generated/resources/org/apache/camel/model/dataformat/json.json
@@ -16,7 +16,7 @@
"useDefaultObjectMapper": { "index": 1, "kind": "attribute",
"displayName": "Use Default Object Mapper", "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." },
"autoDiscoverObjectMapper": { "index": 2, "kind": "attribute",
"displayName": "Auto Discover Object Mapper", "required": false, "type":
"boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": false, "description": "If set to true
then Jackson will look for an objectMapper to use from the registry" },
"prettyPrint": { "index": 3, "kind": "attribute", "displayName": "Pretty
Print", "required": false, "type": "boolean", "javaType": "java.lang.Boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
false, "description": "To enable pretty printing output nicely formatted. Is by
default false." },
- "library": { "index": 4, "kind": "attribute", "displayName": "Library",
"required": false, "type": "enum", "javaType":
"org.apache.camel.model.dataformat.JsonLibrary", "enum": [ "fastjson", "gson",
"jackson", "johnzon", "jsonb" ], "deprecated": false, "autowired": false,
"secret": false, "defaultValue": "Jackson", "description": "Which json library
to use." },
+ "library": { "index": 4, "kind": "attribute", "displayName": "Library",
"required": false, "type": "enum", "javaType":
"org.apache.camel.model.dataformat.JsonLibrary", "enum": [ "Fastjson", "Gson",
"Jackson", "Johnzon", "Jsonb" ], "deprecated": false, "autowired": false,
"secret": false, "defaultValue": "Jackson", "description": "Which json library
to use." },
"unmarshalType": { "index": 5, "kind": "attribute", "displayName":
"Unmarshal Type", "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" },
"jsonView": { "index": 6, "kind": "attribute", "displayName": "Json View",
"label": "advanced", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"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" },
"include": { "index": 7, "kind": "attribute", "displayName": "Include",
"label": "advanced", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"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" },
diff --git
a/core/camel-core-model/src/generated/resources/org/apache/camel/model/dataformat/protobuf.json
b/core/camel-core-model/src/generated/resources/org/apache/camel/model/dataformat/protobuf.json
index da9fa3f006e..8fefb038233 100644
---
a/core/camel-core-model/src/generated/resources/org/apache/camel/model/dataformat/protobuf.json
+++
b/core/camel-core-model/src/generated/resources/org/apache/camel/model/dataformat/protobuf.json
@@ -17,7 +17,7 @@
"objectMapper": { "index": 1, "kind": "attribute", "displayName": "Object
Mapper", "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": 2, "kind": "attribute",
"displayName": "Use Default Object Mapper", "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." },
"autoDiscoverObjectMapper": { "index": 3, "kind": "attribute",
"displayName": "Auto Discover Object Mapper", "required": false, "type":
"boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": false, "description": "If set to true
then Jackson will lookup for an objectMapper into the registry" },
- "library": { "index": 4, "kind": "attribute", "displayName": "Library",
"required": false, "type": "enum", "javaType":
"org.apache.camel.model.dataformat.ProtobufLibrary", "enum": [
"google-protobuf", "jackson" ], "deprecated": false, "autowired": false,
"secret": false, "defaultValue": "GoogleProtobuf", "description": "Which
Protobuf library to use." },
+ "library": { "index": 4, "kind": "attribute", "displayName": "Library",
"required": false, "type": "enum", "javaType":
"org.apache.camel.model.dataformat.ProtobufLibrary", "enum": [
"GoogleProtobuf", "Jackson" ], "deprecated": false, "autowired": false,
"secret": false, "defaultValue": "GoogleProtobuf", "description": "Which
Protobuf library to use." },
"unmarshalType": { "index": 5, "kind": "attribute", "displayName":
"Unmarshal Type", "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" },
"jsonView": { "index": 6, "kind": "attribute", "displayName": "Json View",
"required": false, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "autowired": false, "secret": false, "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" },
"include": { "index": 7, "kind": "attribute", "displayName": "Include",
"required": false, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "autowired": false, "secret": false, "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" },
diff --git
a/core/camel-core-model/src/generated/resources/org/apache/camel/model/dataformat/yaml.json
b/core/camel-core-model/src/generated/resources/org/apache/camel/model/dataformat/yaml.json
index be7db378331..ab0edf1d0e3 100644
---
a/core/camel-core-model/src/generated/resources/org/apache/camel/model/dataformat/yaml.json
+++
b/core/camel-core-model/src/generated/resources/org/apache/camel/model/dataformat/yaml.json
@@ -13,7 +13,7 @@
"output": false
},
"properties": {
- "library": { "index": 0, "kind": "attribute", "displayName": "Library",
"required": false, "type": "enum", "javaType":
"org.apache.camel.model.dataformat.YAMLLibrary", "enum": [ "snake-yaml" ],
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
"SnakeYAML", "description": "Which yaml library to use. By default it is
SnakeYAML" },
+ "library": { "index": 0, "kind": "attribute", "displayName": "Library",
"required": false, "type": "enum", "javaType":
"org.apache.camel.model.dataformat.YAMLLibrary", "enum": [ "SnakeYAML" ],
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
"SnakeYAML", "description": "Which yaml library to use. By default it is
SnakeYAML" },
"unmarshalType": { "index": 1, "kind": "attribute", "displayName":
"Unmarshal Type", "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" },
"constructor": { "index": 2, "kind": "attribute", "displayName":
"Constructor", "label": "advanced", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "BaseConstructor to construct incoming
documents." },
"representer": { "index": 3, "kind": "attribute", "displayName":
"Representer", "label": "advanced", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "Representer to emit outgoing objects." },
diff --git
a/core/camel-core-model/src/generated/resources/org/apache/camel/model/rest/param.json
b/core/camel-core-model/src/generated/resources/org/apache/camel/model/rest/param.json
index 012a4477f66..96319c16911 100644
---
a/core/camel-core-model/src/generated/resources/org/apache/camel/model/rest/param.json
+++
b/core/camel-core-model/src/generated/resources/org/apache/camel/model/rest/param.json
@@ -13,7 +13,7 @@
},
"properties": {
"name": { "index": 0, "kind": "attribute", "displayName": "Name",
"required": true, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "autowired": false, "secret": false, "description": "Sets
the parameter name." },
- "type": { "index": 1, "kind": "attribute", "displayName": "Type",
"required": false, "type": "enum", "javaType":
"org.apache.camel.model.rest.RestParamType", "enum": [ "body", "form-data",
"header", "path", "query" ], "deprecated": false, "autowired": false, "secret":
false, "defaultValue": "path", "description": "Sets the parameter type." },
+ "type": { "index": 1, "kind": "attribute", "displayName": "Type",
"required": false, "type": "enum", "javaType":
"org.apache.camel.model.rest.RestParamType", "enum": [ "body", "formData",
"header", "path", "query" ], "deprecated": false, "autowired": false, "secret":
false, "defaultValue": "path", "description": "Sets the parameter type." },
"defaultValue": { "index": 2, "kind": "attribute", "displayName": "Default
Value", "required": false, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "autowired": false, "secret": false, "description": "Sets
the parameter default value." },
"required": { "index": 3, "kind": "attribute", "displayName": "Required",
"required": false, "type": "boolean", "javaType": "java.lang.Boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": true,
"description": "Sets the parameter required flag." },
"collectionFormat": { "index": 4, "kind": "attribute", "displayName":
"Collection Format", "required": false, "type": "enum", "javaType":
"org.apache.camel.model.rest.CollectionFormat", "enum": [ "csv", "multi",
"pipes", "ssv", "tsv" ], "deprecated": false, "autowired": false, "secret":
false, "defaultValue": "csv", "description": "Sets the parameter collection
format." },
diff --git
a/core/camel-core-model/src/generated/resources/org/apache/camel/model/rest/restConfiguration.json
b/core/camel-core-model/src/generated/resources/org/apache/camel/model/rest/restConfiguration.json
index 56fa7d55029..1dfba27186e 100644
---
a/core/camel-core-model/src/generated/resources/org/apache/camel/model/rest/restConfiguration.json
+++
b/core/camel-core-model/src/generated/resources/org/apache/camel/model/rest/restConfiguration.json
@@ -25,7 +25,7 @@
"apiContextPath": { "index": 10, "kind": "attribute", "displayName": "Api
Context Path", "label": "consumer", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "Sets a leading API context-path the REST API
services will be using. This can be used when using components such as
camel-servlet where the deployed web application is deployed using a
context-path." },
"apiContextRouteId": { "index": 11, "kind": "attribute", "displayName":
"Api Context Route Id", "label": "consumer,advanced", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "description": "Sets the route id to use
for the route that services the REST API. The route will by default use an auto
assigned route id." },
"apiVendorExtension": { "index": 12, "kind": "attribute", "displayName":
"Api Vendor Extension", "label": "consumer,advanced", "required": false,
"type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": false, "description":
"Whether vendor extension is enabled in the Rest APIs. If enabled then Camel
will include additional information as vendor extension (eg keys starting with
x-) such as route ids, class names etc [...]
- "hostNameResolver": { "index": 13, "kind": "attribute", "displayName":
"Host Name Resolver", "label": "consumer,advanced", "required": false, "type":
"enum", "javaType": "org.apache.camel.model.rest.RestHostNameResolver", "enum":
[ "all-local-ip", "local-host-name", "local-ip" ], "deprecated": false,
"autowired": false, "secret": false, "defaultValue": "allLocalIp",
"description": "If no hostname has been explicit configured, then this resolver
is used to compute the hostname the RES [...]
+ "hostNameResolver": { "index": 13, "kind": "attribute", "displayName":
"Host Name Resolver", "label": "consumer,advanced", "required": false, "type":
"enum", "javaType": "org.apache.camel.model.rest.RestHostNameResolver", "enum":
[ "allLocalIp", "localHostName", "localIp" ], "deprecated": false, "autowired":
false, "secret": false, "defaultValue": "allLocalIp", "description": "If no
hostname has been explicit configured, then this resolver is used to compute
the hostname the REST ser [...]
"bindingMode": { "index": 14, "kind": "attribute", "displayName": "Binding
Mode", "required": false, "type": "enum", "javaType":
"org.apache.camel.model.rest.RestBindingMode", "enum": [ "off", "auto", "json",
"xml", "json_xml" ], "deprecated": false, "autowired": false, "secret": false,
"defaultValue": "off", "description": "Sets the binding mode to use. The
default value is off" },
"skipBindingOnErrorCode": { "index": 15, "kind": "attribute",
"displayName": "Skip Binding On Error Code", "label": "advanced", "required":
false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": false, "description":
"Whether to skip binding on output if there is a custom HTTP error code header.
This allows to build custom error messages that do not bind to json \/ xml etc,
as success messages otherwise wil [...]
"clientRequestValidation": { "index": 16, "kind": "attribute",
"displayName": "Client Request Validation", "label": "consumer,advanced",
"required": false, "type": "boolean", "javaType": "java.lang.Boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
false, "description": "Whether to enable validation of the client request to
check: 1) Content-Type header matches what the Rest DSL consumes; returns HTTP
Status 415 if validation error. 2) Accept header m [...]
diff --git
a/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/SchemaGeneratorMojo.java
b/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/SchemaGeneratorMojo.java
index ee35170cd0f..f0e3b4da0f0 100644
---
a/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/SchemaGeneratorMojo.java
+++
b/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/SchemaGeneratorMojo.java
@@ -435,9 +435,7 @@ public class SchemaGeneratorMojo extends
AbstractGeneratorMojo {
isEnum = fieldTypeElement.isEnum();
if (isEnum) {
for (Object val : fieldTypeElement.getEnumConstants()) {
- // make the enum nicely human readable instead of
typically upper cased
String str = val.toString();
- str = SchemaHelper.camelCaseToDash(str);
enums.add(str);
}
}
@@ -563,9 +561,7 @@ public class SchemaGeneratorMojo extends
AbstractGeneratorMojo {
isEnum = fieldTypeElement.isEnum();
if (isEnum) {
for (Object val : fieldTypeElement.getEnumConstants()) {
- // make the enum nicely human readable instead of
typically upper cased
String str = val.toString();
- str = SchemaHelper.camelCaseToDash(str);
enums.add(str);
}
}