This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push:
new 341ddde Regen for commit 35154b63ed206c3738446c84fa9785dc63c81930
341ddde is described below
commit 341dddee65719787119f4e715af39c92fdf3d4a6
Author: davsclaus <[email protected]>
AuthorDate: Thu Feb 25 18:47:52 2021 +0000
Regen for commit 35154b63ed206c3738446c84fa9785dc63c81930
Signed-off-by: GitHub <[email protected]>
---
.../org/apache/camel/catalog/components/http.json | 7 ++
.../org/apache/camel/catalog/components/https.json | 7 ++
.../apache/camel/catalog/components/resteasy.json | 7 ++
.../camel/catalog/docs/resteasy-component.adoc | 9 +-
.../apache/camel/component/resteasy/resteasy.json | 7 ++
.../src/main/docs/resteasy-component.adoc | 9 +-
.../component/ComponentsBuilderFactory.java | 2 +-
.../dsl/ResteasyComponentBuilderFactory.java | 120 +++++++++++++++++++++
.../builder/endpoint/EndpointBuilderFactory.java | 2 +-
.../camel/builder/endpoint/EndpointBuilders.java | 2 +-
.../builder/endpoint/StaticEndpointBuilders.java | 2 +-
.../modules/ROOT/pages/resteasy-component.adoc | 9 +-
12 files changed, 176 insertions(+), 7 deletions(-)
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/http.json
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/http.json
index c7ac369..10af0bc 100644
---
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/http.json
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/http.json
@@ -28,15 +28,22 @@
"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." },
"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 [...]
+ "authCachingDisabled": { "kind": "property", "displayName": "Auth Caching
Disabled", "group": "advanced", "label": "advanced", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "description": "Disables authentication
scheme caching" },
+ "automaticRetriesDisabled": { "kind": "property", "displayName":
"Automatic Retries Disabled", "group": "advanced", "label": "advanced",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": false,
"description": "Disables automatic request recovery and re-execution" },
"autowiredEnabled": { "kind": "property", "displayName": "Autowired
Enabled", "group": "advanced", "label": "advanced", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": true, "description": "Whether autowiring is
enabled. This is used for automatic autowiring options (the option must be
marked as autowired) by looking up in the registry to find if there is a single
instance of matching type, which t [...]
"clientConnectionManager": { "kind": "property", "displayName": "Client
Connection Manager", "group": "advanced", "label": "advanced", "required":
false, "type": "object", "javaType":
"org.apache.http.conn.HttpClientConnectionManager", "deprecated": false,
"autowired": false, "secret": false, "description": "To use a custom and shared
HttpClientConnectionManager to manage connections. If this has been configured
then this is always used for all endpoints created by this component." },
"connectionsPerRoute": { "kind": "property", "displayName": "Connections
Per Route", "group": "advanced", "label": "advanced", "required": false,
"type": "integer", "javaType": "int", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": 20, "description": "The maximum number of
connections per route." },
+ "connectionStateDisabled": { "kind": "property", "displayName":
"Connection State Disabled", "group": "advanced", "label": "advanced",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": false,
"description": "Disables connection state tracking" },
"connectionTimeToLive": { "kind": "property", "displayName": "Connection
Time To Live", "group": "advanced", "label": "advanced", "required": false,
"type": "integer", "javaType": "long", "deprecated": false, "autowired": false,
"secret": false, "description": "The time for connection to live, the time unit
is millisecond, the default value is always keep alive." },
+ "contentCompressionDisabled": { "kind": "property", "displayName":
"Content Compression Disabled", "group": "advanced", "label": "advanced",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": false,
"description": "Disables automatic content decompression" },
+ "cookieManagementDisabled": { "kind": "property", "displayName": "Cookie
Management Disabled", "group": "advanced", "label": "advanced", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": false, "description":
"Disables state (cookie) management" },
+ "defaultUserAgentDisabled": { "kind": "property", "displayName": "Default
User Agent Disabled", "group": "advanced", "label": "advanced", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": false, "description":
"Disables the default user agent set by this builder if none has been provided
by the user" },
"httpBinding": { "kind": "property", "displayName": "Http Binding",
"group": "advanced", "label": "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." },
"httpClientConfigurer": { "kind": "property", "displayName": "Http Client
Configurer", "group": "advanced", "label": "advanced", "required": false,
"type": "object", "javaType":
"org.apache.camel.component.http.HttpClientConfigurer", "deprecated": false,
"autowired": false, "secret": false, "description": "To use the custom
HttpClientConfigurer to perform configuration of the HttpClient that will be
used." },
"httpConfiguration": { "kind": "property", "displayName": "Http
Configuration", "group": "advanced", "label": "advanced", "required": false,
"type": "object", "javaType": "org.apache.camel.http.common.HttpConfiguration",
"deprecated": false, "autowired": false, "secret": false, "description": "To
use the shared HttpConfiguration as base configuration." },
"httpContext": { "kind": "property", "displayName": "Http Context",
"group": "advanced", "label": "advanced", "required": false, "type": "object",
"javaType": "org.apache.http.protocol.HttpContext", "deprecated": false,
"autowired": false, "secret": false, "description": "To use a custom
org.apache.http.protocol.HttpContext when executing requests." },
"maxTotalConnections": { "kind": "property", "displayName": "Max Total
Connections", "group": "advanced", "label": "advanced", "required": false,
"type": "integer", "javaType": "int", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": 200, "description": "The maximum number of
connections." },
+ "redirectHandlingDisabled": { "kind": "property", "displayName": "Redirect
Handling Disabled", "group": "advanced", "label": "advanced", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": false, "description":
"Disables automatic redirect handling" },
"headerFilterStrategy": { "kind": "property", "displayName": "Header
Filter Strategy", "group": "filter", "label": "filter", "required": false,
"type": "object", "javaType": "org.apache.camel.spi.HeaderFilterStrategy",
"deprecated": false, "autowired": false, "secret": false, "description": "To
use a custom org.apache.camel.spi.HeaderFilterStrategy to filter header to and
from Camel message." },
"proxyAuthDomain": { "kind": "property", "displayName": "Proxy Auth
Domain", "group": "proxy", "label": "producer,proxy", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "description": "Proxy authentication
domain to use" },
"proxyAuthHost": { "kind": "property", "displayName": "Proxy Auth Host",
"group": "proxy", "label": "producer,proxy", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "description": "Proxy authentication host" },
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/https.json
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/https.json
index 39e9c0c..f109756 100644
---
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/https.json
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/https.json
@@ -28,15 +28,22 @@
"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." },
"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 [...]
+ "authCachingDisabled": { "kind": "property", "displayName": "Auth Caching
Disabled", "group": "advanced", "label": "advanced", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "description": "Disables authentication
scheme caching" },
+ "automaticRetriesDisabled": { "kind": "property", "displayName":
"Automatic Retries Disabled", "group": "advanced", "label": "advanced",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": false,
"description": "Disables automatic request recovery and re-execution" },
"autowiredEnabled": { "kind": "property", "displayName": "Autowired
Enabled", "group": "advanced", "label": "advanced", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": true, "description": "Whether autowiring is
enabled. This is used for automatic autowiring options (the option must be
marked as autowired) by looking up in the registry to find if there is a single
instance of matching type, which t [...]
"clientConnectionManager": { "kind": "property", "displayName": "Client
Connection Manager", "group": "advanced", "label": "advanced", "required":
false, "type": "object", "javaType":
"org.apache.http.conn.HttpClientConnectionManager", "deprecated": false,
"autowired": false, "secret": false, "description": "To use a custom and shared
HttpClientConnectionManager to manage connections. If this has been configured
then this is always used for all endpoints created by this component." },
"connectionsPerRoute": { "kind": "property", "displayName": "Connections
Per Route", "group": "advanced", "label": "advanced", "required": false,
"type": "integer", "javaType": "int", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": 20, "description": "The maximum number of
connections per route." },
+ "connectionStateDisabled": { "kind": "property", "displayName":
"Connection State Disabled", "group": "advanced", "label": "advanced",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": false,
"description": "Disables connection state tracking" },
"connectionTimeToLive": { "kind": "property", "displayName": "Connection
Time To Live", "group": "advanced", "label": "advanced", "required": false,
"type": "integer", "javaType": "long", "deprecated": false, "autowired": false,
"secret": false, "description": "The time for connection to live, the time unit
is millisecond, the default value is always keep alive." },
+ "contentCompressionDisabled": { "kind": "property", "displayName":
"Content Compression Disabled", "group": "advanced", "label": "advanced",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": false,
"description": "Disables automatic content decompression" },
+ "cookieManagementDisabled": { "kind": "property", "displayName": "Cookie
Management Disabled", "group": "advanced", "label": "advanced", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": false, "description":
"Disables state (cookie) management" },
+ "defaultUserAgentDisabled": { "kind": "property", "displayName": "Default
User Agent Disabled", "group": "advanced", "label": "advanced", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": false, "description":
"Disables the default user agent set by this builder if none has been provided
by the user" },
"httpBinding": { "kind": "property", "displayName": "Http Binding",
"group": "advanced", "label": "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." },
"httpClientConfigurer": { "kind": "property", "displayName": "Http Client
Configurer", "group": "advanced", "label": "advanced", "required": false,
"type": "object", "javaType":
"org.apache.camel.component.http.HttpClientConfigurer", "deprecated": false,
"autowired": false, "secret": false, "description": "To use the custom
HttpClientConfigurer to perform configuration of the HttpClient that will be
used." },
"httpConfiguration": { "kind": "property", "displayName": "Http
Configuration", "group": "advanced", "label": "advanced", "required": false,
"type": "object", "javaType": "org.apache.camel.http.common.HttpConfiguration",
"deprecated": false, "autowired": false, "secret": false, "description": "To
use the shared HttpConfiguration as base configuration." },
"httpContext": { "kind": "property", "displayName": "Http Context",
"group": "advanced", "label": "advanced", "required": false, "type": "object",
"javaType": "org.apache.http.protocol.HttpContext", "deprecated": false,
"autowired": false, "secret": false, "description": "To use a custom
org.apache.http.protocol.HttpContext when executing requests." },
"maxTotalConnections": { "kind": "property", "displayName": "Max Total
Connections", "group": "advanced", "label": "advanced", "required": false,
"type": "integer", "javaType": "int", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": 200, "description": "The maximum number of
connections." },
+ "redirectHandlingDisabled": { "kind": "property", "displayName": "Redirect
Handling Disabled", "group": "advanced", "label": "advanced", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": false, "description":
"Disables automatic redirect handling" },
"headerFilterStrategy": { "kind": "property", "displayName": "Header
Filter Strategy", "group": "filter", "label": "filter", "required": false,
"type": "object", "javaType": "org.apache.camel.spi.HeaderFilterStrategy",
"deprecated": false, "autowired": false, "secret": false, "description": "To
use a custom org.apache.camel.spi.HeaderFilterStrategy to filter header to and
from Camel message." },
"proxyAuthDomain": { "kind": "property", "displayName": "Proxy Auth
Domain", "group": "proxy", "label": "producer,proxy", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "description": "Proxy authentication
domain to use" },
"proxyAuthHost": { "kind": "property", "displayName": "Proxy Auth Host",
"group": "proxy", "label": "producer,proxy", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "description": "Proxy authentication host" },
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/resteasy.json
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/resteasy.json
index 0c885cc..0b14a30 100644
---
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/resteasy.json
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/resteasy.json
@@ -29,7 +29,14 @@
"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." },
"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 [...]
+ "authCachingDisabled": { "kind": "property", "displayName": "Auth Caching
Disabled", "group": "advanced", "label": "advanced", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "description": "Disables authentication
scheme caching" },
+ "automaticRetriesDisabled": { "kind": "property", "displayName":
"Automatic Retries Disabled", "group": "advanced", "label": "advanced",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": false,
"description": "Disables automatic request recovery and re-execution" },
"autowiredEnabled": { "kind": "property", "displayName": "Autowired
Enabled", "group": "advanced", "label": "advanced", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": true, "description": "Whether autowiring is
enabled. This is used for automatic autowiring options (the option must be
marked as autowired) by looking up in the registry to find if there is a single
instance of matching type, which t [...]
+ "connectionStateDisabled": { "kind": "property", "displayName":
"Connection State Disabled", "group": "advanced", "label": "advanced",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": false,
"description": "Disables connection state tracking" },
+ "contentCompressionDisabled": { "kind": "property", "displayName":
"Content Compression Disabled", "group": "advanced", "label": "advanced",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": false,
"description": "Disables automatic content decompression" },
+ "cookieManagementDisabled": { "kind": "property", "displayName": "Cookie
Management Disabled", "group": "advanced", "label": "advanced", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": false, "description":
"Disables state (cookie) management" },
+ "defaultUserAgentDisabled": { "kind": "property", "displayName": "Default
User Agent Disabled", "group": "advanced", "label": "advanced", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": false, "description":
"Disables the default user agent set by this builder if none has been provided
by the user" },
+ "redirectHandlingDisabled": { "kind": "property", "displayName": "Redirect
Handling Disabled", "group": "advanced", "label": "advanced", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": false, "description":
"Disables automatic redirect handling" },
"headerFilterStrategy": { "kind": "property", "displayName": "Header
Filter Strategy", "group": "filter", "label": "filter", "required": false,
"type": "object", "javaType": "org.apache.camel.spi.HeaderFilterStrategy",
"deprecated": false, "autowired": false, "secret": false, "description": "To
use a custom org.apache.camel.spi.HeaderFilterStrategy to filter header to and
from Camel message." }
},
"properties": {
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/resteasy-component.adoc
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/resteasy-component.adoc
index 8d3065c..d1a5418 100644
---
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/resteasy-component.adoc
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/resteasy-component.adoc
@@ -42,7 +42,7 @@ You can append query options to the URI in the following
format:
=== Options
// component options: START
-The Resteasy component supports 7 options, which are listed below.
+The Resteasy component supports 14 options, which are listed below.
@@ -54,7 +54,14 @@ The Resteasy component supports 7 options, which are listed
below.
| *lazyStartProducer* (producer) | 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 [...]
| *responsePayloadStreaming{zwsp}Threshold* (producer) | 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.
| 8192 | int
| *allowJavaSerializedObject* (advanced) | 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
deserialize the incoming data from the request to Java and that can be a
potential security risk. | false | boolean
+| *authCachingDisabled* (advanced) | Disables authentication scheme caching |
false | boolean
+| *automaticRetriesDisabled* (advanced) | Disables automatic request recovery
and re-execution | false | boolean
| *autowiredEnabled* (advanced) | Whether autowiring is enabled. This is used
for automatic autowiring options (the option must be marked as autowired) by
looking up in the registry to find if there is a single instance of matching
type, which then gets configured on the component. This can be used for
automatic configuring JDBC data sources, JMS connection factories, AWS Clients,
etc. | true | boolean
+| *connectionStateDisabled* (advanced) | Disables connection state tracking |
false | boolean
+| *contentCompressionDisabled* (advanced) | Disables automatic content
decompression | false | boolean
+| *cookieManagementDisabled* (advanced) | Disables state (cookie) management |
false | boolean
+| *defaultUserAgentDisabled* (advanced) | Disables the default user agent set
by this builder if none has been provided by the user | false | boolean
+| *redirectHandlingDisabled* (advanced) | Disables automatic redirect handling
| false | boolean
| *headerFilterStrategy* (filter) | To use a custom
org.apache.camel.spi.HeaderFilterStrategy to filter header to and from Camel
message. | | HeaderFilterStrategy
|===
// component options: END
diff --git
a/components/camel-resteasy/src/generated/resources/org/apache/camel/component/resteasy/resteasy.json
b/components/camel-resteasy/src/generated/resources/org/apache/camel/component/resteasy/resteasy.json
index 0c885cc..0b14a30 100644
---
a/components/camel-resteasy/src/generated/resources/org/apache/camel/component/resteasy/resteasy.json
+++
b/components/camel-resteasy/src/generated/resources/org/apache/camel/component/resteasy/resteasy.json
@@ -29,7 +29,14 @@
"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." },
"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 [...]
+ "authCachingDisabled": { "kind": "property", "displayName": "Auth Caching
Disabled", "group": "advanced", "label": "advanced", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "description": "Disables authentication
scheme caching" },
+ "automaticRetriesDisabled": { "kind": "property", "displayName":
"Automatic Retries Disabled", "group": "advanced", "label": "advanced",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": false,
"description": "Disables automatic request recovery and re-execution" },
"autowiredEnabled": { "kind": "property", "displayName": "Autowired
Enabled", "group": "advanced", "label": "advanced", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": true, "description": "Whether autowiring is
enabled. This is used for automatic autowiring options (the option must be
marked as autowired) by looking up in the registry to find if there is a single
instance of matching type, which t [...]
+ "connectionStateDisabled": { "kind": "property", "displayName":
"Connection State Disabled", "group": "advanced", "label": "advanced",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": false,
"description": "Disables connection state tracking" },
+ "contentCompressionDisabled": { "kind": "property", "displayName":
"Content Compression Disabled", "group": "advanced", "label": "advanced",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": false,
"description": "Disables automatic content decompression" },
+ "cookieManagementDisabled": { "kind": "property", "displayName": "Cookie
Management Disabled", "group": "advanced", "label": "advanced", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": false, "description":
"Disables state (cookie) management" },
+ "defaultUserAgentDisabled": { "kind": "property", "displayName": "Default
User Agent Disabled", "group": "advanced", "label": "advanced", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": false, "description":
"Disables the default user agent set by this builder if none has been provided
by the user" },
+ "redirectHandlingDisabled": { "kind": "property", "displayName": "Redirect
Handling Disabled", "group": "advanced", "label": "advanced", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": false, "description":
"Disables automatic redirect handling" },
"headerFilterStrategy": { "kind": "property", "displayName": "Header
Filter Strategy", "group": "filter", "label": "filter", "required": false,
"type": "object", "javaType": "org.apache.camel.spi.HeaderFilterStrategy",
"deprecated": false, "autowired": false, "secret": false, "description": "To
use a custom org.apache.camel.spi.HeaderFilterStrategy to filter header to and
from Camel message." }
},
"properties": {
diff --git a/components/camel-resteasy/src/main/docs/resteasy-component.adoc
b/components/camel-resteasy/src/main/docs/resteasy-component.adoc
index 8d3065c..d1a5418 100644
--- a/components/camel-resteasy/src/main/docs/resteasy-component.adoc
+++ b/components/camel-resteasy/src/main/docs/resteasy-component.adoc
@@ -42,7 +42,7 @@ You can append query options to the URI in the following
format:
=== Options
// component options: START
-The Resteasy component supports 7 options, which are listed below.
+The Resteasy component supports 14 options, which are listed below.
@@ -54,7 +54,14 @@ The Resteasy component supports 7 options, which are listed
below.
| *lazyStartProducer* (producer) | 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 [...]
| *responsePayloadStreaming{zwsp}Threshold* (producer) | 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.
| 8192 | int
| *allowJavaSerializedObject* (advanced) | 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
deserialize the incoming data from the request to Java and that can be a
potential security risk. | false | boolean
+| *authCachingDisabled* (advanced) | Disables authentication scheme caching |
false | boolean
+| *automaticRetriesDisabled* (advanced) | Disables automatic request recovery
and re-execution | false | boolean
| *autowiredEnabled* (advanced) | Whether autowiring is enabled. This is used
for automatic autowiring options (the option must be marked as autowired) by
looking up in the registry to find if there is a single instance of matching
type, which then gets configured on the component. This can be used for
automatic configuring JDBC data sources, JMS connection factories, AWS Clients,
etc. | true | boolean
+| *connectionStateDisabled* (advanced) | Disables connection state tracking |
false | boolean
+| *contentCompressionDisabled* (advanced) | Disables automatic content
decompression | false | boolean
+| *cookieManagementDisabled* (advanced) | Disables state (cookie) management |
false | boolean
+| *defaultUserAgentDisabled* (advanced) | Disables the default user agent set
by this builder if none has been provided by the user | false | boolean
+| *redirectHandlingDisabled* (advanced) | Disables automatic redirect handling
| false | boolean
| *headerFilterStrategy* (filter) | To use a custom
org.apache.camel.spi.HeaderFilterStrategy to filter header to and from Camel
message. | | HeaderFilterStrategy
|===
// component options: END
diff --git
a/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java
b/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java
index 06572c2..0cc66d7 100644
---
a/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java
+++
b/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java
@@ -4638,4 +4638,4 @@ public interface ComponentsBuilderFactory {
static
org.apache.camel.builder.component.dsl.ZookeeperMasterComponentBuilderFactory.ZookeeperMasterComponentBuilder
zookeeperMaster() {
return
org.apache.camel.builder.component.dsl.ZookeeperMasterComponentBuilderFactory.zookeeperMaster();
}
-}
+}
\ No newline at end of file
diff --git
a/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/ResteasyComponentBuilderFactory.java
b/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/ResteasyComponentBuilderFactory.java
index 32ae97e..2264b5e 100644
---
a/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/ResteasyComponentBuilderFactory.java
+++
b/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/ResteasyComponentBuilderFactory.java
@@ -151,6 +151,38 @@ public interface ResteasyComponentBuilderFactory {
return this;
}
/**
+ * Disables authentication scheme caching.
+ *
+ * The option is a: <code>boolean</code> type.
+ *
+ * Default: false
+ * Group: advanced
+ *
+ * @param authCachingDisabled the value to set
+ * @return the dsl builder
+ */
+ default ResteasyComponentBuilder authCachingDisabled(
+ boolean authCachingDisabled) {
+ doSetProperty("authCachingDisabled", authCachingDisabled);
+ return this;
+ }
+ /**
+ * Disables automatic request recovery and re-execution.
+ *
+ * The option is a: <code>boolean</code> type.
+ *
+ * Default: false
+ * Group: advanced
+ *
+ * @param automaticRetriesDisabled the value to set
+ * @return the dsl builder
+ */
+ default ResteasyComponentBuilder automaticRetriesDisabled(
+ boolean automaticRetriesDisabled) {
+ doSetProperty("automaticRetriesDisabled",
automaticRetriesDisabled);
+ return this;
+ }
+ /**
* Whether autowiring is enabled. This is used for automatic autowiring
* options (the option must be marked as autowired) by looking up in
the
* registry to find if there is a single instance of matching type,
@@ -172,6 +204,87 @@ public interface ResteasyComponentBuilderFactory {
return this;
}
/**
+ * Disables connection state tracking.
+ *
+ * The option is a: <code>boolean</code> type.
+ *
+ * Default: false
+ * Group: advanced
+ *
+ * @param connectionStateDisabled the value to set
+ * @return the dsl builder
+ */
+ default ResteasyComponentBuilder connectionStateDisabled(
+ boolean connectionStateDisabled) {
+ doSetProperty("connectionStateDisabled", connectionStateDisabled);
+ return this;
+ }
+ /**
+ * Disables automatic content decompression.
+ *
+ * The option is a: <code>boolean</code> type.
+ *
+ * Default: false
+ * Group: advanced
+ *
+ * @param contentCompressionDisabled the value to set
+ * @return the dsl builder
+ */
+ default ResteasyComponentBuilder contentCompressionDisabled(
+ boolean contentCompressionDisabled) {
+ doSetProperty("contentCompressionDisabled",
contentCompressionDisabled);
+ return this;
+ }
+ /**
+ * Disables state (cookie) management.
+ *
+ * The option is a: <code>boolean</code> type.
+ *
+ * Default: false
+ * Group: advanced
+ *
+ * @param cookieManagementDisabled the value to set
+ * @return the dsl builder
+ */
+ default ResteasyComponentBuilder cookieManagementDisabled(
+ boolean cookieManagementDisabled) {
+ doSetProperty("cookieManagementDisabled",
cookieManagementDisabled);
+ return this;
+ }
+ /**
+ * Disables the default user agent set by this builder if none has been
+ * provided by the user.
+ *
+ * The option is a: <code>boolean</code> type.
+ *
+ * Default: false
+ * Group: advanced
+ *
+ * @param defaultUserAgentDisabled the value to set
+ * @return the dsl builder
+ */
+ default ResteasyComponentBuilder defaultUserAgentDisabled(
+ boolean defaultUserAgentDisabled) {
+ doSetProperty("defaultUserAgentDisabled",
defaultUserAgentDisabled);
+ return this;
+ }
+ /**
+ * Disables automatic redirect handling.
+ *
+ * The option is a: <code>boolean</code> type.
+ *
+ * Default: false
+ * Group: advanced
+ *
+ * @param redirectHandlingDisabled the value to set
+ * @return the dsl builder
+ */
+ default ResteasyComponentBuilder redirectHandlingDisabled(
+ boolean redirectHandlingDisabled) {
+ doSetProperty("redirectHandlingDisabled",
redirectHandlingDisabled);
+ return this;
+ }
+ /**
* To use a custom org.apache.camel.spi.HeaderFilterStrategy to filter
* header to and from Camel message.
*
@@ -211,7 +324,14 @@ public interface ResteasyComponentBuilderFactory {
case "lazyStartProducer": ((ResteasyComponent)
component).setLazyStartProducer((boolean) value); return true;
case "responsePayloadStreamingThreshold": ((ResteasyComponent)
component).setResponsePayloadStreamingThreshold((int) value); return true;
case "allowJavaSerializedObject": ((ResteasyComponent)
component).setAllowJavaSerializedObject((boolean) value); return true;
+ case "authCachingDisabled": ((ResteasyComponent)
component).setAuthCachingDisabled((boolean) value); return true;
+ case "automaticRetriesDisabled": ((ResteasyComponent)
component).setAutomaticRetriesDisabled((boolean) value); return true;
case "autowiredEnabled": ((ResteasyComponent)
component).setAutowiredEnabled((boolean) value); return true;
+ case "connectionStateDisabled": ((ResteasyComponent)
component).setConnectionStateDisabled((boolean) value); return true;
+ case "contentCompressionDisabled": ((ResteasyComponent)
component).setContentCompressionDisabled((boolean) value); return true;
+ case "cookieManagementDisabled": ((ResteasyComponent)
component).setCookieManagementDisabled((boolean) value); return true;
+ case "defaultUserAgentDisabled": ((ResteasyComponent)
component).setDefaultUserAgentDisabled((boolean) value); return true;
+ case "redirectHandlingDisabled": ((ResteasyComponent)
component).setRedirectHandlingDisabled((boolean) value); return true;
case "headerFilterStrategy": ((ResteasyComponent)
component).setHeaderFilterStrategy((org.apache.camel.spi.HeaderFilterStrategy)
value); return true;
default: return false;
}
diff --git
a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointBuilderFactory.java
b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointBuilderFactory.java
index a2c3d4a..9ab9a8c 100644
---
a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointBuilderFactory.java
+++
b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointBuilderFactory.java
@@ -374,4 +374,4 @@ public interface EndpointBuilderFactory
};
}
}
-//CHECKSTYLE:ON
+//CHECKSTYLE:ON
\ No newline at end of file
diff --git
a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointBuilders.java
b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointBuilders.java
index 0a0f2e2..82488c1 100644
---
a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointBuilders.java
+++
b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointBuilders.java
@@ -358,4 +358,4 @@ public interface EndpointBuilders
org.apache.camel.builder.endpoint.dsl.ZooKeeperMasterEndpointBuilderFactory {
}
-//CHECKSTYLE:ON
+//CHECKSTYLE:ON
\ No newline at end of file
diff --git
a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
index ce2985d..92ccf9b 100644
---
a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
+++
b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
@@ -16305,4 +16305,4 @@ public class StaticEndpointBuilders {
return
org.apache.camel.builder.endpoint.dsl.ZooKeeperMasterEndpointBuilderFactory.endpointBuilder(componentName,
path);
}
}
-//CHECKSTYLE:ON
+//CHECKSTYLE:ON
\ No newline at end of file
diff --git a/docs/components/modules/ROOT/pages/resteasy-component.adoc
b/docs/components/modules/ROOT/pages/resteasy-component.adoc
index 51747e5..5703b4b 100644
--- a/docs/components/modules/ROOT/pages/resteasy-component.adoc
+++ b/docs/components/modules/ROOT/pages/resteasy-component.adoc
@@ -44,7 +44,7 @@ You can append query options to the URI in the following
format:
=== Options
// component options: START
-The Resteasy component supports 7 options, which are listed below.
+The Resteasy component supports 14 options, which are listed below.
@@ -56,7 +56,14 @@ The Resteasy component supports 7 options, which are listed
below.
| *lazyStartProducer* (producer) | 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 [...]
| *responsePayloadStreaming{zwsp}Threshold* (producer) | 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.
| 8192 | int
| *allowJavaSerializedObject* (advanced) | 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
deserialize the incoming data from the request to Java and that can be a
potential security risk. | false | boolean
+| *authCachingDisabled* (advanced) | Disables authentication scheme caching |
false | boolean
+| *automaticRetriesDisabled* (advanced) | Disables automatic request recovery
and re-execution | false | boolean
| *autowiredEnabled* (advanced) | Whether autowiring is enabled. This is used
for automatic autowiring options (the option must be marked as autowired) by
looking up in the registry to find if there is a single instance of matching
type, which then gets configured on the component. This can be used for
automatic configuring JDBC data sources, JMS connection factories, AWS Clients,
etc. | true | boolean
+| *connectionStateDisabled* (advanced) | Disables connection state tracking |
false | boolean
+| *contentCompressionDisabled* (advanced) | Disables automatic content
decompression | false | boolean
+| *cookieManagementDisabled* (advanced) | Disables state (cookie) management |
false | boolean
+| *defaultUserAgentDisabled* (advanced) | Disables the default user agent set
by this builder if none has been provided by the user | false | boolean
+| *redirectHandlingDisabled* (advanced) | Disables automatic redirect handling
| false | boolean
| *headerFilterStrategy* (filter) | To use a custom
org.apache.camel.spi.HeaderFilterStrategy to filter header to and from Camel
message. | | HeaderFilterStrategy
|===
// component options: END