This is an automated email from the ASF dual-hosted git repository.
acosentino 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 5033ab14553 [create-pull-request] automated change
5033ab14553 is described below
commit 5033ab145530605835741b61d44644ca74511cb5
Author: oscerd <[email protected]>
AuthorDate: Sat Dec 31 01:11:58 2022 +0000
[create-pull-request] automated change
---
.../catalog/components/atmosphere-websocket.json | 4 +-
.../camel/springboot/catalog/components/http.json | 22 ++++----
.../camel/springboot/catalog/components/https.json | 22 ++++----
.../camel/springboot/catalog/components/jetty.json | 6 +-
.../springboot/catalog/components/resteasy.json | 18 +++---
.../springboot/catalog/components/servlet.json | 6 +-
.../springboot/catalog/dataformats/fhirJson.json | 7 ++-
.../springboot/catalog/dataformats/fhirXml.json | 7 ++-
.../springboot/catalog/dataformats/jsonApi.json | 4 +-
.../camel-fhir-starter/src/main/docs/fhir.json | 36 ++++++++----
.../FhirJsonDataFormatConfiguration.java | 47 +++++++++++-----
.../springboot/FhirXmlDataFormatConfiguration.java | 47 +++++++++++-----
.../springboot/HttpComponentConfiguration.java | 64 +++++++++++-----------
.../src/main/docs/jsonapi.json | 8 +--
.../springboot/JsonApiDataFormatConfiguration.java | 17 +++---
.../springboot/ResteasyComponentConfiguration.java | 44 +++++++--------
16 files changed, 206 insertions(+), 153 deletions(-)
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/atmosphere-websocket.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/atmosphere-websocket.json
index 0d5e7f9ac38..47760bb6965 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/atmosphere-websocket.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/atmosphere-websocket.json
@@ -46,10 +46,10 @@
"servicePath": { "kind": "path", "displayName": "Service Path", "group":
"common", "label": "", "required": true, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "deprecationNote": "", "autowired":
false, "secret": false, "description": "Name of websocket endpoint" },
"chunked": { "kind": "parameter", "displayName": "Chunked", "group":
"common", "label": "", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": true, "description": "If this option is false the Servlet will
disable the HTTP streaming and set the content-length header on the response" },
"disableStreamCache": { "kind": "parameter", "displayName": "Disable
Stream Cache", "group": "common", "label": "common", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "description": "Determines whether or
not the raw input stream from Servlet is cached or not (Camel will read the
stream into a in memory\/overflow to file, Stream caching) cache. By default
Camel will cache the Servlet inpu [...]
- "headerFilterStrategy": { "kind": "parameter", "displayName": "Header
Filter Strategy", "group": "common", "label": "common", "required": false,
"type": "object", "javaType": "org.apache.camel.spi.HeaderFilterStrategy",
"deprecated": false, "autowired": false, "secret": false, "description": "To
use a custom HeaderFilterStrategy to filter header to and from Camel message."
},
"sendToAll": { "kind": "parameter", "displayName": "Send To All", "group":
"common", "label": "", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "description": "Whether to send to all (broadcast) or
send to a single receiver." },
- "transferException": { "kind": "parameter", "displayName": "Transfer
Exception", "group": "common", "label": "", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "description": "If enabled and an
Exchange failed processing on the consumer side, and if the caused Exception
was send back serialized in the response as a
application\/x-java-serialized-object content type. On the producer side the
[...]
+ "transferException": { "kind": "parameter", "displayName": "Transfer
Exception", "group": "common", "label": "common", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "description": "If enabled and an
Exchange failed processing on the consumer side, and if the caused Exception
was send back serialized in the response as a
application\/x-java-serialized-object content type. On the producer si [...]
"useStreaming": { "kind": "parameter", "displayName": "Use Streaming",
"group": "common", "label": "", "required": false, "type": "boolean",
"javaType": "boolean", "deprecated": false, "autowired": false, "secret":
false, "defaultValue": false, "description": "To enable streaming to send data
as multiple text fragments." },
+ "headerFilterStrategy": { "kind": "parameter", "displayName": "Header
Filter Strategy", "group": "common (advanced)", "label": "common,advanced",
"required": false, "type": "object", "javaType":
"org.apache.camel.spi.HeaderFilterStrategy", "deprecated": false, "autowired":
false, "secret": false, "description": "To use a custom HeaderFilterStrategy to
filter header to and from Camel message." },
"httpBinding": { "kind": "parameter", "displayName": "Http Binding",
"group": "common (advanced)", "label": "common,advanced", "required": false,
"type": "object", "javaType": "org.apache.camel.http.common.HttpBinding",
"deprecated": false, "autowired": false, "secret": false, "description": "To
use a custom HttpBinding to control the mapping between Camel message and
HttpClient." },
"async": { "kind": "parameter", "displayName": "Async", "group":
"consumer", "label": "consumer", "required": false, "type": "boolean",
"javaType": "boolean", "deprecated": false, "autowired": false, "secret":
false, "defaultValue": false, "description": "Configure the consumer to work in
async mode" },
"httpMethodRestrict": { "kind": "parameter", "displayName": "Http Method
Restrict", "group": "consumer", "label": "consumer", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "description": "Used to only allow consuming if the
HttpMethod matches, such as GET\/POST\/PUT etc. Multiple methods can be
specified separated by comma." },
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/http.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/http.json
index 0b29bf103e6..b9184213f1b 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/http.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/http.json
@@ -25,11 +25,11 @@
"verifiers": "parameters,connectivity"
},
"componentProperties": {
- "cookieStore": { "kind": "property", "displayName": "Cookie Store",
"group": "producer", "label": "producer", "required": false, "type": "object",
"javaType": "org.apache.http.client.CookieStore", "deprecated": false,
"autowired": false, "secret": false, "description": "To use a custom
org.apache.http.client.CookieStore. By default the
org.apache.http.impl.client.BasicCookieStore is used which is an in-memory only
cookie store. Notice if bridgeEndpoint=true then the cookie store is f [...]
- "copyHeaders": { "kind": "property", "displayName": "Copy Headers",
"group": "producer", "label": "producer", "required": false, "type": "boolean",
"javaType": "boolean", "deprecated": false, "autowired": false, "secret":
false, "defaultValue": true, "description": "If this option is true then IN
exchange headers will be copied to OUT exchange headers according to copy
strategy. Setting this to false, allows to only include the headers from the
HTTP response (not propagating IN heade [...]
+ "followRedirects": { "kind": "property", "displayName": "Follow
Redirects", "group": "producer", "label": "producer", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": false, "description": "Whether to the
HTTP request should follow redirects. By default the HTTP request does not
follow redirects" },
"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 [...]
- "responsePayloadStreamingThreshold": { "kind": "property", "displayName":
"Response Payload Streaming Threshold", "group": "producer", "label":
"producer", "required": false, "type": "integer", "javaType": "int",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": 8192,
"description": "This threshold in bytes controls whether the response payload
should be stored in memory as a byte array or be streaming based. Set this to
-1 to always use streaming mode." },
- "followRedirects": { "kind": "property", "displayName": "Follow
Redirects", "group": "producer (advanced)", "label": "producer,advanced",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": false,
"description": "Whether to the HTTP request should follow redirects. By default
the HTTP request does not follow redirects" },
+ "cookieStore": { "kind": "property", "displayName": "Cookie Store",
"group": "producer (advanced)", "label": "producer,advanced", "required":
false, "type": "object", "javaType": "org.apache.http.client.CookieStore",
"deprecated": false, "autowired": false, "secret": false, "description": "To
use a custom org.apache.http.client.CookieStore. By default the
org.apache.http.impl.client.BasicCookieStore is used which is an in-memory only
cookie store. Notice if bridgeEndpoint=true then t [...]
+ "copyHeaders": { "kind": "property", "displayName": "Copy Headers",
"group": "producer (advanced)", "label": "producer,advanced", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": true, "description": "If
this option is true then IN exchange headers will be copied to OUT exchange
headers according to copy strategy. Setting this to false, allows to only
include the headers from the HTTP response (not [...]
+ "responsePayloadStreamingThreshold": { "kind": "property", "displayName":
"Response Payload Streaming Threshold", "group": "producer (advanced)",
"label": "producer,advanced", "required": false, "type": "integer", "javaType":
"int", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": 8192, "description": "This threshold in bytes controls whether
the response payload should be stored in memory as a byte array or be streaming
based. Set this to -1 to always use st [...]
"skipRequestHeaders": { "kind": "property", "displayName": "Skip Request
Headers", "group": "producer (advanced)", "label": "producer,advanced",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": false,
"description": "Whether to skip mapping all the Camel headers as HTTP request
headers. If there are no data from Camel headers needed to be included in the
HTTP request then this can avoid parsing over [...]
"skipResponseHeaders": { "kind": "property", "displayName": "Skip Response
Headers", "group": "producer (advanced)", "label": "producer,advanced",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": false,
"description": "Whether to skip mapping all the HTTP response headers to Camel
headers. If there are no data needed from HTTP headers then this can avoid
parsing overhead with many object allocations [...]
"allowJavaSerializedObject": { "kind": "property", "displayName": "Allow
Java Serialized Object", "group": "advanced", "label": "advanced", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": false, "description":
"Whether to allow java serialization when a request uses
context-type=application\/x-java-serialized-object. This is by default turned
off. If you enable this then be aware that Java will des [...]
@@ -84,23 +84,23 @@
"properties": {
"httpUri": { "kind": "path", "displayName": "Http Uri", "group": "common",
"label": "common", "required": true, "type": "string", "javaType":
"java.net.URI", "deprecated": false, "deprecationNote": "", "autowired": false,
"secret": false, "description": "The url of the HTTP endpoint to call." },
"disableStreamCache": { "kind": "parameter", "displayName": "Disable
Stream Cache", "group": "common", "label": "common", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "description": "Determines whether or
not the raw input stream from Servlet is cached or not (Camel will read the
stream into a in memory\/overflow to file, Stream caching) cache. By default
Camel will cache the Servlet inpu [...]
- "headerFilterStrategy": { "kind": "parameter", "displayName": "Header
Filter Strategy", "group": "common", "label": "common", "required": false,
"type": "object", "javaType": "org.apache.camel.spi.HeaderFilterStrategy",
"deprecated": false, "autowired": false, "secret": false, "description": "To
use a custom HeaderFilterStrategy to filter header to and from Camel message."
},
+ "headerFilterStrategy": { "kind": "parameter", "displayName": "Header
Filter Strategy", "group": "common (advanced)", "label": "common,advanced",
"required": false, "type": "object", "javaType":
"org.apache.camel.spi.HeaderFilterStrategy", "deprecated": false, "autowired":
false, "secret": false, "description": "To use a custom HeaderFilterStrategy to
filter header to and from Camel message." },
"bridgeEndpoint": { "kind": "parameter", "displayName": "Bridge Endpoint",
"group": "producer", "label": "producer", "required": false, "type": "boolean",
"javaType": "boolean", "deprecated": false, "autowired": false, "secret":
false, "defaultValue": false, "description": "If the option is true,
HttpProducer will ignore the Exchange.HTTP_URI header, and use the endpoint's
URI for request. You may also set the option throwExceptionOnFailure to be
false to let the HttpProducer send al [...]
- "clearExpiredCookies": { "kind": "parameter", "displayName": "Clear
Expired Cookies", "group": "producer", "label": "producer", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": true, "description": "Whether to clear
expired cookies before sending the HTTP request. This ensures the cookies store
does not keep growing by adding new cookies which is newer removed when they
are expired. If the component [...]
"connectionClose": { "kind": "parameter", "displayName": "Connection
Close", "group": "producer", "label": "producer", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "description": "Specifies whether a
Connection Close header must be added to HTTP Request. By default
connectionClose is false." },
- "copyHeaders": { "kind": "parameter", "displayName": "Copy Headers",
"group": "producer", "label": "producer", "required": false, "type": "boolean",
"javaType": "boolean", "deprecated": false, "autowired": false, "secret":
false, "defaultValue": true, "description": "If this option is true then IN
exchange headers will be copied to OUT exchange headers according to copy
strategy. Setting this to false, allows to only include the headers from the
HTTP response (not propagating IN head [...]
- "customHostHeader": { "kind": "parameter", "displayName": "Custom Host
Header", "group": "producer", "label": "producer", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "description": "To use custom host header for producer.
When not set in query will be ignored. When set will override host header
derived from url." },
+ "followRedirects": { "kind": "parameter", "displayName": "Follow
Redirects", "group": "producer", "label": "producer", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": false, "description": "Whether to the
HTTP request should follow redirects. By default the HTTP request does not
follow redirects" },
"httpMethod": { "kind": "parameter", "displayName": "Http Method",
"group": "producer", "label": "producer", "required": false, "type": "object",
"javaType": "org.apache.camel.http.common.HttpMethods", "enum": [ "GET",
"POST", "PUT", "DELETE", "HEAD", "OPTIONS", "TRACE", "PATCH" ], "deprecated":
false, "autowired": false, "secret": false, "description": "Configure the HTTP
method to use. The HttpMethod header cannot override this option if set." },
- "ignoreResponseBody": { "kind": "parameter", "displayName": "Ignore
Response Body", "group": "producer", "label": "producer", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": false, "description": "If this option
is true, The http producer won't read response body and cache the input stream"
},
- "preserveHostHeader": { "kind": "parameter", "displayName": "Preserve Host
Header", "group": "producer", "label": "producer", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "description": "If the option is true,
HttpProducer will set the Host header to the value contained in the current
exchange Host header, useful in reverse proxy applications where you want the
Host header received by the [...]
"throwExceptionOnFailure": { "kind": "parameter", "displayName": "Throw
Exception On Failure", "group": "producer", "label": "producer", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": true, "description":
"Option to disable throwing the HttpOperationFailedException in case of failed
responses from the remote server. This allows you to get all responses
regardless of the HTTP status code." },
+ "clearExpiredCookies": { "kind": "parameter", "displayName": "Clear
Expired Cookies", "group": "producer (advanced)", "label": "producer,advanced",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": true,
"description": "Whether to clear expired cookies before sending the HTTP
request. This ensures the cookies store does not keep growing by adding new
cookies which is newer removed when they are expir [...]
"cookieHandler": { "kind": "parameter", "displayName": "Cookie Handler",
"group": "producer (advanced)", "label": "producer,advanced", "required":
false, "type": "object", "javaType":
"org.apache.camel.http.base.cookie.CookieHandler", "deprecated": false,
"autowired": false, "secret": false, "description": "Configure a cookie handler
to maintain a HTTP session" },
"cookieStore": { "kind": "parameter", "displayName": "Cookie Store",
"group": "producer (advanced)", "label": "producer,advanced", "required":
false, "type": "object", "javaType": "org.apache.http.client.CookieStore",
"deprecated": false, "autowired": false, "secret": false, "description": "To
use a custom CookieStore. By default the BasicCookieStore is used which is an
in-memory only cookie store. Notice if bridgeEndpoint=true then the cookie
store is forced to be a noop cookie stor [...]
+ "copyHeaders": { "kind": "parameter", "displayName": "Copy Headers",
"group": "producer (advanced)", "label": "producer,advanced", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": true, "description": "If
this option is true then IN exchange headers will be copied to OUT exchange
headers according to copy strategy. Setting this to false, allows to only
include the headers from the HTTP response (not [...]
+ "customHostHeader": { "kind": "parameter", "displayName": "Custom Host
Header", "group": "producer (advanced)", "label": "producer,advanced",
"required": false, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "autowired": false, "secret": false, "description": "To
use custom host header for producer. When not set in query will be ignored.
When set will override host header derived from url." },
"deleteWithBody": { "kind": "parameter", "displayName": "Delete With
Body", "group": "producer (advanced)", "label": "producer,advanced",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": false,
"description": "Whether the HTTP DELETE should include the message body or not.
By default HTTP DELETE do not include any HTTP body. However in some rare cases
users may need to be able to include the message [...]
- "followRedirects": { "kind": "parameter", "displayName": "Follow
Redirects", "group": "producer (advanced)", "label": "producer,advanced",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": false,
"description": "Whether to the HTTP request should follow redirects. By default
the HTTP request does not follow redirects" },
"getWithBody": { "kind": "parameter", "displayName": "Get With Body",
"group": "producer (advanced)", "label": "producer,advanced", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": false, "description":
"Whether the HTTP GET should include the message body or not. By default HTTP
GET do not include any HTTP body. However in some rare cases users may need to
be able to include the message body." },
+ "ignoreResponseBody": { "kind": "parameter", "displayName": "Ignore
Response Body", "group": "producer (advanced)", "label": "producer,advanced",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": false,
"description": "If this option is true, The http producer won't read response
body and cache the input stream" },
"lazyStartProducer": { "kind": "parameter", "displayName": "Lazy Start
Producer", "group": "producer (advanced)", "label": "producer,advanced",
"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 other [...]
"okStatusCodeRange": { "kind": "parameter", "displayName": "Ok Status Code
Range", "group": "producer (advanced)", "label": "producer,advanced",
"required": false, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
"200-299", "description": "The status codes which are considered a success
response. The values are inclusive. Multiple ranges can be defined, separated
by comma, e.g. 200-204,209,301-304. Each range [...]
+ "preserveHostHeader": { "kind": "parameter", "displayName": "Preserve Host
Header", "group": "producer (advanced)", "label": "producer,advanced",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": false,
"description": "If the option is true, HttpProducer will set the Host header to
the value contained in the current exchange Host header, useful in reverse
proxy applications where you want the Host he [...]
"skipRequestHeaders": { "kind": "parameter", "displayName": "Skip Request
Headers", "group": "producer (advanced)", "label": "producer,advanced",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": false,
"description": "Whether to skip mapping all the Camel headers as HTTP request
headers. If there are no data from Camel headers needed to be included in the
HTTP request then this can avoid parsing ove [...]
"skipResponseHeaders": { "kind": "parameter", "displayName": "Skip
Response Headers", "group": "producer (advanced)", "label":
"producer,advanced", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "description": "Whether to skip mapping all the HTTP
response headers to Camel headers. If there are no data needed from HTTP
headers then this can avoid parsing overhead with many object allocation [...]
"userAgent": { "kind": "parameter", "displayName": "User Agent", "group":
"producer (advanced)", "label": "producer,advanced", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "description": "To set a custom HTTP User-Agent request
header" },
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/https.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/https.json
index e691554d785..4208752fd7b 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/https.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/https.json
@@ -25,11 +25,11 @@
"verifiers": "parameters,connectivity"
},
"componentProperties": {
- "cookieStore": { "kind": "property", "displayName": "Cookie Store",
"group": "producer", "label": "producer", "required": false, "type": "object",
"javaType": "org.apache.http.client.CookieStore", "deprecated": false,
"autowired": false, "secret": false, "description": "To use a custom
org.apache.http.client.CookieStore. By default the
org.apache.http.impl.client.BasicCookieStore is used which is an in-memory only
cookie store. Notice if bridgeEndpoint=true then the cookie store is f [...]
- "copyHeaders": { "kind": "property", "displayName": "Copy Headers",
"group": "producer", "label": "producer", "required": false, "type": "boolean",
"javaType": "boolean", "deprecated": false, "autowired": false, "secret":
false, "defaultValue": true, "description": "If this option is true then IN
exchange headers will be copied to OUT exchange headers according to copy
strategy. Setting this to false, allows to only include the headers from the
HTTP response (not propagating IN heade [...]
+ "followRedirects": { "kind": "property", "displayName": "Follow
Redirects", "group": "producer", "label": "producer", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": false, "description": "Whether to the
HTTP request should follow redirects. By default the HTTP request does not
follow redirects" },
"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 [...]
- "responsePayloadStreamingThreshold": { "kind": "property", "displayName":
"Response Payload Streaming Threshold", "group": "producer", "label":
"producer", "required": false, "type": "integer", "javaType": "int",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": 8192,
"description": "This threshold in bytes controls whether the response payload
should be stored in memory as a byte array or be streaming based. Set this to
-1 to always use streaming mode." },
- "followRedirects": { "kind": "property", "displayName": "Follow
Redirects", "group": "producer (advanced)", "label": "producer,advanced",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": false,
"description": "Whether to the HTTP request should follow redirects. By default
the HTTP request does not follow redirects" },
+ "cookieStore": { "kind": "property", "displayName": "Cookie Store",
"group": "producer (advanced)", "label": "producer,advanced", "required":
false, "type": "object", "javaType": "org.apache.http.client.CookieStore",
"deprecated": false, "autowired": false, "secret": false, "description": "To
use a custom org.apache.http.client.CookieStore. By default the
org.apache.http.impl.client.BasicCookieStore is used which is an in-memory only
cookie store. Notice if bridgeEndpoint=true then t [...]
+ "copyHeaders": { "kind": "property", "displayName": "Copy Headers",
"group": "producer (advanced)", "label": "producer,advanced", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": true, "description": "If
this option is true then IN exchange headers will be copied to OUT exchange
headers according to copy strategy. Setting this to false, allows to only
include the headers from the HTTP response (not [...]
+ "responsePayloadStreamingThreshold": { "kind": "property", "displayName":
"Response Payload Streaming Threshold", "group": "producer (advanced)",
"label": "producer,advanced", "required": false, "type": "integer", "javaType":
"int", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": 8192, "description": "This threshold in bytes controls whether
the response payload should be stored in memory as a byte array or be streaming
based. Set this to -1 to always use st [...]
"skipRequestHeaders": { "kind": "property", "displayName": "Skip Request
Headers", "group": "producer (advanced)", "label": "producer,advanced",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": false,
"description": "Whether to skip mapping all the Camel headers as HTTP request
headers. If there are no data from Camel headers needed to be included in the
HTTP request then this can avoid parsing over [...]
"skipResponseHeaders": { "kind": "property", "displayName": "Skip Response
Headers", "group": "producer (advanced)", "label": "producer,advanced",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": false,
"description": "Whether to skip mapping all the HTTP response headers to Camel
headers. If there are no data needed from HTTP headers then this can avoid
parsing overhead with many object allocations [...]
"allowJavaSerializedObject": { "kind": "property", "displayName": "Allow
Java Serialized Object", "group": "advanced", "label": "advanced", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": false, "description":
"Whether to allow java serialization when a request uses
context-type=application\/x-java-serialized-object. This is by default turned
off. If you enable this then be aware that Java will des [...]
@@ -84,23 +84,23 @@
"properties": {
"httpUri": { "kind": "path", "displayName": "Http Uri", "group": "common",
"label": "common", "required": true, "type": "string", "javaType":
"java.net.URI", "deprecated": false, "deprecationNote": "", "autowired": false,
"secret": false, "description": "The url of the HTTP endpoint to call." },
"disableStreamCache": { "kind": "parameter", "displayName": "Disable
Stream Cache", "group": "common", "label": "common", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "description": "Determines whether or
not the raw input stream from Servlet is cached or not (Camel will read the
stream into a in memory\/overflow to file, Stream caching) cache. By default
Camel will cache the Servlet inpu [...]
- "headerFilterStrategy": { "kind": "parameter", "displayName": "Header
Filter Strategy", "group": "common", "label": "common", "required": false,
"type": "object", "javaType": "org.apache.camel.spi.HeaderFilterStrategy",
"deprecated": false, "autowired": false, "secret": false, "description": "To
use a custom HeaderFilterStrategy to filter header to and from Camel message."
},
+ "headerFilterStrategy": { "kind": "parameter", "displayName": "Header
Filter Strategy", "group": "common (advanced)", "label": "common,advanced",
"required": false, "type": "object", "javaType":
"org.apache.camel.spi.HeaderFilterStrategy", "deprecated": false, "autowired":
false, "secret": false, "description": "To use a custom HeaderFilterStrategy to
filter header to and from Camel message." },
"bridgeEndpoint": { "kind": "parameter", "displayName": "Bridge Endpoint",
"group": "producer", "label": "producer", "required": false, "type": "boolean",
"javaType": "boolean", "deprecated": false, "autowired": false, "secret":
false, "defaultValue": false, "description": "If the option is true,
HttpProducer will ignore the Exchange.HTTP_URI header, and use the endpoint's
URI for request. You may also set the option throwExceptionOnFailure to be
false to let the HttpProducer send al [...]
- "clearExpiredCookies": { "kind": "parameter", "displayName": "Clear
Expired Cookies", "group": "producer", "label": "producer", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": true, "description": "Whether to clear
expired cookies before sending the HTTP request. This ensures the cookies store
does not keep growing by adding new cookies which is newer removed when they
are expired. If the component [...]
"connectionClose": { "kind": "parameter", "displayName": "Connection
Close", "group": "producer", "label": "producer", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "description": "Specifies whether a
Connection Close header must be added to HTTP Request. By default
connectionClose is false." },
- "copyHeaders": { "kind": "parameter", "displayName": "Copy Headers",
"group": "producer", "label": "producer", "required": false, "type": "boolean",
"javaType": "boolean", "deprecated": false, "autowired": false, "secret":
false, "defaultValue": true, "description": "If this option is true then IN
exchange headers will be copied to OUT exchange headers according to copy
strategy. Setting this to false, allows to only include the headers from the
HTTP response (not propagating IN head [...]
- "customHostHeader": { "kind": "parameter", "displayName": "Custom Host
Header", "group": "producer", "label": "producer", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "description": "To use custom host header for producer.
When not set in query will be ignored. When set will override host header
derived from url." },
+ "followRedirects": { "kind": "parameter", "displayName": "Follow
Redirects", "group": "producer", "label": "producer", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": false, "description": "Whether to the
HTTP request should follow redirects. By default the HTTP request does not
follow redirects" },
"httpMethod": { "kind": "parameter", "displayName": "Http Method",
"group": "producer", "label": "producer", "required": false, "type": "object",
"javaType": "org.apache.camel.http.common.HttpMethods", "enum": [ "GET",
"POST", "PUT", "DELETE", "HEAD", "OPTIONS", "TRACE", "PATCH" ], "deprecated":
false, "autowired": false, "secret": false, "description": "Configure the HTTP
method to use. The HttpMethod header cannot override this option if set." },
- "ignoreResponseBody": { "kind": "parameter", "displayName": "Ignore
Response Body", "group": "producer", "label": "producer", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": false, "description": "If this option
is true, The http producer won't read response body and cache the input stream"
},
- "preserveHostHeader": { "kind": "parameter", "displayName": "Preserve Host
Header", "group": "producer", "label": "producer", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "description": "If the option is true,
HttpProducer will set the Host header to the value contained in the current
exchange Host header, useful in reverse proxy applications where you want the
Host header received by the [...]
"throwExceptionOnFailure": { "kind": "parameter", "displayName": "Throw
Exception On Failure", "group": "producer", "label": "producer", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": true, "description":
"Option to disable throwing the HttpOperationFailedException in case of failed
responses from the remote server. This allows you to get all responses
regardless of the HTTP status code." },
+ "clearExpiredCookies": { "kind": "parameter", "displayName": "Clear
Expired Cookies", "group": "producer (advanced)", "label": "producer,advanced",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": true,
"description": "Whether to clear expired cookies before sending the HTTP
request. This ensures the cookies store does not keep growing by adding new
cookies which is newer removed when they are expir [...]
"cookieHandler": { "kind": "parameter", "displayName": "Cookie Handler",
"group": "producer (advanced)", "label": "producer,advanced", "required":
false, "type": "object", "javaType":
"org.apache.camel.http.base.cookie.CookieHandler", "deprecated": false,
"autowired": false, "secret": false, "description": "Configure a cookie handler
to maintain a HTTP session" },
"cookieStore": { "kind": "parameter", "displayName": "Cookie Store",
"group": "producer (advanced)", "label": "producer,advanced", "required":
false, "type": "object", "javaType": "org.apache.http.client.CookieStore",
"deprecated": false, "autowired": false, "secret": false, "description": "To
use a custom CookieStore. By default the BasicCookieStore is used which is an
in-memory only cookie store. Notice if bridgeEndpoint=true then the cookie
store is forced to be a noop cookie stor [...]
+ "copyHeaders": { "kind": "parameter", "displayName": "Copy Headers",
"group": "producer (advanced)", "label": "producer,advanced", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": true, "description": "If
this option is true then IN exchange headers will be copied to OUT exchange
headers according to copy strategy. Setting this to false, allows to only
include the headers from the HTTP response (not [...]
+ "customHostHeader": { "kind": "parameter", "displayName": "Custom Host
Header", "group": "producer (advanced)", "label": "producer,advanced",
"required": false, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "autowired": false, "secret": false, "description": "To
use custom host header for producer. When not set in query will be ignored.
When set will override host header derived from url." },
"deleteWithBody": { "kind": "parameter", "displayName": "Delete With
Body", "group": "producer (advanced)", "label": "producer,advanced",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": false,
"description": "Whether the HTTP DELETE should include the message body or not.
By default HTTP DELETE do not include any HTTP body. However in some rare cases
users may need to be able to include the message [...]
- "followRedirects": { "kind": "parameter", "displayName": "Follow
Redirects", "group": "producer (advanced)", "label": "producer,advanced",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": false,
"description": "Whether to the HTTP request should follow redirects. By default
the HTTP request does not follow redirects" },
"getWithBody": { "kind": "parameter", "displayName": "Get With Body",
"group": "producer (advanced)", "label": "producer,advanced", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": false, "description":
"Whether the HTTP GET should include the message body or not. By default HTTP
GET do not include any HTTP body. However in some rare cases users may need to
be able to include the message body." },
+ "ignoreResponseBody": { "kind": "parameter", "displayName": "Ignore
Response Body", "group": "producer (advanced)", "label": "producer,advanced",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": false,
"description": "If this option is true, The http producer won't read response
body and cache the input stream" },
"lazyStartProducer": { "kind": "parameter", "displayName": "Lazy Start
Producer", "group": "producer (advanced)", "label": "producer,advanced",
"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 other [...]
"okStatusCodeRange": { "kind": "parameter", "displayName": "Ok Status Code
Range", "group": "producer (advanced)", "label": "producer,advanced",
"required": false, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
"200-299", "description": "The status codes which are considered a success
response. The values are inclusive. Multiple ranges can be defined, separated
by comma, e.g. 200-204,209,301-304. Each range [...]
+ "preserveHostHeader": { "kind": "parameter", "displayName": "Preserve Host
Header", "group": "producer (advanced)", "label": "producer,advanced",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": false,
"description": "If the option is true, HttpProducer will set the Host header to
the value contained in the current exchange Host header, useful in reverse
proxy applications where you want the Host he [...]
"skipRequestHeaders": { "kind": "parameter", "displayName": "Skip Request
Headers", "group": "producer (advanced)", "label": "producer,advanced",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": false,
"description": "Whether to skip mapping all the Camel headers as HTTP request
headers. If there are no data from Camel headers needed to be included in the
HTTP request then this can avoid parsing ove [...]
"skipResponseHeaders": { "kind": "parameter", "displayName": "Skip
Response Headers", "group": "producer (advanced)", "label":
"producer,advanced", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "description": "Whether to skip mapping all the HTTP
response headers to Camel headers. If there are no data needed from HTTP
headers then this can avoid parsing overhead with many object allocation [...]
"userAgent": { "kind": "parameter", "displayName": "User Agent", "group":
"producer (advanced)", "label": "producer,advanced", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "description": "To set a custom HTTP User-Agent request
header" },
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/jetty.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/jetty.json
index 07af3507f03..2ed49bb299a 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/jetty.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/jetty.json
@@ -63,10 +63,11 @@
},
"properties": {
"httpUri": { "kind": "path", "displayName": "Http Uri", "group": "common",
"label": "common", "required": true, "type": "string", "javaType":
"java.net.URI", "deprecated": false, "deprecationNote": "", "autowired": false,
"secret": false, "description": "The url of the HTTP endpoint to call." },
+ "headerFilterStrategy": { "kind": "parameter", "displayName": "Header
Filter Strategy", "group": "common (advanced)", "label": "common,advanced",
"required": false, "type": "object", "javaType":
"org.apache.camel.spi.HeaderFilterStrategy", "deprecated": false, "autowired":
false, "secret": false, "description": "To use a custom HeaderFilterStrategy to
filter header to and from Camel message." },
+ "httpBinding": { "kind": "parameter", "displayName": "Http Binding",
"group": "common (advanced)", "label": "common,advanced", "required": false,
"type": "object", "javaType": "org.apache.camel.http.common.HttpBinding",
"deprecated": false, "autowired": false, "secret": false, "description": "To
use a custom HttpBinding to control the mapping between Camel message and
HttpClient." },
"chunked": { "kind": "parameter", "displayName": "Chunked", "group":
"consumer", "label": "", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": true, "description": "If this option is false the Servlet will
disable the HTTP streaming and set the content-length header on the response" },
"disableStreamCache": { "kind": "parameter", "displayName": "Disable
Stream Cache", "group": "common", "label": "common", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "description": "Determines whether or
not the raw input stream from Servlet is cached or not (Camel will read the
stream into a in memory\/overflow to file, Stream caching) cache. By default
Camel will cache the Servlet inpu [...]
- "headerFilterStrategy": { "kind": "parameter", "displayName": "Header
Filter Strategy", "group": "common", "label": "common", "required": false,
"type": "object", "javaType": "org.apache.camel.spi.HeaderFilterStrategy",
"deprecated": false, "autowired": false, "secret": false, "description": "To
use a custom HeaderFilterStrategy to filter header to and from Camel message."
},
- "httpBinding": { "kind": "parameter", "displayName": "Http Binding",
"group": "common (advanced)", "label": "common,advanced", "required": false,
"type": "object", "javaType": "org.apache.camel.http.common.HttpBinding",
"deprecated": false, "autowired": false, "secret": false, "description": "To
use a custom HttpBinding to control the mapping between Camel message and
HttpClient." },
+ "transferException": { "kind": "parameter", "displayName": "Transfer
Exception", "group": "common", "label": "common", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "description": "If enabled and an
Exchange failed processing on the consumer side, and if the caused Exception
was send back serialized in the response as a
application\/x-java-serialized-object content type. On the producer si [...]
"async": { "kind": "parameter", "displayName": "Async", "group":
"consumer", "label": "consumer", "required": false, "type": "boolean",
"javaType": "boolean", "deprecated": false, "autowired": false, "secret":
false, "defaultValue": false, "description": "Configure the consumer to work in
async mode" },
"continuationTimeout": { "kind": "parameter", "displayName": "Continuation
Timeout", "group": "consumer", "label": "consumer", "required": false, "type":
"integer", "javaType": "java.lang.Long", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": "30000", "description": "Allows to set
a timeout in millis when using Jetty as consumer (server). By default Jetty
uses 30000. You can use a value of = 0 to never expire. If a timeout occurs
then the request will be exp [...]
"enableCORS": { "kind": "parameter", "displayName": "Enable CORS",
"group": "consumer", "label": "consumer", "required": false, "type": "boolean",
"javaType": "boolean", "deprecated": false, "autowired": false, "secret":
false, "defaultValue": false, "description": "If the option is true, Jetty
server will setup the CrossOriginFilter which supports the CORS out of box." },
@@ -79,7 +80,6 @@
"sendDateHeader": { "kind": "parameter", "displayName": "Send Date
Header", "group": "consumer", "label": "consumer", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "description": "If the option is true,
jetty server will send the date header to the client which sends the request.
NOTE please make sure there is no any other camel-jetty endpoint is share the
same port, otherwise this option [...]
"sendServerVersion": { "kind": "parameter", "displayName": "Send Server
Version", "group": "consumer", "label": "consumer", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": true, "description": "If the option is true,
jetty will send the server header with the jetty version information to the
client which sends the request. NOTE please make sure there is no any other
camel-jetty endpoint is share th [...]
"sessionSupport": { "kind": "parameter", "displayName": "Session Support",
"group": "consumer", "label": "consumer", "required": false, "type": "boolean",
"javaType": "boolean", "deprecated": false, "autowired": false, "secret":
false, "defaultValue": false, "description": "Specifies whether to enable the
session manager on the server side of Jetty." },
- "transferException": { "kind": "parameter", "displayName": "Transfer
Exception", "group": "consumer", "label": "", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "description": "If enabled and an
Exchange failed processing on the consumer side, and if the caused Exception
was send back serialized in the response as a
application\/x-java-serialized-object content type. On the producer side t [...]
"useContinuation": { "kind": "parameter", "displayName": "Use
Continuation", "group": "consumer", "label": "consumer", "required": false,
"type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false,
"autowired": false, "secret": false, "description": "Whether or not to use
Jetty continuations for the Jetty Server." },
"bridgeErrorHandler": { "kind": "parameter", "displayName": "Bridge Error
Handler", "group": "consumer (advanced)", "label": "consumer,advanced",
"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 [...]
"eagerCheckContentAvailable": { "kind": "parameter", "displayName": "Eager
Check Content Available", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "description": "Whether to eager check whether the HTTP
requests has content if the content-length header is 0 or not present. This can
be turned on in case HTTP clients do not send s [...]
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/resteasy.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/resteasy.json
index 0c98c7e7431..f957b9fca92 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/resteasy.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/resteasy.json
@@ -27,10 +27,10 @@
"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 [...]
"muteException": { "kind": "property", "displayName": "Mute Exception",
"group": "consumer", "label": "consumer", "required": false, "type": "boolean",
"javaType": "boolean", "deprecated": false, "autowired": false, "secret":
false, "defaultValue": false, "description": "If enabled and an Exchange failed
processing on the consumer side the response's body won't contain the
exception's stack trace." },
"proxyConsumersClasses": { "kind": "property", "displayName": "Proxy
Consumers Classes", "group": "consumer", "label": "consumer", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "description": "Proxy classes for consumer
endpoints. Multiple classes can be separated by comma." },
- "copyHeaders": { "kind": "property", "displayName": "Copy Headers",
"group": "producer", "label": "producer", "required": false, "type": "boolean",
"javaType": "boolean", "deprecated": false, "autowired": false, "secret":
false, "defaultValue": true, "description": "If this option is true then IN
exchange headers will be copied to OUT exchange headers according to copy
strategy. Setting this to false, allows to only include the headers from the
HTTP response (not propagating IN heade [...]
+ "followRedirects": { "kind": "property", "displayName": "Follow
Redirects", "group": "producer", "label": "producer", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": false, "description": "Whether to the
HTTP request should follow redirects. By default the HTTP request does not
follow redirects" },
"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 [...]
- "responsePayloadStreamingThreshold": { "kind": "property", "displayName":
"Response Payload Streaming Threshold", "group": "producer", "label":
"producer", "required": false, "type": "integer", "javaType": "int",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": 8192,
"description": "This threshold in bytes controls whether the response payload
should be stored in memory as a byte array or be streaming based. Set this to
-1 to always use streaming mode." },
- "followRedirects": { "kind": "property", "displayName": "Follow
Redirects", "group": "producer (advanced)", "label": "producer,advanced",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": false,
"description": "Whether to the HTTP request should follow redirects. By default
the HTTP request does not follow redirects" },
+ "copyHeaders": { "kind": "property", "displayName": "Copy Headers",
"group": "producer (advanced)", "label": "producer,advanced", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": true, "description": "If
this option is true then IN exchange headers will be copied to OUT exchange
headers according to copy strategy. Setting this to false, allows to only
include the headers from the HTTP response (not [...]
+ "responsePayloadStreamingThreshold": { "kind": "property", "displayName":
"Response Payload Streaming Threshold", "group": "producer (advanced)",
"label": "producer,advanced", "required": false, "type": "integer", "javaType":
"int", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": 8192, "description": "This threshold in bytes controls whether
the response payload should be stored in memory as a byte array or be streaming
based. Set this to -1 to always use st [...]
"skipRequestHeaders": { "kind": "property", "displayName": "Skip Request
Headers", "group": "producer (advanced)", "label": "producer,advanced",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": false,
"description": "Whether to skip mapping all the Camel headers as HTTP request
headers. If there are no data from Camel headers needed to be included in the
HTTP request then this can avoid parsing over [...]
"skipResponseHeaders": { "kind": "property", "displayName": "Skip Response
Headers", "group": "producer (advanced)", "label": "producer,advanced",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": false,
"description": "Whether to skip mapping all the HTTP response headers to Camel
headers. If there are no data needed from HTTP headers then this can avoid
parsing overhead with many object allocations [...]
"allowJavaSerializedObject": { "kind": "property", "displayName": "Allow
Java Serialized Object", "group": "advanced", "label": "advanced", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": false, "description":
"Whether to allow java serialization when a request uses
context-type=application\/x-java-serialized-object. This is by default turned
off. If you enable this then be aware that Java will des [...]
@@ -87,20 +87,20 @@
"optionsEnabled": { "kind": "parameter", "displayName": "Options Enabled",
"group": "consumer (advanced)", "label": "consumer,advanced", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": false, "description":
"Specifies whether to enable HTTP OPTIONS for this Servlet consumer. By default
OPTIONS is turned off." },
"traceEnabled": { "kind": "parameter", "displayName": "Trace Enabled",
"group": "consumer (advanced)", "label": "consumer,advanced", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": false, "description":
"Specifies whether to enable HTTP TRACE for this Servlet consumer. By default
TRACE is turned off." },
"bridgeEndpoint": { "kind": "parameter", "displayName": "Bridge Endpoint",
"group": "producer", "label": "producer", "required": false, "type": "boolean",
"javaType": "boolean", "deprecated": false, "autowired": false, "secret":
false, "defaultValue": false, "description": "If the option is true,
HttpProducer will ignore the Exchange.HTTP_URI header, and use the endpoint's
URI for request. You may also set the option throwExceptionOnFailure to be
false to let the HttpProducer send al [...]
- "clearExpiredCookies": { "kind": "parameter", "displayName": "Clear
Expired Cookies", "group": "producer", "label": "producer", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": true, "description": "Whether to clear
expired cookies before sending the HTTP request. This ensures the cookies store
does not keep growing by adding new cookies which is newer removed when they
are expired. If the component [...]
"connectionClose": { "kind": "parameter", "displayName": "Connection
Close", "group": "producer", "label": "producer", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "description": "Specifies whether a
Connection Close header must be added to HTTP Request. By default
connectionClose is false." },
- "copyHeaders": { "kind": "parameter", "displayName": "Copy Headers",
"group": "producer", "label": "producer", "required": false, "type": "boolean",
"javaType": "boolean", "deprecated": false, "autowired": false, "secret":
false, "defaultValue": true, "description": "If this option is true then IN
exchange headers will be copied to OUT exchange headers according to copy
strategy. Setting this to false, allows to only include the headers from the
HTTP response (not propagating IN head [...]
- "customHostHeader": { "kind": "parameter", "displayName": "Custom Host
Header", "group": "producer", "label": "producer", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "description": "To use custom host header for producer.
When not set in query will be ignored. When set will override host header
derived from url." },
+ "followRedirects": { "kind": "parameter", "displayName": "Follow
Redirects", "group": "producer", "label": "producer", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": false, "description": "Whether to the
HTTP request should follow redirects. By default the HTTP request does not
follow redirects" },
"httpMethod": { "kind": "parameter", "displayName": "Http Method",
"group": "producer", "label": "producer", "required": false, "type": "object",
"javaType": "org.apache.camel.http.common.HttpMethods", "enum": [ "GET",
"POST", "PUT", "DELETE", "HEAD", "OPTIONS", "TRACE", "PATCH" ], "deprecated":
false, "autowired": false, "secret": false, "description": "Configure the HTTP
method to use. The HttpMethod header cannot override this option if set." },
- "ignoreResponseBody": { "kind": "parameter", "displayName": "Ignore
Response Body", "group": "producer", "label": "producer", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": false, "description": "If this option
is true, The http producer won't read response body and cache the input stream"
},
- "preserveHostHeader": { "kind": "parameter", "displayName": "Preserve Host
Header", "group": "producer", "label": "producer", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "description": "If the option is true,
HttpProducer will set the Host header to the value contained in the current
exchange Host header, useful in reverse proxy applications where you want the
Host header received by the [...]
"throwExceptionOnFailure": { "kind": "parameter", "displayName": "Throw
Exception On Failure", "group": "producer", "label": "producer", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": true, "description":
"Option to disable throwing the HttpOperationFailedException in case of failed
responses from the remote server. This allows you to get all responses
regardless of the HTTP status code." },
+ "clearExpiredCookies": { "kind": "parameter", "displayName": "Clear
Expired Cookies", "group": "producer (advanced)", "label": "producer,advanced",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": true,
"description": "Whether to clear expired cookies before sending the HTTP
request. This ensures the cookies store does not keep growing by adding new
cookies which is newer removed when they are expir [...]
"cookieHandler": { "kind": "parameter", "displayName": "Cookie Handler",
"group": "producer (advanced)", "label": "producer,advanced", "required":
false, "type": "object", "javaType":
"org.apache.camel.http.base.cookie.CookieHandler", "deprecated": false,
"autowired": false, "secret": false, "description": "Configure a cookie handler
to maintain a HTTP session" },
+ "copyHeaders": { "kind": "parameter", "displayName": "Copy Headers",
"group": "producer (advanced)", "label": "producer,advanced", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": true, "description": "If
this option is true then IN exchange headers will be copied to OUT exchange
headers according to copy strategy. Setting this to false, allows to only
include the headers from the HTTP response (not [...]
+ "customHostHeader": { "kind": "parameter", "displayName": "Custom Host
Header", "group": "producer (advanced)", "label": "producer,advanced",
"required": false, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "autowired": false, "secret": false, "description": "To
use custom host header for producer. When not set in query will be ignored.
When set will override host header derived from url." },
"deleteWithBody": { "kind": "parameter", "displayName": "Delete With
Body", "group": "producer (advanced)", "label": "producer,advanced",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": false,
"description": "Whether the HTTP DELETE should include the message body or not.
By default HTTP DELETE do not include any HTTP body. However in some rare cases
users may need to be able to include the message [...]
- "followRedirects": { "kind": "parameter", "displayName": "Follow
Redirects", "group": "producer (advanced)", "label": "producer,advanced",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": false,
"description": "Whether to the HTTP request should follow redirects. By default
the HTTP request does not follow redirects" },
"getWithBody": { "kind": "parameter", "displayName": "Get With Body",
"group": "producer (advanced)", "label": "producer,advanced", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": false, "description":
"Whether the HTTP GET should include the message body or not. By default HTTP
GET do not include any HTTP body. However in some rare cases users may need to
be able to include the message body." },
+ "ignoreResponseBody": { "kind": "parameter", "displayName": "Ignore
Response Body", "group": "producer (advanced)", "label": "producer,advanced",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": false,
"description": "If this option is true, The http producer won't read response
body and cache the input stream" },
"lazyStartProducer": { "kind": "parameter", "displayName": "Lazy Start
Producer", "group": "producer (advanced)", "label": "producer,advanced",
"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 other [...]
"okStatusCodeRange": { "kind": "parameter", "displayName": "Ok Status Code
Range", "group": "producer (advanced)", "label": "producer,advanced",
"required": false, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
"200-299", "description": "The status codes which are considered a success
response. The values are inclusive. Multiple ranges can be defined, separated
by comma, e.g. 200-204,209,301-304. Each range [...]
+ "preserveHostHeader": { "kind": "parameter", "displayName": "Preserve Host
Header", "group": "producer (advanced)", "label": "producer,advanced",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": false,
"description": "If the option is true, HttpProducer will set the Host header to
the value contained in the current exchange Host header, useful in reverse
proxy applications where you want the Host he [...]
"skipRequestHeaders": { "kind": "parameter", "displayName": "Skip Request
Headers", "group": "producer (advanced)", "label": "producer,advanced",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": false,
"description": "Whether to skip mapping all the Camel headers as HTTP request
headers. If there are no data from Camel headers needed to be included in the
HTTP request then this can avoid parsing ove [...]
"skipResponseHeaders": { "kind": "parameter", "displayName": "Skip
Response Headers", "group": "producer (advanced)", "label":
"producer,advanced", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "description": "Whether to skip mapping all the HTTP
response headers to Camel headers. If there are no data needed from HTTP
headers then this can avoid parsing overhead with many object allocation [...]
"userAgent": { "kind": "parameter", "displayName": "User Agent", "group":
"producer (advanced)", "label": "producer,advanced", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "description": "To set a custom HTTP User-Agent request
header" },
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/servlet.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/servlet.json
index 91968800b07..4c13e956eb4 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/servlet.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/servlet.json
@@ -37,17 +37,17 @@
},
"properties": {
"contextPath": { "kind": "path", "displayName": "Context Path", "group":
"consumer", "label": "consumer", "required": true, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": false, "description": "The context-path to use" },
- "chunked": { "kind": "parameter", "displayName": "Chunked", "group":
"consumer", "label": "", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": true, "description": "If this option is false the Servlet will
disable the HTTP streaming and set the content-length header on the response" },
"disableStreamCache": { "kind": "parameter", "displayName": "Disable
Stream Cache", "group": "common", "label": "common", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "description": "Determines whether or
not the raw input stream from Servlet is cached or not (Camel will read the
stream into a in memory\/overflow to file, Stream caching) cache. By default
Camel will cache the Servlet inpu [...]
- "headerFilterStrategy": { "kind": "parameter", "displayName": "Header
Filter Strategy", "group": "common", "label": "common", "required": false,
"type": "object", "javaType": "org.apache.camel.spi.HeaderFilterStrategy",
"deprecated": false, "autowired": false, "secret": false, "description": "To
use a custom HeaderFilterStrategy to filter header to and from Camel message."
},
+ "headerFilterStrategy": { "kind": "parameter", "displayName": "Header
Filter Strategy", "group": "common (advanced)", "label": "common,advanced",
"required": false, "type": "object", "javaType":
"org.apache.camel.spi.HeaderFilterStrategy", "deprecated": false, "autowired":
false, "secret": false, "description": "To use a custom HeaderFilterStrategy to
filter header to and from Camel message." },
"httpBinding": { "kind": "parameter", "displayName": "Http Binding",
"group": "common (advanced)", "label": "common,advanced", "required": false,
"type": "object", "javaType": "org.apache.camel.http.common.HttpBinding",
"deprecated": false, "autowired": false, "secret": false, "description": "To
use a custom HttpBinding to control the mapping between Camel message and
HttpClient." },
"async": { "kind": "parameter", "displayName": "Async", "group":
"consumer", "label": "consumer", "required": false, "type": "boolean",
"javaType": "boolean", "deprecated": false, "autowired": false, "secret":
false, "defaultValue": false, "description": "Configure the consumer to work in
async mode" },
+ "chunked": { "kind": "parameter", "displayName": "Chunked", "group":
"consumer", "label": "", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": true, "description": "If this option is false the Servlet will
disable the HTTP streaming and set the content-length header on the response" },
+ "transferException": { "kind": "parameter", "displayName": "Transfer
Exception", "group": "common", "label": "common", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "description": "If enabled and an
Exchange failed processing on the consumer side, and if the caused Exception
was send back serialized in the response as a
application\/x-java-serialized-object content type. On the producer si [...]
"httpMethodRestrict": { "kind": "parameter", "displayName": "Http Method
Restrict", "group": "consumer", "label": "consumer", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "description": "Used to only allow consuming if the
HttpMethod matches, such as GET\/POST\/PUT etc. Multiple methods can be
specified separated by comma." },
"matchOnUriPrefix": { "kind": "parameter", "displayName": "Match On Uri
Prefix", "group": "consumer", "label": "consumer", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "description": "Whether or not the
consumer should try to find a target consumer by matching the URI prefix if no
exact match is found." },
"muteException": { "kind": "parameter", "displayName": "Mute Exception",
"group": "consumer", "label": "consumer", "required": false, "type": "boolean",
"javaType": "boolean", "deprecated": false, "autowired": false, "secret":
false, "defaultValue": false, "description": "If enabled and an Exchange failed
processing on the consumer side the response's body won't contain the
exception's stack trace." },
"responseBufferSize": { "kind": "parameter", "displayName": "Response
Buffer Size", "group": "consumer", "label": "consumer", "required": false,
"type": "integer", "javaType": "java.lang.Integer", "deprecated": false,
"autowired": false, "secret": false, "description": "To use a custom buffer
size on the javax.servlet.ServletResponse." },
"servletName": { "kind": "parameter", "displayName": "Servlet Name",
"group": "consumer", "label": "consumer", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": "CamelServlet", "description": "Name of the
servlet to use" },
- "transferException": { "kind": "parameter", "displayName": "Transfer
Exception", "group": "consumer", "label": "", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "description": "If enabled and an
Exchange failed processing on the consumer side, and if the caused Exception
was send back serialized in the response as a
application\/x-java-serialized-object content type. On the producer side t [...]
"attachmentMultipartBinding": { "kind": "parameter", "displayName":
"Attachment Multipart Binding", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "description": "Whether to automatic bind
multipart\/form-data as attachments on the Camel Exchange. The options
attachmentMultipartBinding=true and disableStreamCache=false cannot wor [...]
"bridgeErrorHandler": { "kind": "parameter", "displayName": "Bridge Error
Handler", "group": "consumer (advanced)", "label": "consumer,advanced",
"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 [...]
"eagerCheckContentAvailable": { "kind": "parameter", "displayName": "Eager
Check Content Available", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "description": "Whether to eager check whether the HTTP
requests has content if the content-length header is 0 or not present. This can
be turned on in case HTTP clients do not send s [...]
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/dataformats/fhirJson.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/dataformats/fhirJson.json
index 58ed1a10596..41a535b5636 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/dataformats/fhirJson.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/dataformats/fhirJson.json
@@ -18,16 +18,17 @@
"properties": {
"fhirVersion": { "kind": "attribute", "displayName": "Fhir Version",
"required": false, "type": "enum", "javaType": "java.lang.String", "enum": [
"DSTU2", "DSTU2_HL7ORG", "DSTU2_1", "DSTU3", "R4", "R5" ], "deprecated": false,
"autowired": false, "secret": false, "defaultValue": "R4", "description": "The
version of FHIR to use. Possible values are:
DSTU2,DSTU2_HL7ORG,DSTU2_1,DSTU3,R4,R5" },
"prettyPrint": { "kind": "attribute", "displayName": "Pretty Print",
"required": false, "type": "boolean", "javaType": "java.lang.Boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
false, "description": "Sets the pretty print flag, meaning that the parser will
encode resources with human-readable spacing and newlines between elements
instead of condensing output as much as possible." },
+ "preferTypes": { "kind": "attribute", "displayName": "Prefer Types",
"label": "advanced", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"description": "If set (FQN class names), when parsing resources the parser
will try to use the given types when possible, in the order that they are
provided (from highest to lowest priority). For example, if a custom type which
declares to implement the Patient resourc [...]
"serverBaseUrl": { "kind": "attribute", "displayName": "Server Base Url",
"label": "advanced", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"description": "Sets the server's base URL used by this parser. If a value is
set, resource references will be turned into relative references if they are
provided as absolute URLs but have a base matching the given base." },
"omitResourceId": { "kind": "attribute", "displayName": "Omit Resource
Id", "label": "advanced", "required": false, "type": "boolean", "javaType":
"java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "description": "If set to true (default is false) the ID
of any resources being encoded will not be included in the output. Note that
this does not apply to contained resources, only to root resources. In other
words, if this is set to tru [...]
"encodeElementsAppliesToChildResourcesOnly": { "kind": "attribute",
"displayName": "Encode Elements Applies To Child Resources Only", "label":
"advanced", "required": false, "type": "boolean", "javaType":
"java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "description": "If set to true (default is false), the
values supplied to setEncodeElements(Set) will not be applied to the root
resource (typically a Bundle), but will be applied t [...]
- "encodeElements": { "kind": "attribute", "displayName": "Encode Elements",
"label": "advanced", "required": false, "type": "object", "javaType":
"java.util.Set<java.lang.String>", "deprecated": false, "autowired": false,
"secret": false, "description": "If provided, specifies the elements which
should be encoded, to the exclusion of all others. Valid values for this field
would include: Patient - Encode patient and all its children Patient.name -
Encode only the patient's name Patien [...]
- "dontEncodeElements": { "kind": "attribute", "displayName": "Dont Encode
Elements", "label": "advanced", "required": false, "type": "object",
"javaType": "java.util.Set<java.lang.String>", "deprecated": false,
"autowired": false, "secret": false, "description": "If provided, specifies the
elements which should NOT be encoded. Valid values for this field would
include: Patient - Don't encode patient and all its children Patient.name -
Don't encode the patient's name Patient.name.famil [...]
+ "encodeElements": { "kind": "attribute", "displayName": "Encode Elements",
"label": "advanced", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"description": "If provided, specifies the elements which should be encoded, to
the exclusion of all others. Multiple elements can be separated by comma when
using String parameter. Valid values for this field would include: Patient -
Encode patient and all its chi [...]
+ "dontEncodeElements": { "kind": "attribute", "displayName": "Dont Encode
Elements", "label": "advanced", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "If provided, specifies the elements which
should NOT be encoded. Multiple elements can be separated by comma when using
String parameter. Valid values for this field would include: Patient - Don't
encode patient and all its children Patient [...]
"stripVersionsFromReferences": { "kind": "attribute", "displayName":
"Strip Versions From References", "label": "advanced", "required": false,
"type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": false, "description": "If
set to true (which is the default), resource references containing a version
will have the version removed when the resource is encoded. This is generally
good behaviour because in most situati [...]
"overrideResourceIdWithBundleEntryFullUrl": { "kind": "attribute",
"displayName": "Override Resource Id With Bundle Entry Full Url", "label":
"advanced", "required": false, "type": "boolean", "javaType":
"java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "description": "If set to true (which is the default),
the Bundle.entry.fullUrl will override the Bundle.entry.resource's resource id
if the fullUrl is defined. This behavior happens [...]
"summaryMode": { "kind": "attribute", "displayName": "Summary Mode",
"label": "advanced", "required": false, "type": "boolean", "javaType":
"java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "description": "If set to true (default is false) only
elements marked by the FHIR specification as being summary elements will be
included." },
"suppressNarratives": { "kind": "attribute", "displayName": "Suppress
Narratives", "label": "advanced", "required": false, "type": "boolean",
"javaType": "java.lang.Boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "description": "If set to true (default
is false), narratives will not be included in the encoded values." },
- "dontStripVersionsFromReferencesAtPaths": { "kind": "attribute",
"displayName": "Dont Strip Versions From References At Paths", "label":
"advanced", "required": false, "type": "array", "javaType":
"java.util.List<java.lang.String>", "deprecated": false, "autowired": false,
"secret": false, "description": "If supplied value(s), any resource references
at the specified paths will have their resource versions encoded instead of
being automatically stripped during the encoding process. T [...]
+ "dontStripVersionsFromReferencesAtPaths": { "kind": "attribute",
"displayName": "Dont Strip Versions From References At Paths", "label":
"advanced", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"description": "If supplied value(s), any resource references at the specified
paths will have their resource versions encoded instead of being automatically
stripped during the encoding process. This setting has [...]
"contentTypeHeader": { "kind": "attribute", "displayName": "Content Type
Header", "required": false, "type": "boolean", "javaType": "java.lang.Boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": true,
"description": "Whether the data format should set the Content-Type header with
the type from the data format. For example application\/xml for data formats
marshalling to XML, or application\/json for data formats marshalling to JSON"
},
"id": { "kind": "attribute", "displayName": "Id", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "description": "The id of this node" }
}
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/dataformats/fhirXml.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/dataformats/fhirXml.json
index e7f5b0ed1d9..68899531217 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/dataformats/fhirXml.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/dataformats/fhirXml.json
@@ -18,16 +18,17 @@
"properties": {
"fhirVersion": { "kind": "attribute", "displayName": "Fhir Version",
"required": false, "type": "enum", "javaType": "java.lang.String", "enum": [
"DSTU2", "DSTU2_HL7ORG", "DSTU2_1", "DSTU3", "R4", "R5" ], "deprecated": false,
"autowired": false, "secret": false, "defaultValue": "R4", "description": "The
version of FHIR to use. Possible values are:
DSTU2,DSTU2_HL7ORG,DSTU2_1,DSTU3,R4,R5" },
"prettyPrint": { "kind": "attribute", "displayName": "Pretty Print",
"required": false, "type": "boolean", "javaType": "java.lang.Boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
false, "description": "Sets the pretty print flag, meaning that the parser will
encode resources with human-readable spacing and newlines between elements
instead of condensing output as much as possible." },
+ "preferTypes": { "kind": "attribute", "displayName": "Prefer Types",
"label": "advanced", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"description": "If set (FQN class names), when parsing resources the parser
will try to use the given types when possible, in the order that they are
provided (from highest to lowest priority). For example, if a custom type which
declares to implement the Patient resourc [...]
"serverBaseUrl": { "kind": "attribute", "displayName": "Server Base Url",
"label": "advanced", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"description": "Sets the server's base URL used by this parser. If a value is
set, resource references will be turned into relative references if they are
provided as absolute URLs but have a base matching the given base." },
"omitResourceId": { "kind": "attribute", "displayName": "Omit Resource
Id", "label": "advanced", "required": false, "type": "boolean", "javaType":
"java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "description": "If set to true (default is false) the ID
of any resources being encoded will not be included in the output. Note that
this does not apply to contained resources, only to root resources. In other
words, if this is set to tru [...]
"encodeElementsAppliesToChildResourcesOnly": { "kind": "attribute",
"displayName": "Encode Elements Applies To Child Resources Only", "label":
"advanced", "required": false, "type": "boolean", "javaType":
"java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "description": "If set to true (default is false), the
values supplied to setEncodeElements(Set) will not be applied to the root
resource (typically a Bundle), but will be applied t [...]
- "encodeElements": { "kind": "attribute", "displayName": "Encode Elements",
"label": "advanced", "required": false, "type": "object", "javaType":
"java.util.Set<java.lang.String>", "deprecated": false, "autowired": false,
"secret": false, "description": "If provided, specifies the elements which
should be encoded, to the exclusion of all others. Valid values for this field
would include: Patient - Encode patient and all its children Patient.name -
Encode only the patient's name Patien [...]
- "dontEncodeElements": { "kind": "attribute", "displayName": "Dont Encode
Elements", "label": "advanced", "required": false, "type": "object",
"javaType": "java.util.Set<java.lang.String>", "deprecated": false,
"autowired": false, "secret": false, "description": "If provided, specifies the
elements which should NOT be encoded. Valid values for this field would
include: Patient - Don't encode patient and all its children Patient.name -
Don't encode the patient's name Patient.name.famil [...]
+ "encodeElements": { "kind": "attribute", "displayName": "Encode Elements",
"label": "advanced", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"description": "If provided, specifies the elements which should be encoded, to
the exclusion of all others. Multiple elements can be separated by comma when
using String parameter. Valid values for this field would include: Patient -
Encode patient and all its chi [...]
+ "dontEncodeElements": { "kind": "attribute", "displayName": "Dont Encode
Elements", "label": "advanced", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "If provided, specifies the elements which
should NOT be encoded. Multiple elements can be separated by comma when using
String parameter. Valid values for this field would include: Patient - Don't
encode patient and all its children Patient [...]
"stripVersionsFromReferences": { "kind": "attribute", "displayName":
"Strip Versions From References", "label": "advanced", "required": false,
"type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": false, "description": "If
set to true (which is the default), resource references containing a version
will have the version removed when the resource is encoded. This is generally
good behaviour because in most situati [...]
"overrideResourceIdWithBundleEntryFullUrl": { "kind": "attribute",
"displayName": "Override Resource Id With Bundle Entry Full Url", "label":
"advanced", "required": false, "type": "boolean", "javaType":
"java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "description": "If set to true (which is the default),
the Bundle.entry.fullUrl will override the Bundle.entry.resource's resource id
if the fullUrl is defined. This behavior happens [...]
"summaryMode": { "kind": "attribute", "displayName": "Summary Mode",
"label": "advanced", "required": false, "type": "boolean", "javaType":
"java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "description": "If set to true (default is false) only
elements marked by the FHIR specification as being summary elements will be
included." },
"suppressNarratives": { "kind": "attribute", "displayName": "Suppress
Narratives", "label": "advanced", "required": false, "type": "boolean",
"javaType": "java.lang.Boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "description": "If set to true (default
is false), narratives will not be included in the encoded values." },
- "dontStripVersionsFromReferencesAtPaths": { "kind": "attribute",
"displayName": "Dont Strip Versions From References At Paths", "label":
"advanced", "required": false, "type": "array", "javaType":
"java.util.List<java.lang.String>", "deprecated": false, "autowired": false,
"secret": false, "description": "If supplied value(s), any resource references
at the specified paths will have their resource versions encoded instead of
being automatically stripped during the encoding process. T [...]
+ "dontStripVersionsFromReferencesAtPaths": { "kind": "attribute",
"displayName": "Dont Strip Versions From References At Paths", "label":
"advanced", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"description": "If supplied value(s), any resource references at the specified
paths will have their resource versions encoded instead of being automatically
stripped during the encoding process. This setting has [...]
"contentTypeHeader": { "kind": "attribute", "displayName": "Content Type
Header", "required": false, "type": "boolean", "javaType": "java.lang.Boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": true,
"description": "Whether the data format should set the Content-Type header with
the type from the data format. For example application\/xml for data formats
marshalling to XML, or application\/json for data formats marshalling to JSON"
},
"id": { "kind": "attribute", "displayName": "Id", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "description": "The id of this node" }
}
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/dataformats/jsonApi.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/dataformats/jsonApi.json
index eb7e2281987..8837c3a0a0a 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/dataformats/jsonApi.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/dataformats/jsonApi.json
@@ -16,8 +16,8 @@
"modelJavaType": "org.apache.camel.model.dataformat.JsonApiDataFormat"
},
"properties": {
- "dataFormatTypes": { "kind": "attribute", "displayName": "Data Format
Types", "required": false, "type": "string", "javaType":
"java.lang.Class<java.lang.Object>[]", "deprecated": false, "autowired": false,
"secret": false, "description": "The classes to take into account for the
marshalling" },
- "mainFormatType": { "kind": "attribute", "displayName": "Main Format
Type", "required": false, "type": "string", "javaType":
"java.lang.Class<java.lang.Object>", "deprecated": false, "autowired": false,
"secret": false, "description": "The classes to take into account while
unmarshalling" },
+ "dataFormatTypes": { "kind": "attribute", "displayName": "Data Format
Types", "required": false, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "autowired": false, "secret": false, "description": "The
classes to take into account for the marshalling. Multiple classes can be
separated by comma." },
+ "mainFormatType": { "kind": "attribute", "displayName": "Main Format
Type", "required": false, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "autowired": false, "secret": false, "description": "The
class to take into account while unmarshalling." },
"id": { "kind": "attribute", "displayName": "Id", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "description": "The id of this node" }
}
}
diff --git a/components-starter/camel-fhir-starter/src/main/docs/fhir.json
b/components-starter/camel-fhir-starter/src/main/docs/fhir.json
index fb48feab7bd..4f6741e1704 100644
--- a/components-starter/camel-fhir-starter/src/main/docs/fhir.json
+++ b/components-starter/camel-fhir-starter/src/main/docs/fhir.json
@@ -234,14 +234,14 @@
},
{
"name": "camel.dataformat.fhir-json.dont-encode-elements",
- "type": "java.util.Set<java.lang.String>",
- "description": "If provided, specifies the elements which should NOT be
encoded. Valid values for this field would include: Patient - Don't encode
patient and all its children Patient.name - Don't encode the patient's name
Patient.name.family - Don't encode the patient's family name .text - Don't
encode the text element on any resource (only the very first position may
contain a wildcard) DSTU2 note: Note that values including meta, such as
Patient.meta will work for DSTU2 parsers, [...]
+ "type": "java.lang.String",
+ "description": "If provided, specifies the elements which should NOT be
encoded. Multiple elements can be separated by comma when using String
parameter. Valid values for this field would include: Patient - Don't encode
patient and all its children Patient.name - Don't encode the patient's name
Patient.name.family - Don't encode the patient's family name .text - Don't
encode the text element on any resource (only the very first position may
contain a wildcard) DSTU2 note: Note that [...]
"sourceType":
"org.apache.camel.component.fhir.springboot.FhirJsonDataFormatConfiguration"
},
{
"name":
"camel.dataformat.fhir-json.dont-strip-versions-from-references-at-paths",
- "type": "java.util.List<java.lang.String>",
- "description": "If supplied value(s), any resource references at the
specified paths will have their resource versions encoded instead of being
automatically stripped during the encoding process. This setting has no effect
on the parsing process. This method provides a finer-grained level of control
than setStripVersionsFromReferences(String) and any paths specified by this
method will be encoded even if setStripVersionsFromReferences(String) has been
set to true (which is the default)",
+ "type": "java.lang.String",
+ "description": "If supplied value(s), any resource references at the
specified paths will have their resource versions encoded instead of being
automatically stripped during the encoding process. This setting has no effect
on the parsing process. Multiple elements can be separated by comma when using
String parameter. This method provides a finer-grained level of control than
setStripVersionsFromReferences(String) and any paths specified by this method
will be encoded even if setSt [...]
"sourceType":
"org.apache.camel.component.fhir.springboot.FhirJsonDataFormatConfiguration"
},
{
@@ -252,8 +252,8 @@
},
{
"name": "camel.dataformat.fhir-json.encode-elements",
- "type": "java.util.Set<java.lang.String>",
- "description": "If provided, specifies the elements which should be
encoded, to the exclusion of all others. Valid values for this field would
include: Patient - Encode patient and all its children Patient.name - Encode
only the patient's name Patient.name.family - Encode only the patient's family
name .text - Encode the text element on any resource (only the very first
position may contain a wildcard) .(mandatory) - This is a special case which
causes any mandatory fields (min 0) [...]
+ "type": "java.lang.String",
+ "description": "If provided, specifies the elements which should be
encoded, to the exclusion of all others. Multiple elements can be separated by
comma when using String parameter. Valid values for this field would include:
Patient - Encode patient and all its children Patient.name - Encode only the
patient's name Patient.name.family - Encode only the patient's family name
.text - Encode the text element on any resource (only the very first position
may contain a wildcard) .(manda [...]
"sourceType":
"org.apache.camel.component.fhir.springboot.FhirJsonDataFormatConfiguration"
},
{
@@ -284,6 +284,12 @@
"sourceType":
"org.apache.camel.component.fhir.springboot.FhirJsonDataFormatConfiguration",
"defaultValue": false
},
+ {
+ "name": "camel.dataformat.fhir-json.prefer-types",
+ "type": "java.lang.String",
+ "description": "If set (FQN class names), when parsing resources the
parser will try to use the given types when possible, in the order that they
are provided (from highest to lowest priority). For example, if a custom type
which declares to implement the Patient resource is passed in here, and the
parser is parsing a Bundle containing a Patient resource, the parser will use
the given custom type. Multiple class names can be separated by comma.",
+ "sourceType":
"org.apache.camel.component.fhir.springboot.FhirJsonDataFormatConfiguration"
+ },
{
"name": "camel.dataformat.fhir-json.pretty-print",
"type": "java.lang.Boolean",
@@ -332,14 +338,14 @@
},
{
"name": "camel.dataformat.fhir-xml.dont-encode-elements",
- "type": "java.util.Set<java.lang.String>",
- "description": "If provided, specifies the elements which should NOT be
encoded. Valid values for this field would include: Patient - Don't encode
patient and all its children Patient.name - Don't encode the patient's name
Patient.name.family - Don't encode the patient's family name .text - Don't
encode the text element on any resource (only the very first position may
contain a wildcard) DSTU2 note: Note that values including meta, such as
Patient.meta will work for DSTU2 parsers, [...]
+ "type": "java.lang.String",
+ "description": "If provided, specifies the elements which should NOT be
encoded. Multiple elements can be separated by comma when using String
parameter. Valid values for this field would include: Patient - Don't encode
patient and all its children Patient.name - Don't encode the patient's name
Patient.name.family - Don't encode the patient's family name .text - Don't
encode the text element on any resource (only the very first position may
contain a wildcard) DSTU2 note: Note that [...]
"sourceType":
"org.apache.camel.component.fhir.springboot.FhirXmlDataFormatConfiguration"
},
{
"name":
"camel.dataformat.fhir-xml.dont-strip-versions-from-references-at-paths",
- "type": "java.util.List<java.lang.String>",
- "description": "If supplied value(s), any resource references at the
specified paths will have their resource versions encoded instead of being
automatically stripped during the encoding process. This setting has no effect
on the parsing process. This method provides a finer-grained level of control
than setStripVersionsFromReferences(String) and any paths specified by this
method will be encoded even if setStripVersionsFromReferences(String) has been
set to true (which is the default)",
+ "type": "java.lang.String",
+ "description": "If supplied value(s), any resource references at the
specified paths will have their resource versions encoded instead of being
automatically stripped during the encoding process. This setting has no effect
on the parsing process. Multiple elements can be separated by comma when using
String parameter. This method provides a finer-grained level of control than
setStripVersionsFromReferences(String) and any paths specified by this method
will be encoded even if setSt [...]
"sourceType":
"org.apache.camel.component.fhir.springboot.FhirXmlDataFormatConfiguration"
},
{
@@ -350,8 +356,8 @@
},
{
"name": "camel.dataformat.fhir-xml.encode-elements",
- "type": "java.util.Set<java.lang.String>",
- "description": "If provided, specifies the elements which should be
encoded, to the exclusion of all others. Valid values for this field would
include: Patient - Encode patient and all its children Patient.name - Encode
only the patient's name Patient.name.family - Encode only the patient's family
name .text - Encode the text element on any resource (only the very first
position may contain a wildcard) .(mandatory) - This is a special case which
causes any mandatory fields (min 0) [...]
+ "type": "java.lang.String",
+ "description": "If provided, specifies the elements which should be
encoded, to the exclusion of all others. Multiple elements can be separated by
comma when using String parameter. Valid values for this field would include:
Patient - Encode patient and all its children Patient.name - Encode only the
patient's name Patient.name.family - Encode only the patient's family name
.text - Encode the text element on any resource (only the very first position
may contain a wildcard) .(manda [...]
"sourceType":
"org.apache.camel.component.fhir.springboot.FhirXmlDataFormatConfiguration"
},
{
@@ -382,6 +388,12 @@
"sourceType":
"org.apache.camel.component.fhir.springboot.FhirXmlDataFormatConfiguration",
"defaultValue": false
},
+ {
+ "name": "camel.dataformat.fhir-xml.prefer-types",
+ "type": "java.lang.String",
+ "description": "If set (FQN class names), when parsing resources the
parser will try to use the given types when possible, in the order that they
are provided (from highest to lowest priority). For example, if a custom type
which declares to implement the Patient resource is passed in here, and the
parser is parsing a Bundle containing a Patient resource, the parser will use
the given custom type. Multiple class names can be separated by comma.",
+ "sourceType":
"org.apache.camel.component.fhir.springboot.FhirXmlDataFormatConfiguration"
+ },
{
"name": "camel.dataformat.fhir-xml.pretty-print",
"type": "java.lang.Boolean",
diff --git
a/components-starter/camel-fhir-starter/src/main/java/org/apache/camel/component/fhir/springboot/FhirJsonDataFormatConfiguration.java
b/components-starter/camel-fhir-starter/src/main/java/org/apache/camel/component/fhir/springboot/FhirJsonDataFormatConfiguration.java
index 0856cd25973..e42d38d7418 100644
---
a/components-starter/camel-fhir-starter/src/main/java/org/apache/camel/component/fhir/springboot/FhirJsonDataFormatConfiguration.java
+++
b/components-starter/camel-fhir-starter/src/main/java/org/apache/camel/component/fhir/springboot/FhirJsonDataFormatConfiguration.java
@@ -16,8 +16,6 @@
*/
package org.apache.camel.component.fhir.springboot;
-import java.util.List;
-import java.util.Set;
import javax.annotation.Generated;
import org.apache.camel.spring.boot.DataFormatConfigurationPropertiesCommon;
import org.springframework.boot.context.properties.ConfigurationProperties;
@@ -49,6 +47,16 @@ public class FhirJsonDataFormatConfiguration
* condensing output as much as possible.
*/
private Boolean prettyPrint = false;
+ /**
+ * If set (FQN class names), when parsing resources the parser will try to
+ * use the given types when possible, in the order that they are provided
+ * (from highest to lowest priority). For example, if a custom type which
+ * declares to implement the Patient resource is passed in here, and the
+ * parser is parsing a Bundle containing a Patient resource, the parser
will
+ * use the given custom type. Multiple class names can be separated by
+ * comma.
+ */
+ private String preferTypes;
/**
* Sets the server's base URL used by this parser. If a value is set,
* resource references will be turned into relative references if they are
@@ -72,16 +80,18 @@ public class FhirJsonDataFormatConfiguration
private Boolean encodeElementsAppliesToChildResourcesOnly = false;
/**
* If provided, specifies the elements which should be encoded, to the
- * exclusion of all others. Valid values for this field would include:
+ * exclusion of all others. Multiple elements can be separated by comma
when
+ * using String parameter. Valid values for this field would include:
* Patient - Encode patient and all its children Patient.name - Encode only
* the patient's name Patient.name.family - Encode only the patient's
family
* name .text - Encode the text element on any resource (only the very
first
* position may contain a wildcard) .(mandatory) - This is a special case
* which causes any mandatory fields (min 0) to be encoded
*/
- private Set<String> encodeElements;
+ private String encodeElements;
/**
- * If provided, specifies the elements which should NOT be encoded. Valid
+ * If provided, specifies the elements which should NOT be encoded.
Multiple
+ * elements can be separated by comma when using String parameter. Valid
* values for this field would include: Patient - Don't encode patient and
* all its children Patient.name - Don't encode the patient's name
* Patient.name.family - Don't encode the patient's family name .text -
@@ -91,7 +101,7 @@ public class FhirJsonDataFormatConfiguration
* subelements on meta such as Patient.meta.lastUpdated will only work in
* DSTU3 mode.
*/
- private Set<String> dontEncodeElements;
+ private String dontEncodeElements;
/**
* If set to true (which is the default), resource references containing a
* version will have the version removed when the resource is encoded. This
@@ -127,13 +137,14 @@ public class FhirJsonDataFormatConfiguration
* If supplied value(s), any resource references at the specified paths
will
* have their resource versions encoded instead of being automatically
* stripped during the encoding process. This setting has no effect on the
- * parsing process. This method provides a finer-grained level of control
+ * parsing process. Multiple elements can be separated by comma when using
+ * String parameter. This method provides a finer-grained level of control
* than setStripVersionsFromReferences(String) and any paths specified by
* this method will be encoded even if
* setStripVersionsFromReferences(String) has been set to true (which is
the
* default)
*/
- private List<String> dontStripVersionsFromReferencesAtPaths;
+ private String dontStripVersionsFromReferencesAtPaths;
/**
* Whether the data format should set the Content-Type header with the type
* from the data format. For example application/xml for data formats
@@ -158,6 +169,14 @@ public class FhirJsonDataFormatConfiguration
this.prettyPrint = prettyPrint;
}
+ public String getPreferTypes() {
+ return preferTypes;
+ }
+
+ public void setPreferTypes(String preferTypes) {
+ this.preferTypes = preferTypes;
+ }
+
public String getServerBaseUrl() {
return serverBaseUrl;
}
@@ -183,19 +202,19 @@ public class FhirJsonDataFormatConfiguration
this.encodeElementsAppliesToChildResourcesOnly =
encodeElementsAppliesToChildResourcesOnly;
}
- public Set<String> getEncodeElements() {
+ public String getEncodeElements() {
return encodeElements;
}
- public void setEncodeElements(Set<String> encodeElements) {
+ public void setEncodeElements(String encodeElements) {
this.encodeElements = encodeElements;
}
- public Set<String> getDontEncodeElements() {
+ public String getDontEncodeElements() {
return dontEncodeElements;
}
- public void setDontEncodeElements(Set<String> dontEncodeElements) {
+ public void setDontEncodeElements(String dontEncodeElements) {
this.dontEncodeElements = dontEncodeElements;
}
@@ -233,12 +252,12 @@ public class FhirJsonDataFormatConfiguration
this.suppressNarratives = suppressNarratives;
}
- public List<String> getDontStripVersionsFromReferencesAtPaths() {
+ public String getDontStripVersionsFromReferencesAtPaths() {
return dontStripVersionsFromReferencesAtPaths;
}
public void setDontStripVersionsFromReferencesAtPaths(
- List<String> dontStripVersionsFromReferencesAtPaths) {
+ String dontStripVersionsFromReferencesAtPaths) {
this.dontStripVersionsFromReferencesAtPaths =
dontStripVersionsFromReferencesAtPaths;
}
diff --git
a/components-starter/camel-fhir-starter/src/main/java/org/apache/camel/component/fhir/springboot/FhirXmlDataFormatConfiguration.java
b/components-starter/camel-fhir-starter/src/main/java/org/apache/camel/component/fhir/springboot/FhirXmlDataFormatConfiguration.java
index 1cbbfe40a3b..b2c01baba65 100644
---
a/components-starter/camel-fhir-starter/src/main/java/org/apache/camel/component/fhir/springboot/FhirXmlDataFormatConfiguration.java
+++
b/components-starter/camel-fhir-starter/src/main/java/org/apache/camel/component/fhir/springboot/FhirXmlDataFormatConfiguration.java
@@ -16,8 +16,6 @@
*/
package org.apache.camel.component.fhir.springboot;
-import java.util.List;
-import java.util.Set;
import javax.annotation.Generated;
import org.apache.camel.spring.boot.DataFormatConfigurationPropertiesCommon;
import org.springframework.boot.context.properties.ConfigurationProperties;
@@ -49,6 +47,16 @@ public class FhirXmlDataFormatConfiguration
* condensing output as much as possible.
*/
private Boolean prettyPrint = false;
+ /**
+ * If set (FQN class names), when parsing resources the parser will try to
+ * use the given types when possible, in the order that they are provided
+ * (from highest to lowest priority). For example, if a custom type which
+ * declares to implement the Patient resource is passed in here, and the
+ * parser is parsing a Bundle containing a Patient resource, the parser
will
+ * use the given custom type. Multiple class names can be separated by
+ * comma.
+ */
+ private String preferTypes;
/**
* Sets the server's base URL used by this parser. If a value is set,
* resource references will be turned into relative references if they are
@@ -72,16 +80,18 @@ public class FhirXmlDataFormatConfiguration
private Boolean encodeElementsAppliesToChildResourcesOnly = false;
/**
* If provided, specifies the elements which should be encoded, to the
- * exclusion of all others. Valid values for this field would include:
+ * exclusion of all others. Multiple elements can be separated by comma
when
+ * using String parameter. Valid values for this field would include:
* Patient - Encode patient and all its children Patient.name - Encode only
* the patient's name Patient.name.family - Encode only the patient's
family
* name .text - Encode the text element on any resource (only the very
first
* position may contain a wildcard) .(mandatory) - This is a special case
* which causes any mandatory fields (min 0) to be encoded
*/
- private Set<String> encodeElements;
+ private String encodeElements;
/**
- * If provided, specifies the elements which should NOT be encoded. Valid
+ * If provided, specifies the elements which should NOT be encoded.
Multiple
+ * elements can be separated by comma when using String parameter. Valid
* values for this field would include: Patient - Don't encode patient and
* all its children Patient.name - Don't encode the patient's name
* Patient.name.family - Don't encode the patient's family name .text -
@@ -91,7 +101,7 @@ public class FhirXmlDataFormatConfiguration
* subelements on meta such as Patient.meta.lastUpdated will only work in
* DSTU3 mode.
*/
- private Set<String> dontEncodeElements;
+ private String dontEncodeElements;
/**
* If set to true (which is the default), resource references containing a
* version will have the version removed when the resource is encoded. This
@@ -127,13 +137,14 @@ public class FhirXmlDataFormatConfiguration
* If supplied value(s), any resource references at the specified paths
will
* have their resource versions encoded instead of being automatically
* stripped during the encoding process. This setting has no effect on the
- * parsing process. This method provides a finer-grained level of control
+ * parsing process. Multiple elements can be separated by comma when using
+ * String parameter. This method provides a finer-grained level of control
* than setStripVersionsFromReferences(String) and any paths specified by
* this method will be encoded even if
* setStripVersionsFromReferences(String) has been set to true (which is
the
* default)
*/
- private List<String> dontStripVersionsFromReferencesAtPaths;
+ private String dontStripVersionsFromReferencesAtPaths;
/**
* Whether the data format should set the Content-Type header with the type
* from the data format. For example application/xml for data formats
@@ -158,6 +169,14 @@ public class FhirXmlDataFormatConfiguration
this.prettyPrint = prettyPrint;
}
+ public String getPreferTypes() {
+ return preferTypes;
+ }
+
+ public void setPreferTypes(String preferTypes) {
+ this.preferTypes = preferTypes;
+ }
+
public String getServerBaseUrl() {
return serverBaseUrl;
}
@@ -183,19 +202,19 @@ public class FhirXmlDataFormatConfiguration
this.encodeElementsAppliesToChildResourcesOnly =
encodeElementsAppliesToChildResourcesOnly;
}
- public Set<String> getEncodeElements() {
+ public String getEncodeElements() {
return encodeElements;
}
- public void setEncodeElements(Set<String> encodeElements) {
+ public void setEncodeElements(String encodeElements) {
this.encodeElements = encodeElements;
}
- public Set<String> getDontEncodeElements() {
+ public String getDontEncodeElements() {
return dontEncodeElements;
}
- public void setDontEncodeElements(Set<String> dontEncodeElements) {
+ public void setDontEncodeElements(String dontEncodeElements) {
this.dontEncodeElements = dontEncodeElements;
}
@@ -233,12 +252,12 @@ public class FhirXmlDataFormatConfiguration
this.suppressNarratives = suppressNarratives;
}
- public List<String> getDontStripVersionsFromReferencesAtPaths() {
+ public String getDontStripVersionsFromReferencesAtPaths() {
return dontStripVersionsFromReferencesAtPaths;
}
public void setDontStripVersionsFromReferencesAtPaths(
- List<String> dontStripVersionsFromReferencesAtPaths) {
+ String dontStripVersionsFromReferencesAtPaths) {
this.dontStripVersionsFromReferencesAtPaths =
dontStripVersionsFromReferencesAtPaths;
}
diff --git
a/components-starter/camel-http-starter/src/main/java/org/apache/camel/component/http/springboot/HttpComponentConfiguration.java
b/components-starter/camel-http-starter/src/main/java/org/apache/camel/component/http/springboot/HttpComponentConfiguration.java
index 728cd3209fc..f2a3253d057 100644
---
a/components-starter/camel-http-starter/src/main/java/org/apache/camel/component/http/springboot/HttpComponentConfiguration.java
+++
b/components-starter/camel-http-starter/src/main/java/org/apache/camel/component/http/springboot/HttpComponentConfiguration.java
@@ -45,6 +45,22 @@ public class HttpComponentConfiguration
* enabled by default.
*/
private Boolean enabled;
+ /**
+ * Whether to the HTTP request should follow redirects. By default the HTTP
+ * request does not follow redirects
+ */
+ private Boolean followRedirects = false;
+ /**
+ * 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
starting
+ * and cause the route to fail being started. By deferring this startup to
+ * be lazy then the startup failure can be handled during routing messages
+ * via Camel's routing error handlers. Beware that when the first message
is
+ * processed then creating and starting the producer may take a little time
+ * and prolong the total processing time of the processing.
+ */
+ private Boolean lazyStartProducer = false;
/**
* To use a custom org.apache.http.client.CookieStore. By default the
* org.apache.http.impl.client.BasicCookieStore is used which is an
@@ -61,28 +77,12 @@ public class HttpComponentConfiguration
* propagating IN headers).
*/
private Boolean copyHeaders = true;
- /**
- * 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
starting
- * and cause the route to fail being started. By deferring this startup to
- * be lazy then the startup failure can be handled during routing messages
- * via Camel's routing error handlers. Beware that when the first message
is
- * processed then creating and starting the producer may take a little time
- * and prolong the total processing time of the processing.
- */
- private Boolean lazyStartProducer = false;
/**
* This threshold in bytes controls whether the response payload should be
* stored in memory as a byte array or be streaming based. Set this to -1
to
* always use streaming mode.
*/
private Integer responsePayloadStreamingThreshold = 8192;
- /**
- * Whether to the HTTP request should follow redirects. By default the HTTP
- * request does not follow redirects
- */
- private Boolean followRedirects = false;
/**
* Whether to skip mapping all the Camel headers as HTTP request headers.
If
* there are no data from Camel headers needed to be included in the HTTP
@@ -263,6 +263,22 @@ public class HttpComponentConfiguration
*/
private Integer socketTimeout = -1;
+ public Boolean getFollowRedirects() {
+ return followRedirects;
+ }
+
+ public void setFollowRedirects(Boolean followRedirects) {
+ this.followRedirects = followRedirects;
+ }
+
+ public Boolean getLazyStartProducer() {
+ return lazyStartProducer;
+ }
+
+ public void setLazyStartProducer(Boolean lazyStartProducer) {
+ this.lazyStartProducer = lazyStartProducer;
+ }
+
public CookieStore getCookieStore() {
return cookieStore;
}
@@ -279,14 +295,6 @@ public class HttpComponentConfiguration
this.copyHeaders = copyHeaders;
}
- public Boolean getLazyStartProducer() {
- return lazyStartProducer;
- }
-
- public void setLazyStartProducer(Boolean lazyStartProducer) {
- this.lazyStartProducer = lazyStartProducer;
- }
-
public Integer getResponsePayloadStreamingThreshold() {
return responsePayloadStreamingThreshold;
}
@@ -296,14 +304,6 @@ public class HttpComponentConfiguration
this.responsePayloadStreamingThreshold =
responsePayloadStreamingThreshold;
}
- public Boolean getFollowRedirects() {
- return followRedirects;
- }
-
- public void setFollowRedirects(Boolean followRedirects) {
- this.followRedirects = followRedirects;
- }
-
public Boolean getSkipRequestHeaders() {
return skipRequestHeaders;
}
diff --git
a/components-starter/camel-jsonapi-starter/src/main/docs/jsonapi.json
b/components-starter/camel-jsonapi-starter/src/main/docs/jsonapi.json
index e0f4b14b022..622096f71a5 100644
--- a/components-starter/camel-jsonapi-starter/src/main/docs/jsonapi.json
+++ b/components-starter/camel-jsonapi-starter/src/main/docs/jsonapi.json
@@ -20,8 +20,8 @@
},
{
"name": "camel.dataformat.json-api.data-format-types",
- "type": "java.lang.Class<java.lang.Object>[]",
- "description": "The classes to take into account for the marshalling",
+ "type": "java.lang.String",
+ "description": "The classes to take into account for the marshalling.
Multiple classes can be separated by comma.",
"sourceType":
"org.apache.camel.component.jsonapi.springboot.JsonApiDataFormatConfiguration"
},
{
@@ -32,8 +32,8 @@
},
{
"name": "camel.dataformat.json-api.main-format-type",
- "type": "java.lang.Class<java.lang.Object>",
- "description": "The classes to take into account while unmarshalling",
+ "type": "java.lang.String",
+ "description": "The class to take into account while unmarshalling.",
"sourceType":
"org.apache.camel.component.jsonapi.springboot.JsonApiDataFormatConfiguration"
}
],
diff --git
a/components-starter/camel-jsonapi-starter/src/main/java/org/apache/camel/component/jsonapi/springboot/JsonApiDataFormatConfiguration.java
b/components-starter/camel-jsonapi-starter/src/main/java/org/apache/camel/component/jsonapi/springboot/JsonApiDataFormatConfiguration.java
index 00472b144c1..c36f688320c 100644
---
a/components-starter/camel-jsonapi-starter/src/main/java/org/apache/camel/component/jsonapi/springboot/JsonApiDataFormatConfiguration.java
+++
b/components-starter/camel-jsonapi-starter/src/main/java/org/apache/camel/component/jsonapi/springboot/JsonApiDataFormatConfiguration.java
@@ -37,27 +37,28 @@ public class JsonApiDataFormatConfiguration
*/
private Boolean enabled;
/**
- * The classes to take into account for the marshalling
+ * The classes to take into account for the marshalling. Multiple classes
+ * can be separated by comma.
*/
- private Class<Object>[] dataFormatTypes;
+ private String dataFormatTypes;
/**
- * The classes to take into account while unmarshalling
+ * The class to take into account while unmarshalling.
*/
- private Class<Object> mainFormatType;
+ private String mainFormatType;
- public Class<Object>[] getDataFormatTypes() {
+ public String getDataFormatTypes() {
return dataFormatTypes;
}
- public void setDataFormatTypes(Class<Object>[] dataFormatTypes) {
+ public void setDataFormatTypes(String dataFormatTypes) {
this.dataFormatTypes = dataFormatTypes;
}
- public Class<Object> getMainFormatType() {
+ public String getMainFormatType() {
return mainFormatType;
}
- public void setMainFormatType(Class<Object> mainFormatType) {
+ public void setMainFormatType(String mainFormatType) {
this.mainFormatType = mainFormatType;
}
}
\ No newline at end of file
diff --git
a/components-starter/camel-resteasy-starter/src/main/java/org/apache/camel/component/resteasy/springboot/ResteasyComponentConfiguration.java
b/components-starter/camel-resteasy-starter/src/main/java/org/apache/camel/component/resteasy/springboot/ResteasyComponentConfiguration.java
index 857cce8dcb0..aa8a3277fca 100644
---
a/components-starter/camel-resteasy-starter/src/main/java/org/apache/camel/component/resteasy/springboot/ResteasyComponentConfiguration.java
+++
b/components-starter/camel-resteasy-starter/src/main/java/org/apache/camel/component/resteasy/springboot/ResteasyComponentConfiguration.java
@@ -57,12 +57,10 @@ public class ResteasyComponentConfiguration
*/
private String proxyConsumersClasses;
/**
- * If this option is true then IN exchange headers will be copied to OUT
- * exchange headers according to copy strategy. Setting this to false,
- * allows to only include the headers from the HTTP response (not
- * propagating IN headers).
+ * Whether to the HTTP request should follow redirects. By default the HTTP
+ * request does not follow redirects
*/
- private Boolean copyHeaders = true;
+ private Boolean followRedirects = false;
/**
* Whether the producer should be started lazy (on the first message). By
* starting lazy you can use this to allow CamelContext and routes to
@@ -74,17 +72,19 @@ public class ResteasyComponentConfiguration
* and prolong the total processing time of the processing.
*/
private Boolean lazyStartProducer = false;
+ /**
+ * If this option is true then IN exchange headers will be copied to OUT
+ * exchange headers according to copy strategy. Setting this to false,
+ * allows to only include the headers from the HTTP response (not
+ * propagating IN headers).
+ */
+ private Boolean copyHeaders = true;
/**
* This threshold in bytes controls whether the response payload should be
* stored in memory as a byte array or be streaming based. Set this to -1
to
* always use streaming mode.
*/
private Integer responsePayloadStreamingThreshold = 8192;
- /**
- * Whether to the HTTP request should follow redirects. By default the HTTP
- * request does not follow redirects
- */
- private Boolean followRedirects = false;
/**
* Whether to skip mapping all the Camel headers as HTTP request headers.
If
* there are no data from Camel headers needed to be included in the HTTP
@@ -175,12 +175,12 @@ public class ResteasyComponentConfiguration
this.proxyConsumersClasses = proxyConsumersClasses;
}
- public Boolean getCopyHeaders() {
- return copyHeaders;
+ public Boolean getFollowRedirects() {
+ return followRedirects;
}
- public void setCopyHeaders(Boolean copyHeaders) {
- this.copyHeaders = copyHeaders;
+ public void setFollowRedirects(Boolean followRedirects) {
+ this.followRedirects = followRedirects;
}
public Boolean getLazyStartProducer() {
@@ -191,6 +191,14 @@ public class ResteasyComponentConfiguration
this.lazyStartProducer = lazyStartProducer;
}
+ public Boolean getCopyHeaders() {
+ return copyHeaders;
+ }
+
+ public void setCopyHeaders(Boolean copyHeaders) {
+ this.copyHeaders = copyHeaders;
+ }
+
public Integer getResponsePayloadStreamingThreshold() {
return responsePayloadStreamingThreshold;
}
@@ -200,14 +208,6 @@ public class ResteasyComponentConfiguration
this.responsePayloadStreamingThreshold =
responsePayloadStreamingThreshold;
}
- public Boolean getFollowRedirects() {
- return followRedirects;
- }
-
- public void setFollowRedirects(Boolean followRedirects) {
- this.followRedirects = followRedirects;
- }
-
public Boolean getSkipRequestHeaders() {
return skipRequestHeaders;
}