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-spring-boot.git
The following commit(s) were added to refs/heads/main by this push:
new 6abe3c70e81 Regen
6abe3c70e81 is described below
commit 6abe3c70e810d140e31dddfeaebd6e872199931c
Author: Claus Ibsen <[email protected]>
AuthorDate: Wed Sep 18 13:23:15 2024 +0200
Regen
---
.../camel/springboot/catalog/components/jetty.json | 25 +++++++++++-----------
.../camel-jetty-starter/src/main/docs/jetty.json | 6 ++++++
.../JettyHttpComponentConfiguration12.java | 14 ++++++++++++
.../springboot/JettyHttpComponentConverter12.java | 2 ++
4 files changed, 35 insertions(+), 12 deletions(-)
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/jetty.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/jetty.json
index d8744be86fb..92b93ecf929 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/jetty.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/jetty.json
@@ -49,18 +49,19 @@
"httpBinding": { "index": 21, "kind": "property", "displayName": "Http
Binding", "group": "advanced", "label": "advanced", "required": false, "type":
"object", "javaType": "org.apache.camel.http.common.HttpBinding", "deprecated":
false, "deprecationNote": "", "autowired": false, "secret": false,
"description": "Not to be used - use JettyHttpBinding instead." },
"httpConfiguration": { "index": 22, "kind": "property", "displayName":
"Http Configuration", "group": "advanced", "label": "advanced", "required":
false, "type": "object", "javaType":
"org.apache.camel.http.common.HttpConfiguration", "deprecated": false,
"deprecationNote": "", "autowired": false, "secret": false, "description":
"Jetty component does not use HttpConfiguration." },
"mbContainer": { "index": 23, "kind": "property", "displayName": "Mb
Container", "group": "advanced", "label": "advanced", "required": false,
"type": "object", "javaType": "org.eclipse.jetty.jmx.MBeanContainer",
"deprecated": false, "deprecationNote": "", "autowired": false, "secret":
false, "description": "To use a existing configured
org.eclipse.jetty.jmx.MBeanContainer if JMX is enabled that Jetty uses for
registering mbeans." },
- "headerFilterStrategy": { "index": 24, "kind": "property", "displayName":
"Header Filter Strategy", "group": "filter", "label": "filter", "required":
false, "type": "object", "javaType":
"org.apache.camel.spi.HeaderFilterStrategy", "deprecated": false, "autowired":
false, "secret": false, "description": "To use a custom
org.apache.camel.spi.HeaderFilterStrategy to filter header to and from Camel
message." },
- "proxyHost": { "index": 25, "kind": "property", "displayName": "Proxy
Host", "group": "proxy", "label": "proxy", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": false, "description": "To use a http proxy to
configure the hostname." },
- "proxyPort": { "index": 26, "kind": "property", "displayName": "Proxy
Port", "group": "proxy", "label": "proxy", "required": false, "type":
"integer", "javaType": "java.lang.Integer", "deprecated": false,
"deprecationNote": "", "autowired": false, "secret": false, "description": "To
use a http proxy to configure the port number." },
- "keystore": { "index": 27, "kind": "property", "displayName": "Keystore",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": true, "description": "Specifies the location of
the Java keystore file, which contains the Jetty server's own X.509 certificate
in a key entry." },
- "socketConnectorProperties": { "index": 28, "kind": "property",
"displayName": "Socket Connector Properties", "group": "security", "label":
"security", "required": false, "type": "object", "javaType":
"java.util.Map<java.lang.String, java.lang.Object>", "deprecated": false,
"deprecationNote": "", "autowired": false, "secret": false, "description": "A
map which contains general HTTP connector properties. Uses the same principle
as sslSocketConnectorProperties." },
- "socketConnectors": { "index": 29, "kind": "property", "displayName":
"Socket Connectors", "group": "security", "label": "security", "required":
false, "type": "object", "javaType": "java.util.Map<java.lang.Integer,
org.eclipse.jetty.server.Connector>", "deprecated": false, "deprecationNote":
"", "autowired": false, "secret": false, "description": "A map which contains
per port number specific HTTP connectors. Uses the same principle as
sslSocketConnectors." },
- "sslContextParameters": { "index": 30, "kind": "property", "displayName":
"Ssl Context Parameters", "group": "security", "label": "security", "required":
false, "type": "object", "javaType":
"org.apache.camel.support.jsse.SSLContextParameters", "deprecated": false,
"deprecationNote": "", "autowired": false, "secret": false, "description": "To
configure security using SSLContextParameters" },
- "sslKeyPassword": { "index": 31, "kind": "property", "displayName": "Ssl
Key Password", "group": "security", "label": "security", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"deprecationNote": "", "autowired": false, "secret": true, "description": "The
key password, which is used to access the certificate's key entry in the
keystore (this is the same password that is supplied to the keystore command's
-keypass option)." },
- "sslPassword": { "index": 32, "kind": "property", "displayName": "Ssl
Password", "group": "security", "label": "security", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false,
"deprecationNote": "", "autowired": false, "secret": true, "description": "The
ssl password, which is required to access the keystore file (this is the same
password that is supplied to the keystore command's -storepass option)." },
- "sslSocketConnectorProperties": { "index": 33, "kind": "property",
"displayName": "Ssl Socket Connector Properties", "group": "security", "label":
"security", "required": false, "type": "object", "javaType":
"java.util.Map<java.lang.String, java.lang.Object>", "deprecated": false,
"deprecationNote": "", "autowired": false, "secret": false, "description": "A
map which contains general SSL connector properties." },
- "sslSocketConnectors": { "index": 34, "kind": "property", "displayName":
"Ssl Socket Connectors", "group": "security", "label": "security", "required":
false, "type": "object", "javaType": "java.util.Map<java.lang.Integer,
org.eclipse.jetty.server.Connector>", "deprecated": false, "deprecationNote":
"", "autowired": false, "secret": false, "description": "A map which contains
per port number specific SSL connectors." },
- "useGlobalSslContextParameters": { "index": 35, "kind": "property",
"displayName": "Use Global Ssl Context Parameters", "group": "security",
"label": "security", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "deprecationNote": "", "autowired": false,
"secret": false, "defaultValue": false, "description": "Enable usage of global
SSL context parameters" }
+ "requestLog": { "index": 24, "kind": "property", "displayName": "Request
Log", "group": "advanced", "label": "advanced", "required": false, "type":
"object", "javaType": "org.eclipse.jetty.server.RequestLog", "deprecated":
false, "deprecationNote": "", "autowired": false, "secret": false,
"description": "To configure Jetty request logging" },
+ "headerFilterStrategy": { "index": 25, "kind": "property", "displayName":
"Header Filter Strategy", "group": "filter", "label": "filter", "required":
false, "type": "object", "javaType":
"org.apache.camel.spi.HeaderFilterStrategy", "deprecated": false, "autowired":
false, "secret": false, "description": "To use a custom
org.apache.camel.spi.HeaderFilterStrategy to filter header to and from Camel
message." },
+ "proxyHost": { "index": 26, "kind": "property", "displayName": "Proxy
Host", "group": "proxy", "label": "proxy", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": false, "description": "To use a http proxy to
configure the hostname." },
+ "proxyPort": { "index": 27, "kind": "property", "displayName": "Proxy
Port", "group": "proxy", "label": "proxy", "required": false, "type":
"integer", "javaType": "java.lang.Integer", "deprecated": false,
"deprecationNote": "", "autowired": false, "secret": false, "description": "To
use a http proxy to configure the port number." },
+ "keystore": { "index": 28, "kind": "property", "displayName": "Keystore",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": true, "description": "Specifies the location of
the Java keystore file, which contains the Jetty server's own X.509 certificate
in a key entry." },
+ "socketConnectorProperties": { "index": 29, "kind": "property",
"displayName": "Socket Connector Properties", "group": "security", "label":
"security", "required": false, "type": "object", "javaType":
"java.util.Map<java.lang.String, java.lang.Object>", "deprecated": false,
"deprecationNote": "", "autowired": false, "secret": false, "description": "A
map which contains general HTTP connector properties. Uses the same principle
as sslSocketConnectorProperties." },
+ "socketConnectors": { "index": 30, "kind": "property", "displayName":
"Socket Connectors", "group": "security", "label": "security", "required":
false, "type": "object", "javaType": "java.util.Map<java.lang.Integer,
org.eclipse.jetty.server.Connector>", "deprecated": false, "deprecationNote":
"", "autowired": false, "secret": false, "description": "A map which contains
per port number specific HTTP connectors. Uses the same principle as
sslSocketConnectors." },
+ "sslContextParameters": { "index": 31, "kind": "property", "displayName":
"Ssl Context Parameters", "group": "security", "label": "security", "required":
false, "type": "object", "javaType":
"org.apache.camel.support.jsse.SSLContextParameters", "deprecated": false,
"deprecationNote": "", "autowired": false, "secret": false, "description": "To
configure security using SSLContextParameters" },
+ "sslKeyPassword": { "index": 32, "kind": "property", "displayName": "Ssl
Key Password", "group": "security", "label": "security", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"deprecationNote": "", "autowired": false, "secret": true, "description": "The
key password, which is used to access the certificate's key entry in the
keystore (this is the same password that is supplied to the keystore command's
-keypass option)." },
+ "sslPassword": { "index": 33, "kind": "property", "displayName": "Ssl
Password", "group": "security", "label": "security", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false,
"deprecationNote": "", "autowired": false, "secret": true, "description": "The
ssl password, which is required to access the keystore file (this is the same
password that is supplied to the keystore command's -storepass option)." },
+ "sslSocketConnectorProperties": { "index": 34, "kind": "property",
"displayName": "Ssl Socket Connector Properties", "group": "security", "label":
"security", "required": false, "type": "object", "javaType":
"java.util.Map<java.lang.String, java.lang.Object>", "deprecated": false,
"deprecationNote": "", "autowired": false, "secret": false, "description": "A
map which contains general SSL connector properties." },
+ "sslSocketConnectors": { "index": 35, "kind": "property", "displayName":
"Ssl Socket Connectors", "group": "security", "label": "security", "required":
false, "type": "object", "javaType": "java.util.Map<java.lang.Integer,
org.eclipse.jetty.server.Connector>", "deprecated": false, "deprecationNote":
"", "autowired": false, "secret": false, "description": "A map which contains
per port number specific SSL connectors." },
+ "useGlobalSslContextParameters": { "index": 36, "kind": "property",
"displayName": "Use Global Ssl Context Parameters", "group": "security",
"label": "security", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "deprecationNote": "", "autowired": false,
"secret": false, "defaultValue": false, "description": "Enable usage of global
SSL context parameters" }
},
"headers": {
"CamelServletContextPath": { "index": 0, "kind": "header", "displayName":
"", "group": "consumer", "label": "", "required": false, "javaType": "String",
"deprecated": false, "deprecationNote": "", "autowired": false, "secret":
false, "description": "The servlet context path used", "constantName":
"org.apache.camel.component.jetty.JettyHttpConstants#SERVLET_CONTEXT_PATH" },
diff --git a/components-starter/camel-jetty-starter/src/main/docs/jetty.json
b/components-starter/camel-jetty-starter/src/main/docs/jetty.json
index b62a471507e..003bb7d8bc3 100644
--- a/components-starter/camel-jetty-starter/src/main/docs/jetty.json
+++ b/components-starter/camel-jetty-starter/src/main/docs/jetty.json
@@ -165,6 +165,12 @@
"description": "Allows to configure a custom value of the request header
size on the Jetty connectors.",
"sourceType":
"org.apache.camel.component.jetty12.springboot.JettyHttpComponentConfiguration12"
},
+ {
+ "name": "camel.component.jetty.request-log",
+ "type": "org.eclipse.jetty.server.RequestLog",
+ "description": "To configure Jetty request logging. The option is a
org.eclipse.jetty.server.RequestLog type.",
+ "sourceType":
"org.apache.camel.component.jetty12.springboot.JettyHttpComponentConfiguration12"
+ },
{
"name": "camel.component.jetty.response-buffer-size",
"type": "java.lang.Integer",
diff --git
a/components-starter/camel-jetty-starter/src/main/java/org/apache/camel/component/jetty12/springboot/JettyHttpComponentConfiguration12.java
b/components-starter/camel-jetty-starter/src/main/java/org/apache/camel/component/jetty12/springboot/JettyHttpComponentConfiguration12.java
index 547c772ddf1..47f5e059e7c 100644
---
a/components-starter/camel-jetty-starter/src/main/java/org/apache/camel/component/jetty12/springboot/JettyHttpComponentConfiguration12.java
+++
b/components-starter/camel-jetty-starter/src/main/java/org/apache/camel/component/jetty12/springboot/JettyHttpComponentConfiguration12.java
@@ -24,6 +24,7 @@ import
org.apache.camel.spring.boot.ComponentConfigurationPropertiesCommon;
import org.apache.camel.support.jsse.SSLContextParameters;
import org.eclipse.jetty.jmx.MBeanContainer;
import org.eclipse.jetty.server.Connector;
+import org.eclipse.jetty.server.RequestLog;
import org.eclipse.jetty.server.handler.ErrorHandler;
import org.eclipse.jetty.util.thread.ThreadPool;
import org.springframework.boot.context.properties.ConfigurationProperties;
@@ -184,6 +185,11 @@ public class JettyHttpComponentConfiguration12
* org.eclipse.jetty.jmx.MBeanContainer type.
*/
private MBeanContainer mbContainer;
+ /**
+ * To configure Jetty request logging. The option is a
+ * org.eclipse.jetty.server.RequestLog type.
+ */
+ private RequestLog requestLog;
/**
* To use a custom org.apache.camel.spi.HeaderFilterStrategy to filter
* header to and from Camel message. The option is a
@@ -435,6 +441,14 @@ public class JettyHttpComponentConfiguration12
this.mbContainer = mbContainer;
}
+ public RequestLog getRequestLog() {
+ return requestLog;
+ }
+
+ public void setRequestLog(RequestLog requestLog) {
+ this.requestLog = requestLog;
+ }
+
public HeaderFilterStrategy getHeaderFilterStrategy() {
return headerFilterStrategy;
}
diff --git
a/components-starter/camel-jetty-starter/src/main/java/org/apache/camel/component/jetty12/springboot/JettyHttpComponentConverter12.java
b/components-starter/camel-jetty-starter/src/main/java/org/apache/camel/component/jetty12/springboot/JettyHttpComponentConverter12.java
index f901ab1b647..2884e1e412d 100644
---
a/components-starter/camel-jetty-starter/src/main/java/org/apache/camel/component/jetty12/springboot/JettyHttpComponentConverter12.java
+++
b/components-starter/camel-jetty-starter/src/main/java/org/apache/camel/component/jetty12/springboot/JettyHttpComponentConverter12.java
@@ -44,6 +44,7 @@ public class JettyHttpComponentConverter12 implements
GenericConverter {
answer.add(new ConvertiblePair(String.class,
org.apache.camel.http.common.HttpBinding.class));
answer.add(new ConvertiblePair(String.class,
org.apache.camel.http.common.HttpConfiguration.class));
answer.add(new ConvertiblePair(String.class,
org.eclipse.jetty.jmx.MBeanContainer.class));
+ answer.add(new ConvertiblePair(String.class,
org.eclipse.jetty.server.RequestLog.class));
answer.add(new ConvertiblePair(String.class,
org.apache.camel.spi.HeaderFilterStrategy.class));
answer.add(new ConvertiblePair(String.class,
org.apache.camel.support.jsse.SSLContextParameters.class));
return answer;
@@ -67,6 +68,7 @@ public class JettyHttpComponentConverter12 implements
GenericConverter {
case "org.apache.camel.http.common.HttpBinding": return
applicationContext.getBean(ref, org.apache.camel.http.common.HttpBinding.class);
case "org.apache.camel.http.common.HttpConfiguration": return
applicationContext.getBean(ref,
org.apache.camel.http.common.HttpConfiguration.class);
case "org.eclipse.jetty.jmx.MBeanContainer": return
applicationContext.getBean(ref, org.eclipse.jetty.jmx.MBeanContainer.class);
+ case "org.eclipse.jetty.server.RequestLog": return
applicationContext.getBean(ref, org.eclipse.jetty.server.RequestLog.class);
case "org.apache.camel.spi.HeaderFilterStrategy": return
applicationContext.getBean(ref,
org.apache.camel.spi.HeaderFilterStrategy.class);
case "org.apache.camel.support.jsse.SSLContextParameters": return
applicationContext.getBean(ref,
org.apache.camel.support.jsse.SSLContextParameters.class);
}