You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2025/08/27 06:05:50 UTC
(camel) branch main updated: CAMEL-22376: camel-netty - Remove old deprecated options
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new 631545e982f CAMEL-22376: camel-netty - Remove old deprecated options
631545e982f is described below
commit 631545e982f1d99d25ea2f9744135771a7c06e9b
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Wed Aug 27 08:04:08 2025 +0200
CAMEL-22376: camel-netty - Remove old deprecated options
---
.../camel/catalog/components/netty-http.json | 52 +++---
.../org/apache/camel/catalog/components/netty.json | 46 +++---
.../http/NettyHttpConfigurationConfigurer.java | 24 ---
.../netty/http/NettyHttpEndpointUriFactory.java | 4 +-
.../camel/component/netty/http/netty-http.json | 52 +++---
.../netty/http/HttpClientInitializerFactory.java | 11 +-
.../netty/http/HttpServerInitializerFactory.java | 28 +---
.../http/HttpServerSharedInitializerFactory.java | 27 +---
.../component/netty/http/InitializerHelper.java | 42 -----
.../component/netty/NettyComponentConfigurer.java | 12 --
.../netty/NettyConfigurationConfigurer.java | 24 ---
.../component/netty/NettyEndpointConfigurer.java | 12 --
.../component/netty/NettyEndpointUriFactory.java | 4 +-
.../org/apache/camel/component/netty/netty.json | 46 +++---
.../camel-netty/src/main/docs/netty-component.adoc | 13 +-
.../netty/DefaultClientInitializerFactory.java | 35 +---
.../netty/DefaultServerInitializerFactory.java | 49 +-----
.../camel/component/netty/NettyConfiguration.java | 16 --
.../netty/NettyServerBootstrapConfiguration.java | 55 -------
.../camel/component/netty/util/SubnetUtils.java | 15 +-
.../ROOT/pages/camel-4x-upgrade-guide-4_15.adoc | 5 +
.../dsl/NettyComponentBuilderFactory.java | 34 ----
.../dsl/NettyHttpComponentBuilderFactory.java | 34 ----
.../endpoint/dsl/NettyEndpointBuilderFactory.java | 180 ---------------------
.../dsl/NettyHttpEndpointBuilderFactory.java | 180 ---------------------
25 files changed, 130 insertions(+), 870 deletions(-)
diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/netty-http.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/netty-http.json
index 3bdba61eb62..3f23f452a07 100644
--- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/netty-http.json
+++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/netty-http.json
@@ -92,20 +92,18 @@
"textline": { "index": 64, "kind": "property", "displayName": "Textline", "group": "codec", "label": "codec", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Only used for TCP. If no codec is specified, you can use this flag to indicate a text line based codec; [...]
"enabledProtocols": { "index": 65, "kind": "property", "displayName": "Enabled Protocols", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "TLSv1.2,TLSv1.3", "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Which protocols to enable when using SSL" },
"hostnameVerification": { "index": 66, "kind": "property", "displayName": "Hostname Verification", "group": "security", "label": "common,security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "To enable\/disable hostname verification on SSLEngine" },
- "keyStoreFile": { "index": 67, "kind": "property", "displayName": "Key Store File", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.io.File", "deprecated": true, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Client side certificate keystore to be used for encryption" },
- "keyStoreFormat": { "index": 68, "kind": "property", "displayName": "Key Store Format", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Keystore format to be used for payload encryption. Defaults to JKS if not set" },
- "keyStoreResource": { "index": 69, "kind": "property", "displayName": "Key Store Resource", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "supportFileReference": true, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Client side certificate keystore to be use [...]
- "needClientAuth": { "index": 70, "kind": "property", "displayName": "Need Client Auth", "group": "security", "label": "consumer,security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Configures whether the server needs client authentication when using SSL." },
- "passphrase": { "index": 71, "kind": "property", "displayName": "Passphrase", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Password setting to use in order to encrypt\/decrypt payloads sent using SSH" },
- "securityConfiguration": { "index": 72, "kind": "property", "displayName": "Security Configuration", "group": "security", "label": "security", "required": false, "type": "object", "javaType": "org.apache.camel.component.netty.http.NettyHttpSecurityConfiguration", "deprecated": false, "autowired": false, "secret": false, "description": "Refers to a org.apache.camel.component.netty.http.NettyHttpSecurityConfiguration for configuring secure web resources." },
- "securityProvider": { "index": 73, "kind": "property", "displayName": "Security Provider", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Security provider to be used for payload encryption. Defaults to SunX509 if not set." },
- "ssl": { "index": 74, "kind": "property", "displayName": "Ssl", "group": "security", "label": "security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Setting to specify whether SSL encryption is applied to this endpoint" },
- "sslClientCertHeaders": { "index": 75, "kind": "property", "displayName": "Ssl Client Cert Headers", "group": "security", "label": "security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "When enabled and in SSL mode, then the Netty consumer will enrich the C [...]
- "sslContextParameters": { "index": 76, "kind": "property", "displayName": "Ssl Context Parameters", "group": "security", "label": "security", "required": false, "type": "object", "javaType": "org.apache.camel.support.jsse.SSLContextParameters", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "To configure security using SSLContextParameters" },
- "sslHandler": { "index": 77, "kind": "property", "displayName": "Ssl Handler", "group": "security", "label": "security", "required": false, "type": "object", "javaType": "io.netty.handler.ssl.SslHandler", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Reference to a class that could be used to return an SSL Handler" },
- "trustStoreFile": { "index": 78, "kind": "property", "displayName": "Trust Store File", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.io.File", "deprecated": true, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Server side certificate keystore to be used for encryption" },
- "trustStoreResource": { "index": 79, "kind": "property", "displayName": "Trust Store Resource", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "supportFileReference": true, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Server side certificate keystore to be [...]
- "useGlobalSslContextParameters": { "index": 80, "kind": "property", "displayName": "Use Global Ssl Context Parameters", "group": "security", "label": "security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Enable usage of global SSL context parameters." }
+ "keyStoreFormat": { "index": 67, "kind": "property", "displayName": "Key Store Format", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Keystore format to be used for payload encryption. Defaults to JKS if not set" },
+ "keyStoreResource": { "index": 68, "kind": "property", "displayName": "Key Store Resource", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "supportFileReference": true, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Client side certificate keystore to be use [...]
+ "needClientAuth": { "index": 69, "kind": "property", "displayName": "Need Client Auth", "group": "security", "label": "consumer,security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Configures whether the server needs client authentication when using SSL." },
+ "passphrase": { "index": 70, "kind": "property", "displayName": "Passphrase", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Password setting to use in order to encrypt\/decrypt payloads sent using SSH" },
+ "securityConfiguration": { "index": 71, "kind": "property", "displayName": "Security Configuration", "group": "security", "label": "security", "required": false, "type": "object", "javaType": "org.apache.camel.component.netty.http.NettyHttpSecurityConfiguration", "deprecated": false, "autowired": false, "secret": false, "description": "Refers to a org.apache.camel.component.netty.http.NettyHttpSecurityConfiguration for configuring secure web resources." },
+ "securityProvider": { "index": 72, "kind": "property", "displayName": "Security Provider", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Security provider to be used for payload encryption. Defaults to SunX509 if not set." },
+ "ssl": { "index": 73, "kind": "property", "displayName": "Ssl", "group": "security", "label": "security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Setting to specify whether SSL encryption is applied to this endpoint" },
+ "sslClientCertHeaders": { "index": 74, "kind": "property", "displayName": "Ssl Client Cert Headers", "group": "security", "label": "security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "When enabled and in SSL mode, then the Netty consumer will enrich the C [...]
+ "sslContextParameters": { "index": 75, "kind": "property", "displayName": "Ssl Context Parameters", "group": "security", "label": "security", "required": false, "type": "object", "javaType": "org.apache.camel.support.jsse.SSLContextParameters", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "To configure security using SSLContextParameters" },
+ "sslHandler": { "index": 76, "kind": "property", "displayName": "Ssl Handler", "group": "security", "label": "security", "required": false, "type": "object", "javaType": "io.netty.handler.ssl.SslHandler", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Reference to a class that could be used to return an SSL Handler" },
+ "trustStoreResource": { "index": 77, "kind": "property", "displayName": "Trust Store Resource", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "supportFileReference": true, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Server side certificate keystore to be [...]
+ "useGlobalSslContextParameters": { "index": 78, "kind": "property", "displayName": "Use Global Ssl Context Parameters", "group": "security", "label": "security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Enable usage of global SSL context parameters." }
},
"headers": {
"CamelHttpAuthentication": { "index": 0, "kind": "header", "displayName": "", "group": "common", "label": "", "required": false, "javaType": "String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "If the user was authenticated using HTTP Basic then this header is added with the value Basic.", "constantName": "org.apache.camel.component.netty.http.NettyHttpConstants#HTTP_AUTHENTICATION" },
@@ -210,19 +208,17 @@
"encoders": { "index": 73, "kind": "parameter", "displayName": "Encoders", "group": "codec", "label": "codec", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.netty.http.NettyHttpConfiguration", "configurationField": "configuration", "description": "A list of encoders to be used. You can use a String which have values separated by comma, and have the values [...]
"enabledProtocols": { "index": 74, "kind": "parameter", "displayName": "Enabled Protocols", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "TLSv1.2,TLSv1.3", "configurationClass": "org.apache.camel.component.netty.http.NettyHttpConfiguration", "configurationField": "configuration", "description": "Which protocols to enable when using SSL" },
"hostnameVerification": { "index": 75, "kind": "parameter", "displayName": "Hostname Verification", "group": "security", "label": "common,security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.netty.http.NettyHttpConfiguration", "configurationField": "configuration", "description": "To enable\/disable hostname verification on SSLEngine" },
- "keyStoreFile": { "index": 76, "kind": "parameter", "displayName": "Key Store File", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.io.File", "deprecated": true, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.netty.http.NettyHttpConfiguration", "configurationField": "configuration", "description": "Client side certificate keystore to be used for encryption" },
- "keyStoreFormat": { "index": 77, "kind": "parameter", "displayName": "Key Store Format", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.netty.http.NettyHttpConfiguration", "configurationField": "configuration", "description": "Keystore format to be used for payload encryption. Defaults to JKS if not set" },
- "keyStoreResource": { "index": 78, "kind": "parameter", "displayName": "Key Store Resource", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "supportFileReference": true, "configurationClass": "org.apache.camel.component.netty.http.NettyHttpConfiguration", "configurationField": "configuration", "description": "Client side certificate keystore [...]
- "needClientAuth": { "index": 79, "kind": "parameter", "displayName": "Need Client Auth", "group": "security", "label": "consumer,security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.netty.http.NettyHttpConfiguration", "configurationField": "configuration", "description": "Configures whether the server needs client authentication when us [...]
- "passphrase": { "index": 80, "kind": "parameter", "displayName": "Passphrase", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "configurationClass": "org.apache.camel.component.netty.http.NettyHttpConfiguration", "configurationField": "configuration", "description": "Password setting to use in order to encrypt\/decrypt payloads sent using SSH" },
- "securityConfiguration": { "index": 81, "kind": "parameter", "displayName": "Security Configuration", "group": "security", "label": "consumer,security", "required": false, "type": "object", "javaType": "org.apache.camel.component.netty.http.NettyHttpSecurityConfiguration", "deprecated": false, "autowired": false, "secret": false, "description": "Refers to a org.apache.camel.component.netty.http.NettyHttpSecurityConfiguration for configuring secure web resources." },
- "securityOptions": { "index": 82, "kind": "parameter", "displayName": "Security Options", "group": "security", "label": "consumer,security", "required": false, "type": "object", "javaType": "java.util.Map<java.lang.String, java.lang.Object>", "prefix": "securityConfiguration.", "multiValue": true, "deprecated": false, "autowired": false, "secret": false, "description": "To configure NettyHttpSecurityConfiguration using key\/value pairs from the map. This is a multi-value option with [...]
- "securityProvider": { "index": 83, "kind": "parameter", "displayName": "Security Provider", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.netty.http.NettyHttpConfiguration", "configurationField": "configuration", "description": "Security provider to be used for payload encryption. Defaults to SunX509 if not set." },
- "ssl": { "index": 84, "kind": "parameter", "displayName": "Ssl", "group": "security", "label": "security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.netty.http.NettyHttpConfiguration", "configurationField": "configuration", "description": "Setting to specify whether SSL encryption is applied to this endpoint" },
- "sslClientCertHeaders": { "index": 85, "kind": "parameter", "displayName": "Ssl Client Cert Headers", "group": "security", "label": "security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.netty.http.NettyHttpConfiguration", "configurationField": "configuration", "description": "When enabled and in SSL mode, then the Netty consumer will en [...]
- "sslContextParameters": { "index": 86, "kind": "parameter", "displayName": "Ssl Context Parameters", "group": "security", "label": "security", "required": false, "type": "object", "javaType": "org.apache.camel.support.jsse.SSLContextParameters", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.netty.http.NettyHttpConfiguration", "configurationField": "configuration", "description": "To configure security using SSLContextParam [...]
- "sslHandler": { "index": 87, "kind": "parameter", "displayName": "Ssl Handler", "group": "security", "label": "security", "required": false, "type": "object", "javaType": "io.netty.handler.ssl.SslHandler", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.netty.http.NettyHttpConfiguration", "configurationField": "configuration", "description": "Reference to a class that could be used to return an SSL Handler" },
- "trustStoreFile": { "index": 88, "kind": "parameter", "displayName": "Trust Store File", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.io.File", "deprecated": true, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.netty.http.NettyHttpConfiguration", "configurationField": "configuration", "description": "Server side certificate keystore to be used for encryption" },
- "trustStoreResource": { "index": 89, "kind": "parameter", "displayName": "Trust Store Resource", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "supportFileReference": true, "configurationClass": "org.apache.camel.component.netty.http.NettyHttpConfiguration", "configurationField": "configuration", "description": "Server side certificate keys [...]
+ "keyStoreFormat": { "index": 76, "kind": "parameter", "displayName": "Key Store Format", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.netty.http.NettyHttpConfiguration", "configurationField": "configuration", "description": "Keystore format to be used for payload encryption. Defaults to JKS if not set" },
+ "keyStoreResource": { "index": 77, "kind": "parameter", "displayName": "Key Store Resource", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "supportFileReference": true, "configurationClass": "org.apache.camel.component.netty.http.NettyHttpConfiguration", "configurationField": "configuration", "description": "Client side certificate keystore [...]
+ "needClientAuth": { "index": 78, "kind": "parameter", "displayName": "Need Client Auth", "group": "security", "label": "consumer,security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.netty.http.NettyHttpConfiguration", "configurationField": "configuration", "description": "Configures whether the server needs client authentication when us [...]
+ "passphrase": { "index": 79, "kind": "parameter", "displayName": "Passphrase", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "configurationClass": "org.apache.camel.component.netty.http.NettyHttpConfiguration", "configurationField": "configuration", "description": "Password setting to use in order to encrypt\/decrypt payloads sent using SSH" },
+ "securityConfiguration": { "index": 80, "kind": "parameter", "displayName": "Security Configuration", "group": "security", "label": "consumer,security", "required": false, "type": "object", "javaType": "org.apache.camel.component.netty.http.NettyHttpSecurityConfiguration", "deprecated": false, "autowired": false, "secret": false, "description": "Refers to a org.apache.camel.component.netty.http.NettyHttpSecurityConfiguration for configuring secure web resources." },
+ "securityOptions": { "index": 81, "kind": "parameter", "displayName": "Security Options", "group": "security", "label": "consumer,security", "required": false, "type": "object", "javaType": "java.util.Map<java.lang.String, java.lang.Object>", "prefix": "securityConfiguration.", "multiValue": true, "deprecated": false, "autowired": false, "secret": false, "description": "To configure NettyHttpSecurityConfiguration using key\/value pairs from the map. This is a multi-value option with [...]
+ "securityProvider": { "index": 82, "kind": "parameter", "displayName": "Security Provider", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.netty.http.NettyHttpConfiguration", "configurationField": "configuration", "description": "Security provider to be used for payload encryption. Defaults to SunX509 if not set." },
+ "ssl": { "index": 83, "kind": "parameter", "displayName": "Ssl", "group": "security", "label": "security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.netty.http.NettyHttpConfiguration", "configurationField": "configuration", "description": "Setting to specify whether SSL encryption is applied to this endpoint" },
+ "sslClientCertHeaders": { "index": 84, "kind": "parameter", "displayName": "Ssl Client Cert Headers", "group": "security", "label": "security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.netty.http.NettyHttpConfiguration", "configurationField": "configuration", "description": "When enabled and in SSL mode, then the Netty consumer will en [...]
+ "sslContextParameters": { "index": 85, "kind": "parameter", "displayName": "Ssl Context Parameters", "group": "security", "label": "security", "required": false, "type": "object", "javaType": "org.apache.camel.support.jsse.SSLContextParameters", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.netty.http.NettyHttpConfiguration", "configurationField": "configuration", "description": "To configure security using SSLContextParam [...]
+ "sslHandler": { "index": 86, "kind": "parameter", "displayName": "Ssl Handler", "group": "security", "label": "security", "required": false, "type": "object", "javaType": "io.netty.handler.ssl.SslHandler", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.netty.http.NettyHttpConfiguration", "configurationField": "configuration", "description": "Reference to a class that could be used to return an SSL Handler" },
+ "trustStoreResource": { "index": 87, "kind": "parameter", "displayName": "Trust Store Resource", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "supportFileReference": true, "configurationClass": "org.apache.camel.component.netty.http.NettyHttpConfiguration", "configurationField": "configuration", "description": "Server side certificate keys [...]
}
}
diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/netty.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/netty.json
index ab247511457..2113cb37935 100644
--- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/netty.json
+++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/netty.json
@@ -88,19 +88,17 @@
"textline": { "index": 61, "kind": "property", "displayName": "Textline", "group": "codec", "label": "codec", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Only used for TCP. If no codec is specified, you can use this flag to indicate a text line based codec; [...]
"enabledProtocols": { "index": 62, "kind": "property", "displayName": "Enabled Protocols", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "TLSv1.2,TLSv1.3", "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Which protocols to enable when using SSL" },
"hostnameVerification": { "index": 63, "kind": "property", "displayName": "Hostname Verification", "group": "security", "label": "common,security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "To enable\/disable hostname verification on SSLEngine" },
- "keyStoreFile": { "index": 64, "kind": "property", "displayName": "Key Store File", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.io.File", "deprecated": true, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Client side certificate keystore to be used for encryption" },
- "keyStoreFormat": { "index": 65, "kind": "property", "displayName": "Key Store Format", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Keystore format to be used for payload encryption. Defaults to JKS if not set" },
- "keyStoreResource": { "index": 66, "kind": "property", "displayName": "Key Store Resource", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "supportFileReference": true, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Client side certificate keystore to be use [...]
- "needClientAuth": { "index": 67, "kind": "property", "displayName": "Need Client Auth", "group": "security", "label": "consumer,security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Configures whether the server needs client authentication when using SSL." },
- "passphrase": { "index": 68, "kind": "property", "displayName": "Passphrase", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Password setting to use in order to encrypt\/decrypt payloads sent using SSH" },
- "securityProvider": { "index": 69, "kind": "property", "displayName": "Security Provider", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Security provider to be used for payload encryption. Defaults to SunX509 if not set." },
- "ssl": { "index": 70, "kind": "property", "displayName": "Ssl", "group": "security", "label": "security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Setting to specify whether SSL encryption is applied to this endpoint" },
- "sslClientCertHeaders": { "index": 71, "kind": "property", "displayName": "Ssl Client Cert Headers", "group": "security", "label": "security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "When enabled and in SSL mode, then the Netty consumer will enrich the C [...]
- "sslContextParameters": { "index": 72, "kind": "property", "displayName": "Ssl Context Parameters", "group": "security", "label": "security", "required": false, "type": "object", "javaType": "org.apache.camel.support.jsse.SSLContextParameters", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "To configure security using SSLContextParameters" },
- "sslHandler": { "index": 73, "kind": "property", "displayName": "Ssl Handler", "group": "security", "label": "security", "required": false, "type": "object", "javaType": "io.netty.handler.ssl.SslHandler", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Reference to a class that could be used to return an SSL Handler" },
- "trustStoreFile": { "index": 74, "kind": "property", "displayName": "Trust Store File", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.io.File", "deprecated": true, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Server side certificate keystore to be used for encryption" },
- "trustStoreResource": { "index": 75, "kind": "property", "displayName": "Trust Store Resource", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "supportFileReference": true, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Server side certificate keystore to be [...]
- "useGlobalSslContextParameters": { "index": 76, "kind": "property", "displayName": "Use Global Ssl Context Parameters", "group": "security", "label": "security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Enable usage of global SSL context parameters." }
+ "keyStoreFormat": { "index": 64, "kind": "property", "displayName": "Key Store Format", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Keystore format to be used for payload encryption. Defaults to JKS if not set" },
+ "keyStoreResource": { "index": 65, "kind": "property", "displayName": "Key Store Resource", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "supportFileReference": true, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Client side certificate keystore to be use [...]
+ "needClientAuth": { "index": 66, "kind": "property", "displayName": "Need Client Auth", "group": "security", "label": "consumer,security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Configures whether the server needs client authentication when using SSL." },
+ "passphrase": { "index": 67, "kind": "property", "displayName": "Passphrase", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Password setting to use in order to encrypt\/decrypt payloads sent using SSH" },
+ "securityProvider": { "index": 68, "kind": "property", "displayName": "Security Provider", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Security provider to be used for payload encryption. Defaults to SunX509 if not set." },
+ "ssl": { "index": 69, "kind": "property", "displayName": "Ssl", "group": "security", "label": "security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Setting to specify whether SSL encryption is applied to this endpoint" },
+ "sslClientCertHeaders": { "index": 70, "kind": "property", "displayName": "Ssl Client Cert Headers", "group": "security", "label": "security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "When enabled and in SSL mode, then the Netty consumer will enrich the C [...]
+ "sslContextParameters": { "index": 71, "kind": "property", "displayName": "Ssl Context Parameters", "group": "security", "label": "security", "required": false, "type": "object", "javaType": "org.apache.camel.support.jsse.SSLContextParameters", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "To configure security using SSLContextParameters" },
+ "sslHandler": { "index": 72, "kind": "property", "displayName": "Ssl Handler", "group": "security", "label": "security", "required": false, "type": "object", "javaType": "io.netty.handler.ssl.SslHandler", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Reference to a class that could be used to return an SSL Handler" },
+ "trustStoreResource": { "index": 73, "kind": "property", "displayName": "Trust Store Resource", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "supportFileReference": true, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Server side certificate keystore to be [...]
+ "useGlobalSslContextParameters": { "index": 74, "kind": "property", "displayName": "Use Global Ssl Context Parameters", "group": "security", "label": "security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Enable usage of global SSL context parameters." }
},
"headers": {
"CamelNettyCloseChannelWhenComplete": { "index": 0, "kind": "header", "displayName": "", "group": "common", "label": "", "required": false, "javaType": "Boolean", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "Indicates whether the channel should be closed after complete.", "constantName": "org.apache.camel.component.netty.NettyConstants#NETTY_CLOSE_CHANNEL_WHEN_COMPLETE" },
@@ -183,17 +181,15 @@
"textline": { "index": 63, "kind": "parameter", "displayName": "Textline", "group": "codec", "label": "codec", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Only used for TCP. If no codec is specified, you can use this flag to indicate a text line based codec; [...]
"enabledProtocols": { "index": 64, "kind": "parameter", "displayName": "Enabled Protocols", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "TLSv1.2,TLSv1.3", "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Which protocols to enable when using SSL" },
"hostnameVerification": { "index": 65, "kind": "parameter", "displayName": "Hostname Verification", "group": "security", "label": "common,security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "To enable\/disable hostname verification on SSLEngine" },
- "keyStoreFile": { "index": 66, "kind": "parameter", "displayName": "Key Store File", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.io.File", "deprecated": true, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Client side certificate keystore to be used for encryption" },
- "keyStoreFormat": { "index": 67, "kind": "parameter", "displayName": "Key Store Format", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Keystore format to be used for payload encryption. Defaults to JKS if not set" },
- "keyStoreResource": { "index": 68, "kind": "parameter", "displayName": "Key Store Resource", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "supportFileReference": true, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Client side certificate keystore to be us [...]
- "needClientAuth": { "index": 69, "kind": "parameter", "displayName": "Need Client Auth", "group": "security", "label": "consumer,security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Configures whether the server needs client authentication when using SSL." },
- "passphrase": { "index": 70, "kind": "parameter", "displayName": "Passphrase", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Password setting to use in order to encrypt\/decrypt payloads sent using SSH" },
- "securityProvider": { "index": 71, "kind": "parameter", "displayName": "Security Provider", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Security provider to be used for payload encryption. Defaults to SunX509 if not set." },
- "ssl": { "index": 72, "kind": "parameter", "displayName": "Ssl", "group": "security", "label": "security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Setting to specify whether SSL encryption is applied to this endpoint" },
- "sslClientCertHeaders": { "index": 73, "kind": "parameter", "displayName": "Ssl Client Cert Headers", "group": "security", "label": "security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "When enabled and in SSL mode, then the Netty consumer will enrich the [...]
- "sslContextParameters": { "index": 74, "kind": "parameter", "displayName": "Ssl Context Parameters", "group": "security", "label": "security", "required": false, "type": "object", "javaType": "org.apache.camel.support.jsse.SSLContextParameters", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "To configure security using SSLContextParameters" },
- "sslHandler": { "index": 75, "kind": "parameter", "displayName": "Ssl Handler", "group": "security", "label": "security", "required": false, "type": "object", "javaType": "io.netty.handler.ssl.SslHandler", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Reference to a class that could be used to return an SSL Handler" },
- "trustStoreFile": { "index": 76, "kind": "parameter", "displayName": "Trust Store File", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.io.File", "deprecated": true, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Server side certificate keystore to be used for encryption" },
- "trustStoreResource": { "index": 77, "kind": "parameter", "displayName": "Trust Store Resource", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "supportFileReference": true, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Server side certificate keystore to b [...]
+ "keyStoreFormat": { "index": 66, "kind": "parameter", "displayName": "Key Store Format", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Keystore format to be used for payload encryption. Defaults to JKS if not set" },
+ "keyStoreResource": { "index": 67, "kind": "parameter", "displayName": "Key Store Resource", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "supportFileReference": true, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Client side certificate keystore to be us [...]
+ "needClientAuth": { "index": 68, "kind": "parameter", "displayName": "Need Client Auth", "group": "security", "label": "consumer,security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Configures whether the server needs client authentication when using SSL." },
+ "passphrase": { "index": 69, "kind": "parameter", "displayName": "Passphrase", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Password setting to use in order to encrypt\/decrypt payloads sent using SSH" },
+ "securityProvider": { "index": 70, "kind": "parameter", "displayName": "Security Provider", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Security provider to be used for payload encryption. Defaults to SunX509 if not set." },
+ "ssl": { "index": 71, "kind": "parameter", "displayName": "Ssl", "group": "security", "label": "security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Setting to specify whether SSL encryption is applied to this endpoint" },
+ "sslClientCertHeaders": { "index": 72, "kind": "parameter", "displayName": "Ssl Client Cert Headers", "group": "security", "label": "security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "When enabled and in SSL mode, then the Netty consumer will enrich the [...]
+ "sslContextParameters": { "index": 73, "kind": "parameter", "displayName": "Ssl Context Parameters", "group": "security", "label": "security", "required": false, "type": "object", "javaType": "org.apache.camel.support.jsse.SSLContextParameters", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "To configure security using SSLContextParameters" },
+ "sslHandler": { "index": 74, "kind": "parameter", "displayName": "Ssl Handler", "group": "security", "label": "security", "required": false, "type": "object", "javaType": "io.netty.handler.ssl.SslHandler", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Reference to a class that could be used to return an SSL Handler" },
+ "trustStoreResource": { "index": 75, "kind": "parameter", "displayName": "Trust Store Resource", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "supportFileReference": true, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Server side certificate keystore to b [...]
}
}
diff --git a/components/camel-netty-http/src/generated/java/org/apache/camel/component/netty/http/NettyHttpConfigurationConfigurer.java b/components/camel-netty-http/src/generated/java/org/apache/camel/component/netty/http/NettyHttpConfigurationConfigurer.java
index fc1cd1ac26c..089db678925 100644
--- a/components/camel-netty-http/src/generated/java/org/apache/camel/component/netty/http/NettyHttpConfigurationConfigurer.java
+++ b/components/camel-netty-http/src/generated/java/org/apache/camel/component/netty/http/NettyHttpConfigurationConfigurer.java
@@ -45,8 +45,6 @@ public class NettyHttpConfigurationConfigurer extends org.apache.camel.support.c
case "clientInitializerFactory": target.setClientInitializerFactory(property(camelContext, org.apache.camel.component.netty.ClientInitializerFactory.class, value)); return true;
case "clientmode":
case "clientMode": target.setClientMode(property(camelContext, boolean.class, value)); return true;
- case "clientpipelinefactory":
- case "clientPipelineFactory": target.setClientPipelineFactory(property(camelContext, org.apache.camel.component.netty.ClientInitializerFactory.class, value)); return true;
case "compression": target.setCompression(property(camelContext, boolean.class, value)); return true;
case "connecttimeout":
case "connectTimeout": target.setConnectTimeout(property(camelContext, int.class, value)); return true;
@@ -74,8 +72,6 @@ public class NettyHttpConfigurationConfigurer extends org.apache.camel.support.c
case "hostnameVerification": target.setHostnameVerification(property(camelContext, boolean.class, value)); return true;
case "keepalive":
case "keepAlive": target.setKeepAlive(property(camelContext, boolean.class, value)); return true;
- case "keystorefile":
- case "keyStoreFile": target.setKeyStoreFile(property(camelContext, java.io.File.class, value)); return true;
case "keystoreformat":
case "keyStoreFormat": target.setKeyStoreFormat(property(camelContext, java.lang.String.class, value)); return true;
case "keystoreresource":
@@ -152,8 +148,6 @@ public class NettyHttpConfigurationConfigurer extends org.apache.camel.support.c
case "serverExceptionCaughtLogLevel": target.setServerExceptionCaughtLogLevel(property(camelContext, org.apache.camel.LoggingLevel.class, value)); return true;
case "serverinitializerfactory":
case "serverInitializerFactory": target.setServerInitializerFactory(property(camelContext, org.apache.camel.component.netty.ServerInitializerFactory.class, value)); return true;
- case "serverpipelinefactory":
- case "serverPipelineFactory": target.setServerPipelineFactory(property(camelContext, org.apache.camel.component.netty.ServerInitializerFactory.class, value)); return true;
case "shutdowntimeout":
case "shutdownTimeout": target.setShutdownTimeout(property(camelContext, int.class, value)); return true;
case "ssl": target.setSsl(property(camelContext, boolean.class, value)); return true;
@@ -174,8 +168,6 @@ public class NettyHttpConfigurationConfigurer extends org.apache.camel.support.c
case "transferException": target.setTransferException(property(camelContext, boolean.class, value)); return true;
case "transferexchange":
case "transferExchange": target.setTransferExchange(property(camelContext, boolean.class, value)); return true;
- case "truststorefile":
- case "trustStoreFile": target.setTrustStoreFile(property(camelContext, java.io.File.class, value)); return true;
case "truststoreresource":
case "trustStoreResource": target.setTrustStoreResource(property(camelContext, java.lang.String.class, value)); return true;
case "udpbytearraycodec":
@@ -225,8 +217,6 @@ public class NettyHttpConfigurationConfigurer extends org.apache.camel.support.c
case "clientInitializerFactory": return org.apache.camel.component.netty.ClientInitializerFactory.class;
case "clientmode":
case "clientMode": return boolean.class;
- case "clientpipelinefactory":
- case "clientPipelineFactory": return org.apache.camel.component.netty.ClientInitializerFactory.class;
case "compression": return boolean.class;
case "connecttimeout":
case "connectTimeout": return int.class;
@@ -254,8 +244,6 @@ public class NettyHttpConfigurationConfigurer extends org.apache.camel.support.c
case "hostnameVerification": return boolean.class;
case "keepalive":
case "keepAlive": return boolean.class;
- case "keystorefile":
- case "keyStoreFile": return java.io.File.class;
case "keystoreformat":
case "keyStoreFormat": return java.lang.String.class;
case "keystoreresource":
@@ -332,8 +320,6 @@ public class NettyHttpConfigurationConfigurer extends org.apache.camel.support.c
case "serverExceptionCaughtLogLevel": return org.apache.camel.LoggingLevel.class;
case "serverinitializerfactory":
case "serverInitializerFactory": return org.apache.camel.component.netty.ServerInitializerFactory.class;
- case "serverpipelinefactory":
- case "serverPipelineFactory": return org.apache.camel.component.netty.ServerInitializerFactory.class;
case "shutdowntimeout":
case "shutdownTimeout": return int.class;
case "ssl": return boolean.class;
@@ -354,8 +340,6 @@ public class NettyHttpConfigurationConfigurer extends org.apache.camel.support.c
case "transferException": return boolean.class;
case "transferexchange":
case "transferExchange": return boolean.class;
- case "truststorefile":
- case "trustStoreFile": return java.io.File.class;
case "truststoreresource":
case "trustStoreResource": return java.lang.String.class;
case "udpbytearraycodec":
@@ -406,8 +390,6 @@ public class NettyHttpConfigurationConfigurer extends org.apache.camel.support.c
case "clientInitializerFactory": return target.getClientInitializerFactory();
case "clientmode":
case "clientMode": return target.isClientMode();
- case "clientpipelinefactory":
- case "clientPipelineFactory": return target.getClientPipelineFactory();
case "compression": return target.isCompression();
case "connecttimeout":
case "connectTimeout": return target.getConnectTimeout();
@@ -435,8 +417,6 @@ public class NettyHttpConfigurationConfigurer extends org.apache.camel.support.c
case "hostnameVerification": return target.isHostnameVerification();
case "keepalive":
case "keepAlive": return target.isKeepAlive();
- case "keystorefile":
- case "keyStoreFile": return target.getKeyStoreFile();
case "keystoreformat":
case "keyStoreFormat": return target.getKeyStoreFormat();
case "keystoreresource":
@@ -513,8 +493,6 @@ public class NettyHttpConfigurationConfigurer extends org.apache.camel.support.c
case "serverExceptionCaughtLogLevel": return target.getServerExceptionCaughtLogLevel();
case "serverinitializerfactory":
case "serverInitializerFactory": return target.getServerInitializerFactory();
- case "serverpipelinefactory":
- case "serverPipelineFactory": return target.getServerPipelineFactory();
case "shutdowntimeout":
case "shutdownTimeout": return target.getShutdownTimeout();
case "ssl": return target.isSsl();
@@ -535,8 +513,6 @@ public class NettyHttpConfigurationConfigurer extends org.apache.camel.support.c
case "transferException": return target.isTransferException();
case "transferexchange":
case "transferExchange": return target.isTransferExchange();
- case "truststorefile":
- case "trustStoreFile": return target.getTrustStoreFile();
case "truststoreresource":
case "trustStoreResource": return target.getTrustStoreResource();
case "udpbytearraycodec":
diff --git a/components/camel-netty-http/src/generated/java/org/apache/camel/component/netty/http/NettyHttpEndpointUriFactory.java b/components/camel-netty-http/src/generated/java/org/apache/camel/component/netty/http/NettyHttpEndpointUriFactory.java
index b239b3632e9..16733347c34 100644
--- a/components/camel-netty-http/src/generated/java/org/apache/camel/component/netty/http/NettyHttpEndpointUriFactory.java
+++ b/components/camel-netty-http/src/generated/java/org/apache/camel/component/netty/http/NettyHttpEndpointUriFactory.java
@@ -23,7 +23,7 @@ public class NettyHttpEndpointUriFactory extends org.apache.camel.support.compon
private static final Set<String> SECRET_PROPERTY_NAMES;
private static final Set<String> MULTI_VALUE_PREFIXES;
static {
- Set<String> props = new HashSet<>(90);
+ Set<String> props = new HashSet<>(88);
props.add("allowSerializedHeaders");
props.add("backlog");
props.add("bossCount");
@@ -50,7 +50,6 @@ public class NettyHttpEndpointUriFactory extends org.apache.camel.support.compon
props.add("hostnameVerification");
props.add("httpMethodRestrict");
props.add("keepAlive");
- props.add("keyStoreFile");
props.add("keyStoreFormat");
props.add("keyStoreResource");
props.add("lazyChannelCreation");
@@ -106,7 +105,6 @@ public class NettyHttpEndpointUriFactory extends org.apache.camel.support.compon
props.add("traceEnabled");
props.add("transferException");
props.add("transferExchange");
- props.add("trustStoreFile");
props.add("trustStoreResource");
props.add("unixDomainSocketPath");
props.add("urlDecodeHeaders");
diff --git a/components/camel-netty-http/src/generated/resources/META-INF/org/apache/camel/component/netty/http/netty-http.json b/components/camel-netty-http/src/generated/resources/META-INF/org/apache/camel/component/netty/http/netty-http.json
index 3bdba61eb62..3f23f452a07 100644
--- a/components/camel-netty-http/src/generated/resources/META-INF/org/apache/camel/component/netty/http/netty-http.json
+++ b/components/camel-netty-http/src/generated/resources/META-INF/org/apache/camel/component/netty/http/netty-http.json
@@ -92,20 +92,18 @@
"textline": { "index": 64, "kind": "property", "displayName": "Textline", "group": "codec", "label": "codec", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Only used for TCP. If no codec is specified, you can use this flag to indicate a text line based codec; [...]
"enabledProtocols": { "index": 65, "kind": "property", "displayName": "Enabled Protocols", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "TLSv1.2,TLSv1.3", "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Which protocols to enable when using SSL" },
"hostnameVerification": { "index": 66, "kind": "property", "displayName": "Hostname Verification", "group": "security", "label": "common,security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "To enable\/disable hostname verification on SSLEngine" },
- "keyStoreFile": { "index": 67, "kind": "property", "displayName": "Key Store File", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.io.File", "deprecated": true, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Client side certificate keystore to be used for encryption" },
- "keyStoreFormat": { "index": 68, "kind": "property", "displayName": "Key Store Format", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Keystore format to be used for payload encryption. Defaults to JKS if not set" },
- "keyStoreResource": { "index": 69, "kind": "property", "displayName": "Key Store Resource", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "supportFileReference": true, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Client side certificate keystore to be use [...]
- "needClientAuth": { "index": 70, "kind": "property", "displayName": "Need Client Auth", "group": "security", "label": "consumer,security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Configures whether the server needs client authentication when using SSL." },
- "passphrase": { "index": 71, "kind": "property", "displayName": "Passphrase", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Password setting to use in order to encrypt\/decrypt payloads sent using SSH" },
- "securityConfiguration": { "index": 72, "kind": "property", "displayName": "Security Configuration", "group": "security", "label": "security", "required": false, "type": "object", "javaType": "org.apache.camel.component.netty.http.NettyHttpSecurityConfiguration", "deprecated": false, "autowired": false, "secret": false, "description": "Refers to a org.apache.camel.component.netty.http.NettyHttpSecurityConfiguration for configuring secure web resources." },
- "securityProvider": { "index": 73, "kind": "property", "displayName": "Security Provider", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Security provider to be used for payload encryption. Defaults to SunX509 if not set." },
- "ssl": { "index": 74, "kind": "property", "displayName": "Ssl", "group": "security", "label": "security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Setting to specify whether SSL encryption is applied to this endpoint" },
- "sslClientCertHeaders": { "index": 75, "kind": "property", "displayName": "Ssl Client Cert Headers", "group": "security", "label": "security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "When enabled and in SSL mode, then the Netty consumer will enrich the C [...]
- "sslContextParameters": { "index": 76, "kind": "property", "displayName": "Ssl Context Parameters", "group": "security", "label": "security", "required": false, "type": "object", "javaType": "org.apache.camel.support.jsse.SSLContextParameters", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "To configure security using SSLContextParameters" },
- "sslHandler": { "index": 77, "kind": "property", "displayName": "Ssl Handler", "group": "security", "label": "security", "required": false, "type": "object", "javaType": "io.netty.handler.ssl.SslHandler", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Reference to a class that could be used to return an SSL Handler" },
- "trustStoreFile": { "index": 78, "kind": "property", "displayName": "Trust Store File", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.io.File", "deprecated": true, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Server side certificate keystore to be used for encryption" },
- "trustStoreResource": { "index": 79, "kind": "property", "displayName": "Trust Store Resource", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "supportFileReference": true, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Server side certificate keystore to be [...]
- "useGlobalSslContextParameters": { "index": 80, "kind": "property", "displayName": "Use Global Ssl Context Parameters", "group": "security", "label": "security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Enable usage of global SSL context parameters." }
+ "keyStoreFormat": { "index": 67, "kind": "property", "displayName": "Key Store Format", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Keystore format to be used for payload encryption. Defaults to JKS if not set" },
+ "keyStoreResource": { "index": 68, "kind": "property", "displayName": "Key Store Resource", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "supportFileReference": true, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Client side certificate keystore to be use [...]
+ "needClientAuth": { "index": 69, "kind": "property", "displayName": "Need Client Auth", "group": "security", "label": "consumer,security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Configures whether the server needs client authentication when using SSL." },
+ "passphrase": { "index": 70, "kind": "property", "displayName": "Passphrase", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Password setting to use in order to encrypt\/decrypt payloads sent using SSH" },
+ "securityConfiguration": { "index": 71, "kind": "property", "displayName": "Security Configuration", "group": "security", "label": "security", "required": false, "type": "object", "javaType": "org.apache.camel.component.netty.http.NettyHttpSecurityConfiguration", "deprecated": false, "autowired": false, "secret": false, "description": "Refers to a org.apache.camel.component.netty.http.NettyHttpSecurityConfiguration for configuring secure web resources." },
+ "securityProvider": { "index": 72, "kind": "property", "displayName": "Security Provider", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Security provider to be used for payload encryption. Defaults to SunX509 if not set." },
+ "ssl": { "index": 73, "kind": "property", "displayName": "Ssl", "group": "security", "label": "security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Setting to specify whether SSL encryption is applied to this endpoint" },
+ "sslClientCertHeaders": { "index": 74, "kind": "property", "displayName": "Ssl Client Cert Headers", "group": "security", "label": "security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "When enabled and in SSL mode, then the Netty consumer will enrich the C [...]
+ "sslContextParameters": { "index": 75, "kind": "property", "displayName": "Ssl Context Parameters", "group": "security", "label": "security", "required": false, "type": "object", "javaType": "org.apache.camel.support.jsse.SSLContextParameters", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "To configure security using SSLContextParameters" },
+ "sslHandler": { "index": 76, "kind": "property", "displayName": "Ssl Handler", "group": "security", "label": "security", "required": false, "type": "object", "javaType": "io.netty.handler.ssl.SslHandler", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Reference to a class that could be used to return an SSL Handler" },
+ "trustStoreResource": { "index": 77, "kind": "property", "displayName": "Trust Store Resource", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "supportFileReference": true, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Server side certificate keystore to be [...]
+ "useGlobalSslContextParameters": { "index": 78, "kind": "property", "displayName": "Use Global Ssl Context Parameters", "group": "security", "label": "security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Enable usage of global SSL context parameters." }
},
"headers": {
"CamelHttpAuthentication": { "index": 0, "kind": "header", "displayName": "", "group": "common", "label": "", "required": false, "javaType": "String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "If the user was authenticated using HTTP Basic then this header is added with the value Basic.", "constantName": "org.apache.camel.component.netty.http.NettyHttpConstants#HTTP_AUTHENTICATION" },
@@ -210,19 +208,17 @@
"encoders": { "index": 73, "kind": "parameter", "displayName": "Encoders", "group": "codec", "label": "codec", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.netty.http.NettyHttpConfiguration", "configurationField": "configuration", "description": "A list of encoders to be used. You can use a String which have values separated by comma, and have the values [...]
"enabledProtocols": { "index": 74, "kind": "parameter", "displayName": "Enabled Protocols", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "TLSv1.2,TLSv1.3", "configurationClass": "org.apache.camel.component.netty.http.NettyHttpConfiguration", "configurationField": "configuration", "description": "Which protocols to enable when using SSL" },
"hostnameVerification": { "index": 75, "kind": "parameter", "displayName": "Hostname Verification", "group": "security", "label": "common,security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.netty.http.NettyHttpConfiguration", "configurationField": "configuration", "description": "To enable\/disable hostname verification on SSLEngine" },
- "keyStoreFile": { "index": 76, "kind": "parameter", "displayName": "Key Store File", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.io.File", "deprecated": true, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.netty.http.NettyHttpConfiguration", "configurationField": "configuration", "description": "Client side certificate keystore to be used for encryption" },
- "keyStoreFormat": { "index": 77, "kind": "parameter", "displayName": "Key Store Format", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.netty.http.NettyHttpConfiguration", "configurationField": "configuration", "description": "Keystore format to be used for payload encryption. Defaults to JKS if not set" },
- "keyStoreResource": { "index": 78, "kind": "parameter", "displayName": "Key Store Resource", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "supportFileReference": true, "configurationClass": "org.apache.camel.component.netty.http.NettyHttpConfiguration", "configurationField": "configuration", "description": "Client side certificate keystore [...]
- "needClientAuth": { "index": 79, "kind": "parameter", "displayName": "Need Client Auth", "group": "security", "label": "consumer,security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.netty.http.NettyHttpConfiguration", "configurationField": "configuration", "description": "Configures whether the server needs client authentication when us [...]
- "passphrase": { "index": 80, "kind": "parameter", "displayName": "Passphrase", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "configurationClass": "org.apache.camel.component.netty.http.NettyHttpConfiguration", "configurationField": "configuration", "description": "Password setting to use in order to encrypt\/decrypt payloads sent using SSH" },
- "securityConfiguration": { "index": 81, "kind": "parameter", "displayName": "Security Configuration", "group": "security", "label": "consumer,security", "required": false, "type": "object", "javaType": "org.apache.camel.component.netty.http.NettyHttpSecurityConfiguration", "deprecated": false, "autowired": false, "secret": false, "description": "Refers to a org.apache.camel.component.netty.http.NettyHttpSecurityConfiguration for configuring secure web resources." },
- "securityOptions": { "index": 82, "kind": "parameter", "displayName": "Security Options", "group": "security", "label": "consumer,security", "required": false, "type": "object", "javaType": "java.util.Map<java.lang.String, java.lang.Object>", "prefix": "securityConfiguration.", "multiValue": true, "deprecated": false, "autowired": false, "secret": false, "description": "To configure NettyHttpSecurityConfiguration using key\/value pairs from the map. This is a multi-value option with [...]
- "securityProvider": { "index": 83, "kind": "parameter", "displayName": "Security Provider", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.netty.http.NettyHttpConfiguration", "configurationField": "configuration", "description": "Security provider to be used for payload encryption. Defaults to SunX509 if not set." },
- "ssl": { "index": 84, "kind": "parameter", "displayName": "Ssl", "group": "security", "label": "security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.netty.http.NettyHttpConfiguration", "configurationField": "configuration", "description": "Setting to specify whether SSL encryption is applied to this endpoint" },
- "sslClientCertHeaders": { "index": 85, "kind": "parameter", "displayName": "Ssl Client Cert Headers", "group": "security", "label": "security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.netty.http.NettyHttpConfiguration", "configurationField": "configuration", "description": "When enabled and in SSL mode, then the Netty consumer will en [...]
- "sslContextParameters": { "index": 86, "kind": "parameter", "displayName": "Ssl Context Parameters", "group": "security", "label": "security", "required": false, "type": "object", "javaType": "org.apache.camel.support.jsse.SSLContextParameters", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.netty.http.NettyHttpConfiguration", "configurationField": "configuration", "description": "To configure security using SSLContextParam [...]
- "sslHandler": { "index": 87, "kind": "parameter", "displayName": "Ssl Handler", "group": "security", "label": "security", "required": false, "type": "object", "javaType": "io.netty.handler.ssl.SslHandler", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.netty.http.NettyHttpConfiguration", "configurationField": "configuration", "description": "Reference to a class that could be used to return an SSL Handler" },
- "trustStoreFile": { "index": 88, "kind": "parameter", "displayName": "Trust Store File", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.io.File", "deprecated": true, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.netty.http.NettyHttpConfiguration", "configurationField": "configuration", "description": "Server side certificate keystore to be used for encryption" },
- "trustStoreResource": { "index": 89, "kind": "parameter", "displayName": "Trust Store Resource", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "supportFileReference": true, "configurationClass": "org.apache.camel.component.netty.http.NettyHttpConfiguration", "configurationField": "configuration", "description": "Server side certificate keys [...]
+ "keyStoreFormat": { "index": 76, "kind": "parameter", "displayName": "Key Store Format", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.netty.http.NettyHttpConfiguration", "configurationField": "configuration", "description": "Keystore format to be used for payload encryption. Defaults to JKS if not set" },
+ "keyStoreResource": { "index": 77, "kind": "parameter", "displayName": "Key Store Resource", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "supportFileReference": true, "configurationClass": "org.apache.camel.component.netty.http.NettyHttpConfiguration", "configurationField": "configuration", "description": "Client side certificate keystore [...]
+ "needClientAuth": { "index": 78, "kind": "parameter", "displayName": "Need Client Auth", "group": "security", "label": "consumer,security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.netty.http.NettyHttpConfiguration", "configurationField": "configuration", "description": "Configures whether the server needs client authentication when us [...]
+ "passphrase": { "index": 79, "kind": "parameter", "displayName": "Passphrase", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "configurationClass": "org.apache.camel.component.netty.http.NettyHttpConfiguration", "configurationField": "configuration", "description": "Password setting to use in order to encrypt\/decrypt payloads sent using SSH" },
+ "securityConfiguration": { "index": 80, "kind": "parameter", "displayName": "Security Configuration", "group": "security", "label": "consumer,security", "required": false, "type": "object", "javaType": "org.apache.camel.component.netty.http.NettyHttpSecurityConfiguration", "deprecated": false, "autowired": false, "secret": false, "description": "Refers to a org.apache.camel.component.netty.http.NettyHttpSecurityConfiguration for configuring secure web resources." },
+ "securityOptions": { "index": 81, "kind": "parameter", "displayName": "Security Options", "group": "security", "label": "consumer,security", "required": false, "type": "object", "javaType": "java.util.Map<java.lang.String, java.lang.Object>", "prefix": "securityConfiguration.", "multiValue": true, "deprecated": false, "autowired": false, "secret": false, "description": "To configure NettyHttpSecurityConfiguration using key\/value pairs from the map. This is a multi-value option with [...]
+ "securityProvider": { "index": 82, "kind": "parameter", "displayName": "Security Provider", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.netty.http.NettyHttpConfiguration", "configurationField": "configuration", "description": "Security provider to be used for payload encryption. Defaults to SunX509 if not set." },
+ "ssl": { "index": 83, "kind": "parameter", "displayName": "Ssl", "group": "security", "label": "security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.netty.http.NettyHttpConfiguration", "configurationField": "configuration", "description": "Setting to specify whether SSL encryption is applied to this endpoint" },
+ "sslClientCertHeaders": { "index": 84, "kind": "parameter", "displayName": "Ssl Client Cert Headers", "group": "security", "label": "security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.netty.http.NettyHttpConfiguration", "configurationField": "configuration", "description": "When enabled and in SSL mode, then the Netty consumer will en [...]
+ "sslContextParameters": { "index": 85, "kind": "parameter", "displayName": "Ssl Context Parameters", "group": "security", "label": "security", "required": false, "type": "object", "javaType": "org.apache.camel.support.jsse.SSLContextParameters", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.netty.http.NettyHttpConfiguration", "configurationField": "configuration", "description": "To configure security using SSLContextParam [...]
+ "sslHandler": { "index": 86, "kind": "parameter", "displayName": "Ssl Handler", "group": "security", "label": "security", "required": false, "type": "object", "javaType": "io.netty.handler.ssl.SslHandler", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.netty.http.NettyHttpConfiguration", "configurationField": "configuration", "description": "Reference to a class that could be used to return an SSL Handler" },
+ "trustStoreResource": { "index": 87, "kind": "parameter", "displayName": "Trust Store Resource", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "supportFileReference": true, "configurationClass": "org.apache.camel.component.netty.http.NettyHttpConfiguration", "configurationField": "configuration", "description": "Server side certificate keys [...]
}
}
diff --git a/components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/HttpClientInitializerFactory.java b/components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/HttpClientInitializerFactory.java
index 5c2b73ba2e0..9aa91f14807 100644
--- a/components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/HttpClientInitializerFactory.java
+++ b/components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/HttpClientInitializerFactory.java
@@ -144,19 +144,10 @@ public class HttpClientInitializerFactory extends ClientInitializerFactory {
sniServerNames = answer.getSupportedSSLParameters().getServerNames();
}
} else {
- InitializerHelper.logConfiguration(configuration);
char[] pw = configuration.getPassphrase() != null ? configuration.getPassphrase().toCharArray() : null;
SSLEngineFactory sslEngineFactory;
- if (configuration.getKeyStoreFile() != null || configuration.getTrustStoreFile() != null) {
- sslEngineFactory = new SSLEngineFactory();
- answer = sslEngineFactory.createSSLContext(producer.getContext(),
- configuration.getKeyStoreFormat(),
- configuration.getSecurityProvider(),
- "file:" + configuration.getKeyStoreFile().getPath(),
- "file:" + configuration.getTrustStoreFile().getPath(),
- pw);
- } else if (configuration.getKeyStoreResource() != null || configuration.getTrustStoreResource() != null) {
+ if (configuration.getKeyStoreResource() != null || configuration.getTrustStoreResource() != null) {
sslEngineFactory = new SSLEngineFactory();
answer = sslEngineFactory.createSSLContext(producer.getContext(),
configuration.getKeyStoreFormat(),
diff --git a/components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/HttpServerInitializerFactory.java b/components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/HttpServerInitializerFactory.java
index dc0024fc40a..43623e9f79a 100644
--- a/components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/HttpServerInitializerFactory.java
+++ b/components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/HttpServerInitializerFactory.java
@@ -43,8 +43,6 @@ import org.apache.camel.component.netty.ssl.SSLEngineFactory;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
-import static org.apache.camel.component.netty.http.InitializerHelper.logConfiguration;
-
/**
* {@link ServerInitializerFactory} for the Netty HTTP server.
*/
@@ -150,27 +148,15 @@ public class HttpServerInitializerFactory extends ServerInitializerFactory {
if (configuration.getSslContextParameters() != null) {
answer = configuration.getSslContextParameters().createSSLContext(camelContext);
} else {
- logConfiguration(configuration);
char[] pw = configuration.getPassphrase() != null ? configuration.getPassphrase().toCharArray() : null;
- SSLEngineFactory sslEngineFactory;
- if (configuration.getKeyStoreFile() != null || configuration.getTrustStoreFile() != null) {
- sslEngineFactory = new SSLEngineFactory();
- answer = sslEngineFactory.createSSLContext(camelContext,
- configuration.getKeyStoreFormat(),
- configuration.getSecurityProvider(),
- "file:" + configuration.getKeyStoreFile().getPath(),
- "file:" + configuration.getTrustStoreFile().getPath(),
- pw);
- } else {
- sslEngineFactory = new SSLEngineFactory();
- answer = sslEngineFactory.createSSLContext(camelContext,
- configuration.getKeyStoreFormat(),
- configuration.getSecurityProvider(),
- configuration.getKeyStoreResource(),
- configuration.getTrustStoreResource(),
- pw);
- }
+ SSLEngineFactory sslEngineFactory = new SSLEngineFactory();
+ answer = sslEngineFactory.createSSLContext(camelContext,
+ configuration.getKeyStoreFormat(),
+ configuration.getSecurityProvider(),
+ configuration.getKeyStoreResource(),
+ configuration.getTrustStoreResource(),
+ pw);
}
return answer;
diff --git a/components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/HttpServerSharedInitializerFactory.java b/components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/HttpServerSharedInitializerFactory.java
index c4abf4845cb..8413675f419 100644
--- a/components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/HttpServerSharedInitializerFactory.java
+++ b/components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/HttpServerSharedInitializerFactory.java
@@ -110,28 +110,15 @@ public class HttpServerSharedInitializerFactory extends HttpServerInitializerFac
if (configuration.getSslContextParameters() != null) {
answer = configuration.getSslContextParameters().createSSLContext(null);
} else {
- InitializerHelper.logConfiguration(configuration);
-
char[] pw = configuration.getPassphrase() != null ? configuration.getPassphrase().toCharArray() : null;
- SSLEngineFactory sslEngineFactory;
- if (configuration.getKeyStoreFile() != null || configuration.getTrustStoreFile() != null) {
- sslEngineFactory = new SSLEngineFactory();
- answer = sslEngineFactory.createSSLContext(camelContext,
- configuration.getKeyStoreFormat(),
- configuration.getSecurityProvider(),
- "file:" + configuration.getKeyStoreFile().getPath(),
- "file:" + configuration.getTrustStoreFile().getPath(),
- pw);
- } else {
- sslEngineFactory = new SSLEngineFactory();
- answer = sslEngineFactory.createSSLContext(camelContext,
- configuration.getKeyStoreFormat(),
- configuration.getSecurityProvider(),
- configuration.getKeyStoreResource(),
- configuration.getTrustStoreResource(),
- pw);
- }
+ SSLEngineFactory sslEngineFactory = new SSLEngineFactory();
+ answer = sslEngineFactory.createSSLContext(camelContext,
+ configuration.getKeyStoreFormat(),
+ configuration.getSecurityProvider(),
+ configuration.getKeyStoreResource(),
+ configuration.getTrustStoreResource(),
+ pw);
}
return answer;
diff --git a/components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/InitializerHelper.java b/components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/InitializerHelper.java
deleted file mode 100644
index b59e230bd3f..00000000000
--- a/components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/InitializerHelper.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.camel.component.netty.http;
-
-import org.apache.camel.component.netty.NettyServerBootstrapConfiguration;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-public final class InitializerHelper {
- private static final Logger LOG = LoggerFactory.getLogger(InitializerHelper.class);
-
- private InitializerHelper() {
-
- }
-
- static void logConfiguration(NettyServerBootstrapConfiguration configuration) {
- if (configuration.getKeyStoreFile() == null && configuration.getKeyStoreResource() == null) {
- LOG.debug("keystorefile is null");
- }
- if (configuration.getTrustStoreFile() == null && configuration.getTrustStoreResource() == null) {
- LOG.debug("truststorefile is null");
- }
- if (configuration.getPassphrase() == null) {
- LOG.debug("passphrase is null");
- }
- }
-}
diff --git a/components/camel-netty/src/generated/java/org/apache/camel/component/netty/NettyComponentConfigurer.java b/components/camel-netty/src/generated/java/org/apache/camel/component/netty/NettyComponentConfigurer.java
index f19ccd5f262..4b209e68c14 100644
--- a/components/camel-netty/src/generated/java/org/apache/camel/component/netty/NettyComponentConfigurer.java
+++ b/components/camel-netty/src/generated/java/org/apache/camel/component/netty/NettyComponentConfigurer.java
@@ -74,8 +74,6 @@ public class NettyComponentConfigurer extends PropertyConfigurerSupport implemen
case "hostnameVerification": getOrCreateConfiguration(target).setHostnameVerification(property(camelContext, boolean.class, value)); return true;
case "keepalive":
case "keepAlive": getOrCreateConfiguration(target).setKeepAlive(property(camelContext, boolean.class, value)); return true;
- case "keystorefile":
- case "keyStoreFile": getOrCreateConfiguration(target).setKeyStoreFile(property(camelContext, java.io.File.class, value)); return true;
case "keystoreformat":
case "keyStoreFormat": getOrCreateConfiguration(target).setKeyStoreFormat(property(camelContext, java.lang.String.class, value)); return true;
case "keystoreresource":
@@ -150,8 +148,6 @@ public class NettyComponentConfigurer extends PropertyConfigurerSupport implemen
case "textline": getOrCreateConfiguration(target).setTextline(property(camelContext, boolean.class, value)); return true;
case "transferexchange":
case "transferExchange": getOrCreateConfiguration(target).setTransferExchange(property(camelContext, boolean.class, value)); return true;
- case "truststorefile":
- case "trustStoreFile": getOrCreateConfiguration(target).setTrustStoreFile(property(camelContext, java.io.File.class, value)); return true;
case "truststoreresource":
case "trustStoreResource": getOrCreateConfiguration(target).setTrustStoreResource(property(camelContext, java.lang.String.class, value)); return true;
case "udpbytearraycodec":
@@ -221,8 +217,6 @@ public class NettyComponentConfigurer extends PropertyConfigurerSupport implemen
case "hostnameVerification": return boolean.class;
case "keepalive":
case "keepAlive": return boolean.class;
- case "keystorefile":
- case "keyStoreFile": return java.io.File.class;
case "keystoreformat":
case "keyStoreFormat": return java.lang.String.class;
case "keystoreresource":
@@ -297,8 +291,6 @@ public class NettyComponentConfigurer extends PropertyConfigurerSupport implemen
case "textline": return boolean.class;
case "transferexchange":
case "transferExchange": return boolean.class;
- case "truststorefile":
- case "trustStoreFile": return java.io.File.class;
case "truststoreresource":
case "trustStoreResource": return java.lang.String.class;
case "udpbytearraycodec":
@@ -369,8 +361,6 @@ public class NettyComponentConfigurer extends PropertyConfigurerSupport implemen
case "hostnameVerification": return getOrCreateConfiguration(target).isHostnameVerification();
case "keepalive":
case "keepAlive": return getOrCreateConfiguration(target).isKeepAlive();
- case "keystorefile":
- case "keyStoreFile": return getOrCreateConfiguration(target).getKeyStoreFile();
case "keystoreformat":
case "keyStoreFormat": return getOrCreateConfiguration(target).getKeyStoreFormat();
case "keystoreresource":
@@ -445,8 +435,6 @@ public class NettyComponentConfigurer extends PropertyConfigurerSupport implemen
case "textline": return getOrCreateConfiguration(target).isTextline();
case "transferexchange":
case "transferExchange": return getOrCreateConfiguration(target).isTransferExchange();
- case "truststorefile":
- case "trustStoreFile": return getOrCreateConfiguration(target).getTrustStoreFile();
case "truststoreresource":
case "trustStoreResource": return getOrCreateConfiguration(target).getTrustStoreResource();
case "udpbytearraycodec":
diff --git a/components/camel-netty/src/generated/java/org/apache/camel/component/netty/NettyConfigurationConfigurer.java b/components/camel-netty/src/generated/java/org/apache/camel/component/netty/NettyConfigurationConfigurer.java
index 83701879b2c..b64ea6f6c25 100644
--- a/components/camel-netty/src/generated/java/org/apache/camel/component/netty/NettyConfigurationConfigurer.java
+++ b/components/camel-netty/src/generated/java/org/apache/camel/component/netty/NettyConfigurationConfigurer.java
@@ -41,8 +41,6 @@ public class NettyConfigurationConfigurer extends org.apache.camel.support.compo
case "clientInitializerFactory": target.setClientInitializerFactory(property(camelContext, org.apache.camel.component.netty.ClientInitializerFactory.class, value)); return true;
case "clientmode":
case "clientMode": target.setClientMode(property(camelContext, boolean.class, value)); return true;
- case "clientpipelinefactory":
- case "clientPipelineFactory": target.setClientPipelineFactory(property(camelContext, org.apache.camel.component.netty.ClientInitializerFactory.class, value)); return true;
case "connecttimeout":
case "connectTimeout": target.setConnectTimeout(property(camelContext, int.class, value)); return true;
case "correlationmanager":
@@ -67,8 +65,6 @@ public class NettyConfigurationConfigurer extends org.apache.camel.support.compo
case "hostnameVerification": target.setHostnameVerification(property(camelContext, boolean.class, value)); return true;
case "keepalive":
case "keepAlive": target.setKeepAlive(property(camelContext, boolean.class, value)); return true;
- case "keystorefile":
- case "keyStoreFile": target.setKeyStoreFile(property(camelContext, java.io.File.class, value)); return true;
case "keystoreformat":
case "keyStoreFormat": target.setKeyStoreFormat(property(camelContext, java.lang.String.class, value)); return true;
case "keystoreresource":
@@ -126,8 +122,6 @@ public class NettyConfigurationConfigurer extends org.apache.camel.support.compo
case "serverExceptionCaughtLogLevel": target.setServerExceptionCaughtLogLevel(property(camelContext, org.apache.camel.LoggingLevel.class, value)); return true;
case "serverinitializerfactory":
case "serverInitializerFactory": target.setServerInitializerFactory(property(camelContext, org.apache.camel.component.netty.ServerInitializerFactory.class, value)); return true;
- case "serverpipelinefactory":
- case "serverPipelineFactory": target.setServerPipelineFactory(property(camelContext, org.apache.camel.component.netty.ServerInitializerFactory.class, value)); return true;
case "shutdowntimeout":
case "shutdownTimeout": target.setShutdownTimeout(property(camelContext, int.class, value)); return true;
case "ssl": target.setSsl(property(camelContext, boolean.class, value)); return true;
@@ -143,8 +137,6 @@ public class NettyConfigurationConfigurer extends org.apache.camel.support.compo
case "textline": target.setTextline(property(camelContext, boolean.class, value)); return true;
case "transferexchange":
case "transferExchange": target.setTransferExchange(property(camelContext, boolean.class, value)); return true;
- case "truststorefile":
- case "trustStoreFile": target.setTrustStoreFile(property(camelContext, java.io.File.class, value)); return true;
case "truststoreresource":
case "trustStoreResource": target.setTrustStoreResource(property(camelContext, java.lang.String.class, value)); return true;
case "udpbytearraycodec":
@@ -186,8 +178,6 @@ public class NettyConfigurationConfigurer extends org.apache.camel.support.compo
case "clientInitializerFactory": return org.apache.camel.component.netty.ClientInitializerFactory.class;
case "clientmode":
case "clientMode": return boolean.class;
- case "clientpipelinefactory":
- case "clientPipelineFactory": return org.apache.camel.component.netty.ClientInitializerFactory.class;
case "connecttimeout":
case "connectTimeout": return int.class;
case "correlationmanager":
@@ -212,8 +202,6 @@ public class NettyConfigurationConfigurer extends org.apache.camel.support.compo
case "hostnameVerification": return boolean.class;
case "keepalive":
case "keepAlive": return boolean.class;
- case "keystorefile":
- case "keyStoreFile": return java.io.File.class;
case "keystoreformat":
case "keyStoreFormat": return java.lang.String.class;
case "keystoreresource":
@@ -271,8 +259,6 @@ public class NettyConfigurationConfigurer extends org.apache.camel.support.compo
case "serverExceptionCaughtLogLevel": return org.apache.camel.LoggingLevel.class;
case "serverinitializerfactory":
case "serverInitializerFactory": return org.apache.camel.component.netty.ServerInitializerFactory.class;
- case "serverpipelinefactory":
- case "serverPipelineFactory": return org.apache.camel.component.netty.ServerInitializerFactory.class;
case "shutdowntimeout":
case "shutdownTimeout": return int.class;
case "ssl": return boolean.class;
@@ -288,8 +274,6 @@ public class NettyConfigurationConfigurer extends org.apache.camel.support.compo
case "textline": return boolean.class;
case "transferexchange":
case "transferExchange": return boolean.class;
- case "truststorefile":
- case "trustStoreFile": return java.io.File.class;
case "truststoreresource":
case "trustStoreResource": return java.lang.String.class;
case "udpbytearraycodec":
@@ -332,8 +316,6 @@ public class NettyConfigurationConfigurer extends org.apache.camel.support.compo
case "clientInitializerFactory": return target.getClientInitializerFactory();
case "clientmode":
case "clientMode": return target.isClientMode();
- case "clientpipelinefactory":
- case "clientPipelineFactory": return target.getClientPipelineFactory();
case "connecttimeout":
case "connectTimeout": return target.getConnectTimeout();
case "correlationmanager":
@@ -358,8 +340,6 @@ public class NettyConfigurationConfigurer extends org.apache.camel.support.compo
case "hostnameVerification": return target.isHostnameVerification();
case "keepalive":
case "keepAlive": return target.isKeepAlive();
- case "keystorefile":
- case "keyStoreFile": return target.getKeyStoreFile();
case "keystoreformat":
case "keyStoreFormat": return target.getKeyStoreFormat();
case "keystoreresource":
@@ -417,8 +397,6 @@ public class NettyConfigurationConfigurer extends org.apache.camel.support.compo
case "serverExceptionCaughtLogLevel": return target.getServerExceptionCaughtLogLevel();
case "serverinitializerfactory":
case "serverInitializerFactory": return target.getServerInitializerFactory();
- case "serverpipelinefactory":
- case "serverPipelineFactory": return target.getServerPipelineFactory();
case "shutdowntimeout":
case "shutdownTimeout": return target.getShutdownTimeout();
case "ssl": return target.isSsl();
@@ -434,8 +412,6 @@ public class NettyConfigurationConfigurer extends org.apache.camel.support.compo
case "textline": return target.isTextline();
case "transferexchange":
case "transferExchange": return target.isTransferExchange();
- case "truststorefile":
- case "trustStoreFile": return target.getTrustStoreFile();
case "truststoreresource":
case "trustStoreResource": return target.getTrustStoreResource();
case "udpbytearraycodec":
diff --git a/components/camel-netty/src/generated/java/org/apache/camel/component/netty/NettyEndpointConfigurer.java b/components/camel-netty/src/generated/java/org/apache/camel/component/netty/NettyEndpointConfigurer.java
index cbfb3368b7e..e699863b185 100644
--- a/components/camel-netty/src/generated/java/org/apache/camel/component/netty/NettyEndpointConfigurer.java
+++ b/components/camel-netty/src/generated/java/org/apache/camel/component/netty/NettyEndpointConfigurer.java
@@ -66,8 +66,6 @@ public class NettyEndpointConfigurer extends PropertyConfigurerSupport implement
case "hostnameVerification": target.getConfiguration().setHostnameVerification(property(camelContext, boolean.class, value)); return true;
case "keepalive":
case "keepAlive": target.getConfiguration().setKeepAlive(property(camelContext, boolean.class, value)); return true;
- case "keystorefile":
- case "keyStoreFile": target.getConfiguration().setKeyStoreFile(property(camelContext, java.io.File.class, value)); return true;
case "keystoreformat":
case "keyStoreFormat": target.getConfiguration().setKeyStoreFormat(property(camelContext, java.lang.String.class, value)); return true;
case "keystoreresource":
@@ -141,8 +139,6 @@ public class NettyEndpointConfigurer extends PropertyConfigurerSupport implement
case "textline": target.getConfiguration().setTextline(property(camelContext, boolean.class, value)); return true;
case "transferexchange":
case "transferExchange": target.getConfiguration().setTransferExchange(property(camelContext, boolean.class, value)); return true;
- case "truststorefile":
- case "trustStoreFile": target.getConfiguration().setTrustStoreFile(property(camelContext, java.io.File.class, value)); return true;
case "truststoreresource":
case "trustStoreResource": target.getConfiguration().setTrustStoreResource(property(camelContext, java.lang.String.class, value)); return true;
case "udpbytearraycodec":
@@ -209,8 +205,6 @@ public class NettyEndpointConfigurer extends PropertyConfigurerSupport implement
case "hostnameVerification": return boolean.class;
case "keepalive":
case "keepAlive": return boolean.class;
- case "keystorefile":
- case "keyStoreFile": return java.io.File.class;
case "keystoreformat":
case "keyStoreFormat": return java.lang.String.class;
case "keystoreresource":
@@ -284,8 +278,6 @@ public class NettyEndpointConfigurer extends PropertyConfigurerSupport implement
case "textline": return boolean.class;
case "transferexchange":
case "transferExchange": return boolean.class;
- case "truststorefile":
- case "trustStoreFile": return java.io.File.class;
case "truststoreresource":
case "trustStoreResource": return java.lang.String.class;
case "udpbytearraycodec":
@@ -353,8 +345,6 @@ public class NettyEndpointConfigurer extends PropertyConfigurerSupport implement
case "hostnameVerification": return target.getConfiguration().isHostnameVerification();
case "keepalive":
case "keepAlive": return target.getConfiguration().isKeepAlive();
- case "keystorefile":
- case "keyStoreFile": return target.getConfiguration().getKeyStoreFile();
case "keystoreformat":
case "keyStoreFormat": return target.getConfiguration().getKeyStoreFormat();
case "keystoreresource":
@@ -428,8 +418,6 @@ public class NettyEndpointConfigurer extends PropertyConfigurerSupport implement
case "textline": return target.getConfiguration().isTextline();
case "transferexchange":
case "transferExchange": return target.getConfiguration().isTransferExchange();
- case "truststorefile":
- case "trustStoreFile": return target.getConfiguration().getTrustStoreFile();
case "truststoreresource":
case "trustStoreResource": return target.getConfiguration().getTrustStoreResource();
case "udpbytearraycodec":
diff --git a/components/camel-netty/src/generated/java/org/apache/camel/component/netty/NettyEndpointUriFactory.java b/components/camel-netty/src/generated/java/org/apache/camel/component/netty/NettyEndpointUriFactory.java
index f6193dc5e34..202cd85c66e 100644
--- a/components/camel-netty/src/generated/java/org/apache/camel/component/netty/NettyEndpointUriFactory.java
+++ b/components/camel-netty/src/generated/java/org/apache/camel/component/netty/NettyEndpointUriFactory.java
@@ -23,7 +23,7 @@ public class NettyEndpointUriFactory extends org.apache.camel.support.component.
private static final Set<String> SECRET_PROPERTY_NAMES;
private static final Set<String> MULTI_VALUE_PREFIXES;
static {
- Set<String> props = new HashSet<>(78);
+ Set<String> props = new HashSet<>(76);
props.add("allowDefaultCodec");
props.add("allowSerializedHeaders");
props.add("autoAppendDelimiter");
@@ -50,7 +50,6 @@ public class NettyEndpointUriFactory extends org.apache.camel.support.component.
props.add("host");
props.add("hostnameVerification");
props.add("keepAlive");
- props.add("keyStoreFile");
props.add("keyStoreFormat");
props.add("keyStoreResource");
props.add("lazyChannelCreation");
@@ -93,7 +92,6 @@ public class NettyEndpointUriFactory extends org.apache.camel.support.component.
props.add("tcpNoDelay");
props.add("textline");
props.add("transferExchange");
- props.add("trustStoreFile");
props.add("trustStoreResource");
props.add("udpByteArrayCodec");
props.add("udpConnectionlessSending");
diff --git a/components/camel-netty/src/generated/resources/META-INF/org/apache/camel/component/netty/netty.json b/components/camel-netty/src/generated/resources/META-INF/org/apache/camel/component/netty/netty.json
index ab247511457..2113cb37935 100644
--- a/components/camel-netty/src/generated/resources/META-INF/org/apache/camel/component/netty/netty.json
+++ b/components/camel-netty/src/generated/resources/META-INF/org/apache/camel/component/netty/netty.json
@@ -88,19 +88,17 @@
"textline": { "index": 61, "kind": "property", "displayName": "Textline", "group": "codec", "label": "codec", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Only used for TCP. If no codec is specified, you can use this flag to indicate a text line based codec; [...]
"enabledProtocols": { "index": 62, "kind": "property", "displayName": "Enabled Protocols", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "TLSv1.2,TLSv1.3", "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Which protocols to enable when using SSL" },
"hostnameVerification": { "index": 63, "kind": "property", "displayName": "Hostname Verification", "group": "security", "label": "common,security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "To enable\/disable hostname verification on SSLEngine" },
- "keyStoreFile": { "index": 64, "kind": "property", "displayName": "Key Store File", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.io.File", "deprecated": true, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Client side certificate keystore to be used for encryption" },
- "keyStoreFormat": { "index": 65, "kind": "property", "displayName": "Key Store Format", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Keystore format to be used for payload encryption. Defaults to JKS if not set" },
- "keyStoreResource": { "index": 66, "kind": "property", "displayName": "Key Store Resource", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "supportFileReference": true, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Client side certificate keystore to be use [...]
- "needClientAuth": { "index": 67, "kind": "property", "displayName": "Need Client Auth", "group": "security", "label": "consumer,security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Configures whether the server needs client authentication when using SSL." },
- "passphrase": { "index": 68, "kind": "property", "displayName": "Passphrase", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Password setting to use in order to encrypt\/decrypt payloads sent using SSH" },
- "securityProvider": { "index": 69, "kind": "property", "displayName": "Security Provider", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Security provider to be used for payload encryption. Defaults to SunX509 if not set." },
- "ssl": { "index": 70, "kind": "property", "displayName": "Ssl", "group": "security", "label": "security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Setting to specify whether SSL encryption is applied to this endpoint" },
- "sslClientCertHeaders": { "index": 71, "kind": "property", "displayName": "Ssl Client Cert Headers", "group": "security", "label": "security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "When enabled and in SSL mode, then the Netty consumer will enrich the C [...]
- "sslContextParameters": { "index": 72, "kind": "property", "displayName": "Ssl Context Parameters", "group": "security", "label": "security", "required": false, "type": "object", "javaType": "org.apache.camel.support.jsse.SSLContextParameters", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "To configure security using SSLContextParameters" },
- "sslHandler": { "index": 73, "kind": "property", "displayName": "Ssl Handler", "group": "security", "label": "security", "required": false, "type": "object", "javaType": "io.netty.handler.ssl.SslHandler", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Reference to a class that could be used to return an SSL Handler" },
- "trustStoreFile": { "index": 74, "kind": "property", "displayName": "Trust Store File", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.io.File", "deprecated": true, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Server side certificate keystore to be used for encryption" },
- "trustStoreResource": { "index": 75, "kind": "property", "displayName": "Trust Store Resource", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "supportFileReference": true, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Server side certificate keystore to be [...]
- "useGlobalSslContextParameters": { "index": 76, "kind": "property", "displayName": "Use Global Ssl Context Parameters", "group": "security", "label": "security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Enable usage of global SSL context parameters." }
+ "keyStoreFormat": { "index": 64, "kind": "property", "displayName": "Key Store Format", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Keystore format to be used for payload encryption. Defaults to JKS if not set" },
+ "keyStoreResource": { "index": 65, "kind": "property", "displayName": "Key Store Resource", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "supportFileReference": true, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Client side certificate keystore to be use [...]
+ "needClientAuth": { "index": 66, "kind": "property", "displayName": "Need Client Auth", "group": "security", "label": "consumer,security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Configures whether the server needs client authentication when using SSL." },
+ "passphrase": { "index": 67, "kind": "property", "displayName": "Passphrase", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Password setting to use in order to encrypt\/decrypt payloads sent using SSH" },
+ "securityProvider": { "index": 68, "kind": "property", "displayName": "Security Provider", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Security provider to be used for payload encryption. Defaults to SunX509 if not set." },
+ "ssl": { "index": 69, "kind": "property", "displayName": "Ssl", "group": "security", "label": "security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Setting to specify whether SSL encryption is applied to this endpoint" },
+ "sslClientCertHeaders": { "index": 70, "kind": "property", "displayName": "Ssl Client Cert Headers", "group": "security", "label": "security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "When enabled and in SSL mode, then the Netty consumer will enrich the C [...]
+ "sslContextParameters": { "index": 71, "kind": "property", "displayName": "Ssl Context Parameters", "group": "security", "label": "security", "required": false, "type": "object", "javaType": "org.apache.camel.support.jsse.SSLContextParameters", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "To configure security using SSLContextParameters" },
+ "sslHandler": { "index": 72, "kind": "property", "displayName": "Ssl Handler", "group": "security", "label": "security", "required": false, "type": "object", "javaType": "io.netty.handler.ssl.SslHandler", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Reference to a class that could be used to return an SSL Handler" },
+ "trustStoreResource": { "index": 73, "kind": "property", "displayName": "Trust Store Resource", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "supportFileReference": true, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Server side certificate keystore to be [...]
+ "useGlobalSslContextParameters": { "index": 74, "kind": "property", "displayName": "Use Global Ssl Context Parameters", "group": "security", "label": "security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Enable usage of global SSL context parameters." }
},
"headers": {
"CamelNettyCloseChannelWhenComplete": { "index": 0, "kind": "header", "displayName": "", "group": "common", "label": "", "required": false, "javaType": "Boolean", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "Indicates whether the channel should be closed after complete.", "constantName": "org.apache.camel.component.netty.NettyConstants#NETTY_CLOSE_CHANNEL_WHEN_COMPLETE" },
@@ -183,17 +181,15 @@
"textline": { "index": 63, "kind": "parameter", "displayName": "Textline", "group": "codec", "label": "codec", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Only used for TCP. If no codec is specified, you can use this flag to indicate a text line based codec; [...]
"enabledProtocols": { "index": 64, "kind": "parameter", "displayName": "Enabled Protocols", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "TLSv1.2,TLSv1.3", "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Which protocols to enable when using SSL" },
"hostnameVerification": { "index": 65, "kind": "parameter", "displayName": "Hostname Verification", "group": "security", "label": "common,security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "To enable\/disable hostname verification on SSLEngine" },
- "keyStoreFile": { "index": 66, "kind": "parameter", "displayName": "Key Store File", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.io.File", "deprecated": true, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Client side certificate keystore to be used for encryption" },
- "keyStoreFormat": { "index": 67, "kind": "parameter", "displayName": "Key Store Format", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Keystore format to be used for payload encryption. Defaults to JKS if not set" },
- "keyStoreResource": { "index": 68, "kind": "parameter", "displayName": "Key Store Resource", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "supportFileReference": true, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Client side certificate keystore to be us [...]
- "needClientAuth": { "index": 69, "kind": "parameter", "displayName": "Need Client Auth", "group": "security", "label": "consumer,security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Configures whether the server needs client authentication when using SSL." },
- "passphrase": { "index": 70, "kind": "parameter", "displayName": "Passphrase", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Password setting to use in order to encrypt\/decrypt payloads sent using SSH" },
- "securityProvider": { "index": 71, "kind": "parameter", "displayName": "Security Provider", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Security provider to be used for payload encryption. Defaults to SunX509 if not set." },
- "ssl": { "index": 72, "kind": "parameter", "displayName": "Ssl", "group": "security", "label": "security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Setting to specify whether SSL encryption is applied to this endpoint" },
- "sslClientCertHeaders": { "index": 73, "kind": "parameter", "displayName": "Ssl Client Cert Headers", "group": "security", "label": "security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "When enabled and in SSL mode, then the Netty consumer will enrich the [...]
- "sslContextParameters": { "index": 74, "kind": "parameter", "displayName": "Ssl Context Parameters", "group": "security", "label": "security", "required": false, "type": "object", "javaType": "org.apache.camel.support.jsse.SSLContextParameters", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "To configure security using SSLContextParameters" },
- "sslHandler": { "index": 75, "kind": "parameter", "displayName": "Ssl Handler", "group": "security", "label": "security", "required": false, "type": "object", "javaType": "io.netty.handler.ssl.SslHandler", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Reference to a class that could be used to return an SSL Handler" },
- "trustStoreFile": { "index": 76, "kind": "parameter", "displayName": "Trust Store File", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.io.File", "deprecated": true, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Server side certificate keystore to be used for encryption" },
- "trustStoreResource": { "index": 77, "kind": "parameter", "displayName": "Trust Store Resource", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "supportFileReference": true, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Server side certificate keystore to b [...]
+ "keyStoreFormat": { "index": 66, "kind": "parameter", "displayName": "Key Store Format", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Keystore format to be used for payload encryption. Defaults to JKS if not set" },
+ "keyStoreResource": { "index": 67, "kind": "parameter", "displayName": "Key Store Resource", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "supportFileReference": true, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Client side certificate keystore to be us [...]
+ "needClientAuth": { "index": 68, "kind": "parameter", "displayName": "Need Client Auth", "group": "security", "label": "consumer,security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Configures whether the server needs client authentication when using SSL." },
+ "passphrase": { "index": 69, "kind": "parameter", "displayName": "Passphrase", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Password setting to use in order to encrypt\/decrypt payloads sent using SSH" },
+ "securityProvider": { "index": 70, "kind": "parameter", "displayName": "Security Provider", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Security provider to be used for payload encryption. Defaults to SunX509 if not set." },
+ "ssl": { "index": 71, "kind": "parameter", "displayName": "Ssl", "group": "security", "label": "security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Setting to specify whether SSL encryption is applied to this endpoint" },
+ "sslClientCertHeaders": { "index": 72, "kind": "parameter", "displayName": "Ssl Client Cert Headers", "group": "security", "label": "security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "When enabled and in SSL mode, then the Netty consumer will enrich the [...]
+ "sslContextParameters": { "index": 73, "kind": "parameter", "displayName": "Ssl Context Parameters", "group": "security", "label": "security", "required": false, "type": "object", "javaType": "org.apache.camel.support.jsse.SSLContextParameters", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "To configure security using SSLContextParameters" },
+ "sslHandler": { "index": 74, "kind": "parameter", "displayName": "Ssl Handler", "group": "security", "label": "security", "required": false, "type": "object", "javaType": "io.netty.handler.ssl.SslHandler", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Reference to a class that could be used to return an SSL Handler" },
+ "trustStoreResource": { "index": 75, "kind": "parameter", "displayName": "Trust Store Resource", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "supportFileReference": true, "configurationClass": "org.apache.camel.component.netty.NettyConfiguration", "configurationField": "configuration", "description": "Server side certificate keystore to b [...]
}
}
diff --git a/components/camel-netty/src/main/docs/netty-component.adoc b/components/camel-netty/src/main/docs/netty-component.adoc
index ca548096a94..26056d3518b 100644
--- a/components/camel-netty/src/main/docs/netty-component.adoc
+++ b/components/camel-netty/src/main/docs/netty-component.adoc
@@ -96,10 +96,6 @@ not set
|`securityProvider` |Security provider to be used for payload encryption. Defaults to
`SunX509` if not set.
-|`keyStoreFile` |*deprecated:* Client side certificate keystore to be used for encryption
-
-|`trustStoreFile` |*deprecated:* Server side certificate keystore to be used for encryption
-
|`keyStoreResource` |Client side certificate keystore to be used for
encryption. It is loaded by default from classpath, but you can prefix with
`"classpath:"`, `"file:"`, or `"http:"` to load the resource from
@@ -615,16 +611,11 @@ Using Basic SSL/TLS configuration on the Jetty Component
[source,java]
----
-Registry registry = context.getRegistry();
-registry.bind("password", "changeit");
-registry.bind("ksf", new File("src/test/resources/keystore.jks"));
-registry.bind("tsf", new File("src/test/resources/keystore.jks"));
-
context.addRoutes(new RouteBuilder() {
public void configure() {
String netty_ssl_endpoint =
- "netty:tcp://0.0.0.0:5150?sync=true&ssl=true&passphrase=#password"
- + "&keyStoreFile=#ksf&trustStoreFile=#tsf";
+ "netty:tcp://0.0.0.0:5150?sync=true&ssl=true&passphrase=changeit"
+ + "&keyStoreResource=file:src/test/resources/keystore.jks&trustStoreResource=file:src/test/resources/keystore.jks";
String return_string =
"When You Go Home, Tell Them Of Us And Say,"
+ "For Your Tomorrow, We Gave Our Today.";
diff --git a/components/camel-netty/src/main/java/org/apache/camel/component/netty/DefaultClientInitializerFactory.java b/components/camel-netty/src/main/java/org/apache/camel/component/netty/DefaultClientInitializerFactory.java
index ce7759da545..0c897865bf9 100644
--- a/components/camel-netty/src/main/java/org/apache/camel/component/netty/DefaultClientInitializerFactory.java
+++ b/components/camel-netty/src/main/java/org/apache/camel/component/netty/DefaultClientInitializerFactory.java
@@ -115,34 +115,13 @@ public class DefaultClientInitializerFactory extends ClientInitializerFactory {
if (configuration.getSslContextParameters() != null) {
answer = configuration.getSslContextParameters().createSSLContext(producer.getContext());
} else {
- if (configuration.getKeyStoreFile() == null && configuration.getKeyStoreResource() == null) {
- LOG.debug("keystorefile is null");
- }
- if (configuration.getTrustStoreFile() == null && configuration.getTrustStoreResource() == null) {
- LOG.debug("truststorefile is null");
- }
- if (configuration.getPassphrase().toCharArray() == null) {
- LOG.debug("passphrase is null");
- }
-
- SSLEngineFactory sslEngineFactory;
- if (configuration.getKeyStoreFile() != null || configuration.getTrustStoreFile() != null) {
- sslEngineFactory = new SSLEngineFactory();
- answer = sslEngineFactory.createSSLContext(producer.getContext(),
- configuration.getKeyStoreFormat(),
- configuration.getSecurityProvider(),
- "file:" + configuration.getKeyStoreFile().getPath(),
- "file:" + configuration.getTrustStoreFile().getPath(),
- configuration.getPassphrase().toCharArray());
- } else {
- sslEngineFactory = new SSLEngineFactory();
- answer = sslEngineFactory.createSSLContext(producer.getContext(),
- configuration.getKeyStoreFormat(),
- configuration.getSecurityProvider(),
- configuration.getKeyStoreResource(),
- configuration.getTrustStoreResource(),
- configuration.getPassphrase().toCharArray());
- }
+ SSLEngineFactory sslEngineFactory = new SSLEngineFactory();
+ answer = sslEngineFactory.createSSLContext(producer.getContext(),
+ configuration.getKeyStoreFormat(),
+ configuration.getSecurityProvider(),
+ configuration.getKeyStoreResource(),
+ configuration.getTrustStoreResource(),
+ configuration.getPassphrase().toCharArray());
}
return answer;
diff --git a/components/camel-netty/src/main/java/org/apache/camel/component/netty/DefaultServerInitializerFactory.java b/components/camel-netty/src/main/java/org/apache/camel/component/netty/DefaultServerInitializerFactory.java
index bfc5fad422d..638f37ad7fc 100644
--- a/components/camel-netty/src/main/java/org/apache/camel/component/netty/DefaultServerInitializerFactory.java
+++ b/components/camel-netty/src/main/java/org/apache/camel/component/netty/DefaultServerInitializerFactory.java
@@ -40,20 +40,6 @@ public class DefaultServerInitializerFactory extends ServerInitializerFactory {
private NettyConsumer consumer;
private SSLContext sslContext;
- @Deprecated
- public DefaultServerInitializerFactory(NettyServerBootstrapConfiguration configuration) {
- this.consumer = null;
- try {
- this.sslContext = createSSLContext(null, configuration);
- } catch (Exception e) {
- throw RuntimeCamelException.wrapRuntimeCamelException(e);
- }
-
- if (sslContext != null) {
- LOG.info("Created SslContext {}", sslContext);
- }
- }
-
public DefaultServerInitializerFactory(NettyConsumer consumer) {
this.consumer = consumer;
try {
@@ -132,34 +118,13 @@ public class DefaultServerInitializerFactory extends ServerInitializerFactory {
if (configuration.getSslContextParameters() != null) {
answer = configuration.getSslContextParameters().createSSLContext(camelContext);
} else {
- if (configuration.getKeyStoreFile() == null && configuration.getKeyStoreResource() == null) {
- LOG.debug("keystorefile is null");
- }
- if (configuration.getTrustStoreFile() == null && configuration.getTrustStoreResource() == null) {
- LOG.debug("truststorefile is null");
- }
- if (configuration.getPassphrase().toCharArray() == null) {
- LOG.debug("passphrase is null");
- }
-
- SSLEngineFactory sslEngineFactory;
- if (configuration.getKeyStoreFile() != null || configuration.getTrustStoreFile() != null) {
- sslEngineFactory = new SSLEngineFactory();
- answer = sslEngineFactory.createSSLContext(camelContext,
- configuration.getKeyStoreFormat(),
- configuration.getSecurityProvider(),
- "file:" + configuration.getKeyStoreFile().getPath(),
- "file:" + configuration.getTrustStoreFile().getPath(),
- configuration.getPassphrase().toCharArray());
- } else {
- sslEngineFactory = new SSLEngineFactory();
- answer = sslEngineFactory.createSSLContext(camelContext,
- configuration.getKeyStoreFormat(),
- configuration.getSecurityProvider(),
- configuration.getKeyStoreResource(),
- configuration.getTrustStoreResource(),
- configuration.getPassphrase().toCharArray());
- }
+ SSLEngineFactory sslEngineFactory = new SSLEngineFactory();
+ answer = sslEngineFactory.createSSLContext(camelContext,
+ configuration.getKeyStoreFormat(),
+ configuration.getSecurityProvider(),
+ configuration.getKeyStoreResource(),
+ configuration.getTrustStoreResource(),
+ configuration.getPassphrase().toCharArray());
}
return answer;
diff --git a/components/camel-netty/src/main/java/org/apache/camel/component/netty/NettyConfiguration.java b/components/camel-netty/src/main/java/org/apache/camel/component/netty/NettyConfiguration.java
index de164628ae7..d8dc721e783 100644
--- a/components/camel-netty/src/main/java/org/apache/camel/component/netty/NettyConfiguration.java
+++ b/components/camel-netty/src/main/java/org/apache/camel/component/netty/NettyConfiguration.java
@@ -646,22 +646,6 @@ public class NettyConfiguration extends NettyServerBootstrapConfiguration implem
this.allowDefaultCodec = allowDefaultCodec;
}
- /**
- * @deprecated use #setClientInitializerFactory
- */
- @Deprecated
- public void setClientPipelineFactory(ClientInitializerFactory clientPipelineFactory) {
- this.clientInitializerFactory = clientPipelineFactory;
- }
-
- /**
- * @deprecated use #getClientInitializerFactory
- */
- @Deprecated
- public ClientInitializerFactory getClientPipelineFactory() {
- return clientInitializerFactory;
- }
-
public ClientInitializerFactory getClientInitializerFactory() {
return clientInitializerFactory;
}
diff --git a/components/camel-netty/src/main/java/org/apache/camel/component/netty/NettyServerBootstrapConfiguration.java b/components/camel-netty/src/main/java/org/apache/camel/component/netty/NettyServerBootstrapConfiguration.java
index aba7834ec36..31f090f2025 100644
--- a/components/camel-netty/src/main/java/org/apache/camel/component/netty/NettyServerBootstrapConfiguration.java
+++ b/components/camel-netty/src/main/java/org/apache/camel/component/netty/NettyServerBootstrapConfiguration.java
@@ -16,7 +16,6 @@
*/
package org.apache.camel.component.netty;
-import java.io.File;
import java.util.HashMap;
import java.util.Map;
import java.util.Objects;
@@ -99,12 +98,6 @@ public class NettyServerBootstrapConfiguration implements Cloneable {
@UriParam(label = "consumer,security",
description = "Configures whether the server needs client authentication when using SSL.")
protected boolean needClientAuth;
- @Deprecated
- @UriParam(label = "security", description = "Client side certificate keystore to be used for encryption")
- protected File keyStoreFile;
- @Deprecated
- @UriParam(label = "security", description = "Server side certificate keystore to be used for encryption")
- protected File trustStoreFile;
@UriParam(label = "security",
description = "Client side certificate keystore to be used for encryption. Is loaded by default from classpath, but you can"
+ " prefix with classpath:, file:, or http: to load the resource from different systems.")
@@ -449,32 +442,6 @@ public class NettyServerBootstrapConfiguration implements Cloneable {
this.needClientAuth = needClientAuth;
}
- @Deprecated
- public File getKeyStoreFile() {
- return keyStoreFile;
- }
-
- /**
- * Client side certificate keystore to be used for encryption
- */
- @Deprecated
- public void setKeyStoreFile(File keyStoreFile) {
- this.keyStoreFile = keyStoreFile;
- }
-
- @Deprecated
- public File getTrustStoreFile() {
- return trustStoreFile;
- }
-
- /**
- * Server side certificate keystore to be used for encryption
- */
- @Deprecated
- public void setTrustStoreFile(File trustStoreFile) {
- this.trustStoreFile = trustStoreFile;
- }
-
public String getKeyStoreResource() {
return keyStoreResource;
}
@@ -532,22 +499,6 @@ public class NettyServerBootstrapConfiguration implements Cloneable {
this.passphrase = passphrase;
}
- /**
- * @deprecated use #getServerInitializerFactory
- */
- @Deprecated
- public ServerInitializerFactory getServerPipelineFactory() {
- return serverInitializerFactory;
- }
-
- /**
- * @deprecated use #setServerInitializerFactory
- */
- @Deprecated
- public void setServerPipelineFactory(ServerInitializerFactory serverPipelineFactory) {
- this.serverInitializerFactory = serverPipelineFactory;
- }
-
public ServerInitializerFactory getServerInitializerFactory() {
return serverInitializerFactory;
}
@@ -757,10 +708,6 @@ public class NettyServerBootstrapConfiguration implements Cloneable {
isCompatible = false;
} else if (needClientAuth != other.needClientAuth) {
isCompatible = false;
- } else if (keyStoreFile != other.keyStoreFile) {
- isCompatible = false;
- } else if (trustStoreFile != other.trustStoreFile) {
- isCompatible = false;
} else if (keyStoreResource != null && !keyStoreResource.equals(other.keyStoreResource)) {
isCompatible = false;
} else if (trustStoreResource != null && !trustStoreResource.equals(other.trustStoreResource)) {
@@ -812,8 +759,6 @@ public class NettyServerBootstrapConfiguration implements Cloneable {
+ ", sslContextParameters='" + sslContextParameters + '\''
+ ", needClientAuth=" + needClientAuth
+ ", enabledProtocols='" + enabledProtocols
- + ", keyStoreFile=" + keyStoreFile
- + ", trustStoreFile=" + trustStoreFile
+ ", keyStoreResource='" + keyStoreResource + '\''
+ ", trustStoreResource='" + trustStoreResource + '\''
+ ", keyStoreFormat='" + keyStoreFormat + '\''
diff --git a/components/camel-netty/src/main/java/org/apache/camel/component/netty/util/SubnetUtils.java b/components/camel-netty/src/main/java/org/apache/camel/component/netty/util/SubnetUtils.java
index bd50aae6384..72289ab9e02 100644
--- a/components/camel-netty/src/main/java/org/apache/camel/component/netty/util/SubnetUtils.java
+++ b/components/camel-netty/src/main/java/org/apache/camel/component/netty/util/SubnetUtils.java
@@ -193,11 +193,9 @@ public class SubnetUtils {
/**
* Get the count of available addresses. Will be zero for CIDR/31 and CIDR/32 if the inclusive flag is false.
*
- * @return the count of addresses, may be zero.
- * @throws RuntimeException if the correct count is greater than {@code Integer.MAX_VALUE}
- * @deprecated use {@link #getAddressCountLong()} instead
+ * @return the count of addresses, may be zero.
+ * @throws RuntimeException if the correct count is greater than {@code Integer.MAX_VALUE}
*/
- @Deprecated
public int getAddressCount() {
long countLong = getAddressCountLong();
if (countLong > Integer.MAX_VALUE) {
@@ -219,10 +217,6 @@ public class SubnetUtils {
return count < 0 ? 0 : count;
}
- public int asInteger(String address) {
- return toInteger(address);
- }
-
public String getCidrSignature() {
return toCidrNotation(
format(toArray(address())),
@@ -243,11 +237,6 @@ public class SubnetUtils {
return addresses;
}
- /**
- * {@inheritDoc}
- *
- * @since 2.2
- */
@Override
public String toString() {
final StringBuilder buf = new StringBuilder();
diff --git a/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_15.adoc b/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_15.adoc
index a847d45a8c1..192946967d7 100644
--- a/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_15.adoc
+++ b/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_15.adoc
@@ -70,3 +70,8 @@ Should be changed to:
Removed the `tidyMarkup` DataFormat in the DSL as the implementation has been removed in earlier version,
but we forgot to remove it from the DSL model.
+
+=== camel-netty / camel-netty-http
+
+Removed deprecated options `keyStoreFile` and `trustStoreFile`. Use `keyStoreResource` and `trustStoreResources` instead,
+and prefix the value with `file:` as documented.
diff --git a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/NettyComponentBuilderFactory.java b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/NettyComponentBuilderFactory.java
index 7e0bd8c6e24..2f8eb79a747 100644
--- a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/NettyComponentBuilderFactory.java
+++ b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/NettyComponentBuilderFactory.java
@@ -1261,22 +1261,6 @@ public interface NettyComponentBuilderFactory {
return this;
}
- /**
- * Client side certificate keystore to be used for encryption.
- *
- * The option is a: <code>java.io.File</code> type.
- *
- * Group: security
- *
- * @param keyStoreFile the value to set
- * @return the dsl builder
- */
- @Deprecated
- default NettyComponentBuilder keyStoreFile(java.io.File keyStoreFile) {
- doSetProperty("keyStoreFile", keyStoreFile);
- return this;
- }
-
/**
* Keystore format to be used for payload encryption. Defaults to JKS if
* not set.
@@ -1433,22 +1417,6 @@ public interface NettyComponentBuilderFactory {
return this;
}
- /**
- * Server side certificate keystore to be used for encryption.
- *
- * The option is a: <code>java.io.File</code> type.
- *
- * Group: security
- *
- * @param trustStoreFile the value to set
- * @return the dsl builder
- */
- @Deprecated
- default NettyComponentBuilder trustStoreFile(java.io.File trustStoreFile) {
- doSetProperty("trustStoreFile", trustStoreFile);
- return this;
- }
-
/**
* Server side certificate keystore to be used for encryption. Is loaded
* by default from classpath, but you can prefix with classpath:, file:,
@@ -1570,7 +1538,6 @@ public interface NettyComponentBuilderFactory {
case "textline": getOrCreateConfiguration((NettyComponent) component).setTextline((boolean) value); return true;
case "enabledProtocols": getOrCreateConfiguration((NettyComponent) component).setEnabledProtocols((java.lang.String) value); return true;
case "hostnameVerification": getOrCreateConfiguration((NettyComponent) component).setHostnameVerification((boolean) value); return true;
- case "keyStoreFile": getOrCreateConfiguration((NettyComponent) component).setKeyStoreFile((java.io.File) value); return true;
case "keyStoreFormat": getOrCreateConfiguration((NettyComponent) component).setKeyStoreFormat((java.lang.String) value); return true;
case "keyStoreResource": getOrCreateConfiguration((NettyComponent) component).setKeyStoreResource((java.lang.String) value); return true;
case "needClientAuth": getOrCreateConfiguration((NettyComponent) component).setNeedClientAuth((boolean) value); return true;
@@ -1580,7 +1547,6 @@ public interface NettyComponentBuilderFactory {
case "sslClientCertHeaders": getOrCreateConfiguration((NettyComponent) component).setSslClientCertHeaders((boolean) value); return true;
case "sslContextParameters": getOrCreateConfiguration((NettyComponent) component).setSslContextParameters((org.apache.camel.support.jsse.SSLContextParameters) value); return true;
case "sslHandler": getOrCreateConfiguration((NettyComponent) component).setSslHandler((io.netty.handler.ssl.SslHandler) value); return true;
- case "trustStoreFile": getOrCreateConfiguration((NettyComponent) component).setTrustStoreFile((java.io.File) value); return true;
case "trustStoreResource": getOrCreateConfiguration((NettyComponent) component).setTrustStoreResource((java.lang.String) value); return true;
case "useGlobalSslContextParameters": ((NettyComponent) component).setUseGlobalSslContextParameters((boolean) value); return true;
default: return false;
diff --git a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/NettyHttpComponentBuilderFactory.java b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/NettyHttpComponentBuilderFactory.java
index 74328e3dcac..3f85f15d39c 100644
--- a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/NettyHttpComponentBuilderFactory.java
+++ b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/NettyHttpComponentBuilderFactory.java
@@ -1315,22 +1315,6 @@ public interface NettyHttpComponentBuilderFactory {
return this;
}
- /**
- * Client side certificate keystore to be used for encryption.
- *
- * The option is a: <code>java.io.File</code> type.
- *
- * Group: security
- *
- * @param keyStoreFile the value to set
- * @return the dsl builder
- */
- @Deprecated
- default NettyHttpComponentBuilder keyStoreFile(java.io.File keyStoreFile) {
- doSetProperty("keyStoreFile", keyStoreFile);
- return this;
- }
-
/**
* Keystore format to be used for payload encryption. Defaults to JKS if
* not set.
@@ -1505,22 +1489,6 @@ public interface NettyHttpComponentBuilderFactory {
return this;
}
- /**
- * Server side certificate keystore to be used for encryption.
- *
- * The option is a: <code>java.io.File</code> type.
- *
- * Group: security
- *
- * @param trustStoreFile the value to set
- * @return the dsl builder
- */
- @Deprecated
- default NettyHttpComponentBuilder trustStoreFile(java.io.File trustStoreFile) {
- doSetProperty("trustStoreFile", trustStoreFile);
- return this;
- }
-
/**
* Server side certificate keystore to be used for encryption. Is loaded
* by default from classpath, but you can prefix with classpath:, file:,
@@ -1645,7 +1613,6 @@ public interface NettyHttpComponentBuilderFactory {
case "textline": getOrCreateConfiguration((NettyHttpComponent) component).setTextline((boolean) value); return true;
case "enabledProtocols": getOrCreateConfiguration((NettyHttpComponent) component).setEnabledProtocols((java.lang.String) value); return true;
case "hostnameVerification": getOrCreateConfiguration((NettyHttpComponent) component).setHostnameVerification((boolean) value); return true;
- case "keyStoreFile": getOrCreateConfiguration((NettyHttpComponent) component).setKeyStoreFile((java.io.File) value); return true;
case "keyStoreFormat": getOrCreateConfiguration((NettyHttpComponent) component).setKeyStoreFormat((java.lang.String) value); return true;
case "keyStoreResource": getOrCreateConfiguration((NettyHttpComponent) component).setKeyStoreResource((java.lang.String) value); return true;
case "needClientAuth": getOrCreateConfiguration((NettyHttpComponent) component).setNeedClientAuth((boolean) value); return true;
@@ -1656,7 +1623,6 @@ public interface NettyHttpComponentBuilderFactory {
case "sslClientCertHeaders": getOrCreateConfiguration((NettyHttpComponent) component).setSslClientCertHeaders((boolean) value); return true;
case "sslContextParameters": getOrCreateConfiguration((NettyHttpComponent) component).setSslContextParameters((org.apache.camel.support.jsse.SSLContextParameters) value); return true;
case "sslHandler": getOrCreateConfiguration((NettyHttpComponent) component).setSslHandler((io.netty.handler.ssl.SslHandler) value); return true;
- case "trustStoreFile": getOrCreateConfiguration((NettyHttpComponent) component).setTrustStoreFile((java.io.File) value); return true;
case "trustStoreResource": getOrCreateConfiguration((NettyHttpComponent) component).setTrustStoreResource((java.lang.String) value); return true;
case "useGlobalSslContextParameters": ((NettyHttpComponent) component).setUseGlobalSslContextParameters((boolean) value); return true;
default: return false;
diff --git a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/NettyEndpointBuilderFactory.java b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/NettyEndpointBuilderFactory.java
index 7bd358034bc..c1224071e29 100644
--- a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/NettyEndpointBuilderFactory.java
+++ b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/NettyEndpointBuilderFactory.java
@@ -601,36 +601,6 @@ public interface NettyEndpointBuilderFactory {
doSetProperty("hostnameVerification", hostnameVerification);
return this;
}
- /**
- * Client side certificate keystore to be used for encryption.
- *
- * The option is a: <code>java.io.File</code> type.
- *
- * Group: security
- *
- * @param keyStoreFile the value to set
- * @return the dsl builder
- */
- @Deprecated
- default NettyEndpointConsumerBuilder keyStoreFile(java.io.File keyStoreFile) {
- doSetProperty("keyStoreFile", keyStoreFile);
- return this;
- }
- /**
- * Client side certificate keystore to be used for encryption.
- *
- * The option will be converted to a <code>java.io.File</code> type.
- *
- * Group: security
- *
- * @param keyStoreFile the value to set
- * @return the dsl builder
- */
- @Deprecated
- default NettyEndpointConsumerBuilder keyStoreFile(String keyStoreFile) {
- doSetProperty("keyStoreFile", keyStoreFile);
- return this;
- }
/**
* Keystore format to be used for payload encryption. Defaults to JKS if
* not set.
@@ -854,36 +824,6 @@ public interface NettyEndpointBuilderFactory {
doSetProperty("sslHandler", sslHandler);
return this;
}
- /**
- * Server side certificate keystore to be used for encryption.
- *
- * The option is a: <code>java.io.File</code> type.
- *
- * Group: security
- *
- * @param trustStoreFile the value to set
- * @return the dsl builder
- */
- @Deprecated
- default NettyEndpointConsumerBuilder trustStoreFile(java.io.File trustStoreFile) {
- doSetProperty("trustStoreFile", trustStoreFile);
- return this;
- }
- /**
- * Server side certificate keystore to be used for encryption.
- *
- * The option will be converted to a <code>java.io.File</code> type.
- *
- * Group: security
- *
- * @param trustStoreFile the value to set
- * @return the dsl builder
- */
- @Deprecated
- default NettyEndpointConsumerBuilder trustStoreFile(String trustStoreFile) {
- doSetProperty("trustStoreFile", trustStoreFile);
- return this;
- }
/**
* Server side certificate keystore to be used for encryption. Is loaded
* by default from classpath, but you can prefix with classpath:, file:,
@@ -2403,36 +2343,6 @@ public interface NettyEndpointBuilderFactory {
doSetProperty("hostnameVerification", hostnameVerification);
return this;
}
- /**
- * Client side certificate keystore to be used for encryption.
- *
- * The option is a: <code>java.io.File</code> type.
- *
- * Group: security
- *
- * @param keyStoreFile the value to set
- * @return the dsl builder
- */
- @Deprecated
- default NettyEndpointProducerBuilder keyStoreFile(java.io.File keyStoreFile) {
- doSetProperty("keyStoreFile", keyStoreFile);
- return this;
- }
- /**
- * Client side certificate keystore to be used for encryption.
- *
- * The option will be converted to a <code>java.io.File</code> type.
- *
- * Group: security
- *
- * @param keyStoreFile the value to set
- * @return the dsl builder
- */
- @Deprecated
- default NettyEndpointProducerBuilder keyStoreFile(String keyStoreFile) {
- doSetProperty("keyStoreFile", keyStoreFile);
- return this;
- }
/**
* Keystore format to be used for payload encryption. Defaults to JKS if
* not set.
@@ -2624,36 +2534,6 @@ public interface NettyEndpointBuilderFactory {
doSetProperty("sslHandler", sslHandler);
return this;
}
- /**
- * Server side certificate keystore to be used for encryption.
- *
- * The option is a: <code>java.io.File</code> type.
- *
- * Group: security
- *
- * @param trustStoreFile the value to set
- * @return the dsl builder
- */
- @Deprecated
- default NettyEndpointProducerBuilder trustStoreFile(java.io.File trustStoreFile) {
- doSetProperty("trustStoreFile", trustStoreFile);
- return this;
- }
- /**
- * Server side certificate keystore to be used for encryption.
- *
- * The option will be converted to a <code>java.io.File</code> type.
- *
- * Group: security
- *
- * @param trustStoreFile the value to set
- * @return the dsl builder
- */
- @Deprecated
- default NettyEndpointProducerBuilder trustStoreFile(String trustStoreFile) {
- doSetProperty("trustStoreFile", trustStoreFile);
- return this;
- }
/**
* Server side certificate keystore to be used for encryption. Is loaded
* by default from classpath, but you can prefix with classpath:, file:,
@@ -4118,36 +3998,6 @@ public interface NettyEndpointBuilderFactory {
doSetProperty("hostnameVerification", hostnameVerification);
return this;
}
- /**
- * Client side certificate keystore to be used for encryption.
- *
- * The option is a: <code>java.io.File</code> type.
- *
- * Group: security
- *
- * @param keyStoreFile the value to set
- * @return the dsl builder
- */
- @Deprecated
- default NettyEndpointBuilder keyStoreFile(java.io.File keyStoreFile) {
- doSetProperty("keyStoreFile", keyStoreFile);
- return this;
- }
- /**
- * Client side certificate keystore to be used for encryption.
- *
- * The option will be converted to a <code>java.io.File</code> type.
- *
- * Group: security
- *
- * @param keyStoreFile the value to set
- * @return the dsl builder
- */
- @Deprecated
- default NettyEndpointBuilder keyStoreFile(String keyStoreFile) {
- doSetProperty("keyStoreFile", keyStoreFile);
- return this;
- }
/**
* Keystore format to be used for payload encryption. Defaults to JKS if
* not set.
@@ -4339,36 +4189,6 @@ public interface NettyEndpointBuilderFactory {
doSetProperty("sslHandler", sslHandler);
return this;
}
- /**
- * Server side certificate keystore to be used for encryption.
- *
- * The option is a: <code>java.io.File</code> type.
- *
- * Group: security
- *
- * @param trustStoreFile the value to set
- * @return the dsl builder
- */
- @Deprecated
- default NettyEndpointBuilder trustStoreFile(java.io.File trustStoreFile) {
- doSetProperty("trustStoreFile", trustStoreFile);
- return this;
- }
- /**
- * Server side certificate keystore to be used for encryption.
- *
- * The option will be converted to a <code>java.io.File</code> type.
- *
- * Group: security
- *
- * @param trustStoreFile the value to set
- * @return the dsl builder
- */
- @Deprecated
- default NettyEndpointBuilder trustStoreFile(String trustStoreFile) {
- doSetProperty("trustStoreFile", trustStoreFile);
- return this;
- }
/**
* Server side certificate keystore to be used for encryption. Is loaded
* by default from classpath, but you can prefix with classpath:, file:,
diff --git a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/NettyHttpEndpointBuilderFactory.java b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/NettyHttpEndpointBuilderFactory.java
index e7ecf210906..fcd4c72b3a2 100644
--- a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/NettyHttpEndpointBuilderFactory.java
+++ b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/NettyHttpEndpointBuilderFactory.java
@@ -462,36 +462,6 @@ public interface NettyHttpEndpointBuilderFactory {
doSetProperty("hostnameVerification", hostnameVerification);
return this;
}
- /**
- * Client side certificate keystore to be used for encryption.
- *
- * The option is a: <code>java.io.File</code> type.
- *
- * Group: security
- *
- * @param keyStoreFile the value to set
- * @return the dsl builder
- */
- @Deprecated
- default NettyHttpEndpointConsumerBuilder keyStoreFile(java.io.File keyStoreFile) {
- doSetProperty("keyStoreFile", keyStoreFile);
- return this;
- }
- /**
- * Client side certificate keystore to be used for encryption.
- *
- * The option will be converted to a <code>java.io.File</code> type.
- *
- * Group: security
- *
- * @param keyStoreFile the value to set
- * @return the dsl builder
- */
- @Deprecated
- default NettyHttpEndpointConsumerBuilder keyStoreFile(String keyStoreFile) {
- doSetProperty("keyStoreFile", keyStoreFile);
- return this;
- }
/**
* Keystore format to be used for payload encryption. Defaults to JKS if
* not set.
@@ -790,36 +760,6 @@ public interface NettyHttpEndpointBuilderFactory {
doSetProperty("sslHandler", sslHandler);
return this;
}
- /**
- * Server side certificate keystore to be used for encryption.
- *
- * The option is a: <code>java.io.File</code> type.
- *
- * Group: security
- *
- * @param trustStoreFile the value to set
- * @return the dsl builder
- */
- @Deprecated
- default NettyHttpEndpointConsumerBuilder trustStoreFile(java.io.File trustStoreFile) {
- doSetProperty("trustStoreFile", trustStoreFile);
- return this;
- }
- /**
- * Server side certificate keystore to be used for encryption.
- *
- * The option will be converted to a <code>java.io.File</code> type.
- *
- * Group: security
- *
- * @param trustStoreFile the value to set
- * @return the dsl builder
- */
- @Deprecated
- default NettyHttpEndpointConsumerBuilder trustStoreFile(String trustStoreFile) {
- doSetProperty("trustStoreFile", trustStoreFile);
- return this;
- }
/**
* Server side certificate keystore to be used for encryption. Is loaded
* by default from classpath, but you can prefix with classpath:, file:,
@@ -2758,36 +2698,6 @@ public interface NettyHttpEndpointBuilderFactory {
doSetProperty("hostnameVerification", hostnameVerification);
return this;
}
- /**
- * Client side certificate keystore to be used for encryption.
- *
- * The option is a: <code>java.io.File</code> type.
- *
- * Group: security
- *
- * @param keyStoreFile the value to set
- * @return the dsl builder
- */
- @Deprecated
- default NettyHttpEndpointProducerBuilder keyStoreFile(java.io.File keyStoreFile) {
- doSetProperty("keyStoreFile", keyStoreFile);
- return this;
- }
- /**
- * Client side certificate keystore to be used for encryption.
- *
- * The option will be converted to a <code>java.io.File</code> type.
- *
- * Group: security
- *
- * @param keyStoreFile the value to set
- * @return the dsl builder
- */
- @Deprecated
- default NettyHttpEndpointProducerBuilder keyStoreFile(String keyStoreFile) {
- doSetProperty("keyStoreFile", keyStoreFile);
- return this;
- }
/**
* Keystore format to be used for payload encryption. Defaults to JKS if
* not set.
@@ -2979,36 +2889,6 @@ public interface NettyHttpEndpointBuilderFactory {
doSetProperty("sslHandler", sslHandler);
return this;
}
- /**
- * Server side certificate keystore to be used for encryption.
- *
- * The option is a: <code>java.io.File</code> type.
- *
- * Group: security
- *
- * @param trustStoreFile the value to set
- * @return the dsl builder
- */
- @Deprecated
- default NettyHttpEndpointProducerBuilder trustStoreFile(java.io.File trustStoreFile) {
- doSetProperty("trustStoreFile", trustStoreFile);
- return this;
- }
- /**
- * Server side certificate keystore to be used for encryption.
- *
- * The option will be converted to a <code>java.io.File</code> type.
- *
- * Group: security
- *
- * @param trustStoreFile the value to set
- * @return the dsl builder
- */
- @Deprecated
- default NettyHttpEndpointProducerBuilder trustStoreFile(String trustStoreFile) {
- doSetProperty("trustStoreFile", trustStoreFile);
- return this;
- }
/**
* Server side certificate keystore to be used for encryption. Is loaded
* by default from classpath, but you can prefix with classpath:, file:,
@@ -4419,36 +4299,6 @@ public interface NettyHttpEndpointBuilderFactory {
doSetProperty("hostnameVerification", hostnameVerification);
return this;
}
- /**
- * Client side certificate keystore to be used for encryption.
- *
- * The option is a: <code>java.io.File</code> type.
- *
- * Group: security
- *
- * @param keyStoreFile the value to set
- * @return the dsl builder
- */
- @Deprecated
- default NettyHttpEndpointBuilder keyStoreFile(java.io.File keyStoreFile) {
- doSetProperty("keyStoreFile", keyStoreFile);
- return this;
- }
- /**
- * Client side certificate keystore to be used for encryption.
- *
- * The option will be converted to a <code>java.io.File</code> type.
- *
- * Group: security
- *
- * @param keyStoreFile the value to set
- * @return the dsl builder
- */
- @Deprecated
- default NettyHttpEndpointBuilder keyStoreFile(String keyStoreFile) {
- doSetProperty("keyStoreFile", keyStoreFile);
- return this;
- }
/**
* Keystore format to be used for payload encryption. Defaults to JKS if
* not set.
@@ -4640,36 +4490,6 @@ public interface NettyHttpEndpointBuilderFactory {
doSetProperty("sslHandler", sslHandler);
return this;
}
- /**
- * Server side certificate keystore to be used for encryption.
- *
- * The option is a: <code>java.io.File</code> type.
- *
- * Group: security
- *
- * @param trustStoreFile the value to set
- * @return the dsl builder
- */
- @Deprecated
- default NettyHttpEndpointBuilder trustStoreFile(java.io.File trustStoreFile) {
- doSetProperty("trustStoreFile", trustStoreFile);
- return this;
- }
- /**
- * Server side certificate keystore to be used for encryption.
- *
- * The option will be converted to a <code>java.io.File</code> type.
- *
- * Group: security
- *
- * @param trustStoreFile the value to set
- * @return the dsl builder
- */
- @Deprecated
- default NettyHttpEndpointBuilder trustStoreFile(String trustStoreFile) {
- doSetProperty("trustStoreFile", trustStoreFile);
- return this;
- }
/**
* Server side certificate keystore to be used for encryption. Is loaded
* by default from classpath, but you can prefix with classpath:, file:,