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 4f10226a73af CAMEL-22968: Add tracingPolicy option to vertx-http
component (#21299)
4f10226a73af is described below
commit 4f10226a73af1acf2f47466e6d60f7656522c23f
Author: James Netherton <[email protected]>
AuthorDate: Fri Feb 6 15:37:36 2026 +0000
CAMEL-22968: Add tracingPolicy option to vertx-http component (#21299)
---
.../camel/catalog/components/vertx-http.json | 60 ++++++------
.../vertx/http/VertxHttpComponentConfigurer.java | 6 ++
.../vertx/http/VertxHttpEndpointConfigurer.java | 6 ++
.../vertx/http/VertxHttpEndpointUriFactory.java | 3 +-
.../camel/component/vertx/http/vertx-http.json | 60 ++++++------
.../component/vertx/http/VertxHttpComponent.java | 18 ++++
.../vertx/http/VertxHttpConfiguration.java | 12 +++
.../component/vertx/http/VertxHttpEndpoint.java | 5 +
.../vertx/http/VertxHttpTracingPolicyTest.java | 108 +++++++++++++++++++++
.../dsl/VertxHttpComponentBuilderFactory.java | 19 ++++
.../dsl/VertxHttpEndpointBuilderFactory.java | 34 +++++++
11 files changed, 272 insertions(+), 59 deletions(-)
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/vertx-http.json
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/vertx-http.json
index 9fc0d7c8d00f..f80ba928dbca 100644
---
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/vertx-http.json
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/vertx-http.json
@@ -28,21 +28,22 @@
"responsePayloadAsByteArray": { "index": 1, "kind": "property",
"displayName": "Response Payload As Byte Array", "group": "producer", "label":
"producer", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": true,
"description": "Whether the response body should be byte or as
io.vertx.core.buffer.Buffer" },
"allowJavaSerializedObject": { "index": 2, "kind": "property",
"displayName": "Allow Java Serialized Object", "group": "advanced", "label":
"advanced", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
false, "description": "Whether to allow java serialization when a request has
the Content-Type application\/x-java-serialized-object This is disabled by
default. If you enable this, be aware that Java [...]
"autowiredEnabled": { "index": 3, "kind": "property", "displayName":
"Autowired Enabled", "group": "advanced", "label": "advanced", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": true, "description":
"Whether autowiring is enabled. This is used for automatic autowiring options
(the option must be marked as autowired) by looking up in the registry to find
if there is a single instance of matching t [...]
- "vertx": { "index": 4, "kind": "property", "displayName": "Vertx",
"group": "advanced", "label": "advanced", "required": false, "type": "object",
"javaType": "io.vertx.core.Vertx", "deprecated": false, "autowired": false,
"secret": false, "description": "To use an existing vertx instead of creating a
new instance" },
- "vertxHttpBinding": { "index": 5, "kind": "property", "displayName":
"Vertx Http Binding", "group": "advanced", "label": "advanced", "required":
false, "type": "object", "javaType":
"org.apache.camel.component.vertx.http.VertxHttpBinding", "deprecated": false,
"autowired": false, "secret": false, "description": "A custom VertxHttpBinding
which can control how to bind between Vert.x and Camel" },
- "vertxOptions": { "index": 6, "kind": "property", "displayName": "Vertx
Options", "group": "advanced", "label": "advanced", "required": false, "type":
"object", "javaType": "io.vertx.core.VertxOptions", "deprecated": false,
"autowired": false, "secret": false, "description": "To provide a custom set of
vertx options for configuring vertx" },
- "webClientOptions": { "index": 7, "kind": "property", "displayName": "Web
Client Options", "group": "advanced", "label": "advanced", "required": false,
"type": "object", "javaType": "io.vertx.ext.web.client.WebClientOptions",
"deprecated": false, "autowired": false, "secret": false, "description": "To
provide a custom set of options for configuring vertx web client" },
- "headerFilterStrategy": { "index": 8, "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": 9, "kind": "property", "displayName": "Proxy
Host", "group": "proxy", "label": "proxy", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "The proxy server host address" },
- "proxyPassword": { "index": 10, "kind": "property", "displayName": "Proxy
Password", "group": "proxy", "label": "proxy", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "description": "The proxy server password if
authentication is required" },
- "proxyPort": { "index": 11, "kind": "property", "displayName": "Proxy
Port", "group": "proxy", "label": "proxy", "required": false, "type":
"integer", "javaType": "java.lang.Integer", "deprecated": false, "autowired":
false, "secret": false, "description": "The proxy server port" },
- "proxyType": { "index": 12, "kind": "property", "displayName": "Proxy
Type", "group": "proxy", "label": "proxy", "required": false, "type": "enum",
"javaType": "io.vertx.core.net.ProxyType", "enum": [ "HTTP", "SOCKS4", "SOCKS5"
], "deprecated": false, "autowired": false, "secret": false, "description":
"The proxy server type" },
- "proxyUsername": { "index": 13, "kind": "property", "displayName": "Proxy
Username", "group": "proxy", "label": "proxy", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "description": "The proxy server username if
authentication is required" },
- "basicAuthPassword": { "index": 14, "kind": "property", "displayName":
"Basic Auth Password", "group": "security", "label": "security", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "description": "The password to use for
basic authentication" },
- "basicAuthUsername": { "index": 15, "kind": "property", "displayName":
"Basic Auth Username", "group": "security", "label": "security", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "description": "The user name to use for
basic authentication" },
- "bearerToken": { "index": 16, "kind": "property", "displayName": "Bearer
Token", "group": "security", "label": "security", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "description": "The bearer token to use for bearer
token authentication" },
- "sslContextParameters": { "index": 17, "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, "description": "To configure security
using SSLContextParameters" },
- "useGlobalSslContextParameters": { "index": 18, "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" }
+ "tracingPolicy": { "index": 4, "kind": "property", "displayName": "Tracing
Policy", "group": "advanced", "label": "advanced", "required": false, "type":
"enum", "javaType": "io.vertx.core.tracing.TracingPolicy", "enum": [ "IGNORE",
"PROPAGATE", "ALWAYS" ], "deprecated": false, "autowired": false, "secret":
false, "description": "The tracing policy used by the HTTP client when
integrating with observability frameworks such as OpenTelemetry. If not
specified the HTTP client applies a d [...]
+ "vertx": { "index": 5, "kind": "property", "displayName": "Vertx",
"group": "advanced", "label": "advanced", "required": false, "type": "object",
"javaType": "io.vertx.core.Vertx", "deprecated": false, "autowired": false,
"secret": false, "description": "To use an existing vertx instead of creating a
new instance" },
+ "vertxHttpBinding": { "index": 6, "kind": "property", "displayName":
"Vertx Http Binding", "group": "advanced", "label": "advanced", "required":
false, "type": "object", "javaType":
"org.apache.camel.component.vertx.http.VertxHttpBinding", "deprecated": false,
"autowired": false, "secret": false, "description": "A custom VertxHttpBinding
which can control how to bind between Vert.x and Camel" },
+ "vertxOptions": { "index": 7, "kind": "property", "displayName": "Vertx
Options", "group": "advanced", "label": "advanced", "required": false, "type":
"object", "javaType": "io.vertx.core.VertxOptions", "deprecated": false,
"autowired": false, "secret": false, "description": "To provide a custom set of
vertx options for configuring vertx" },
+ "webClientOptions": { "index": 8, "kind": "property", "displayName": "Web
Client Options", "group": "advanced", "label": "advanced", "required": false,
"type": "object", "javaType": "io.vertx.ext.web.client.WebClientOptions",
"deprecated": false, "autowired": false, "secret": false, "description": "To
provide a custom set of options for configuring vertx web client" },
+ "headerFilterStrategy": { "index": 9, "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": 10, "kind": "property", "displayName": "Proxy
Host", "group": "proxy", "label": "proxy", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "The proxy server host address" },
+ "proxyPassword": { "index": 11, "kind": "property", "displayName": "Proxy
Password", "group": "proxy", "label": "proxy", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "description": "The proxy server password if
authentication is required" },
+ "proxyPort": { "index": 12, "kind": "property", "displayName": "Proxy
Port", "group": "proxy", "label": "proxy", "required": false, "type":
"integer", "javaType": "java.lang.Integer", "deprecated": false, "autowired":
false, "secret": false, "description": "The proxy server port" },
+ "proxyType": { "index": 13, "kind": "property", "displayName": "Proxy
Type", "group": "proxy", "label": "proxy", "required": false, "type": "enum",
"javaType": "io.vertx.core.net.ProxyType", "enum": [ "HTTP", "SOCKS4", "SOCKS5"
], "deprecated": false, "autowired": false, "secret": false, "description":
"The proxy server type" },
+ "proxyUsername": { "index": 14, "kind": "property", "displayName": "Proxy
Username", "group": "proxy", "label": "proxy", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "description": "The proxy server username if
authentication is required" },
+ "basicAuthPassword": { "index": 15, "kind": "property", "displayName":
"Basic Auth Password", "group": "security", "label": "security", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "description": "The password to use for
basic authentication" },
+ "basicAuthUsername": { "index": 16, "kind": "property", "displayName":
"Basic Auth Username", "group": "security", "label": "security", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "description": "The user name to use for
basic authentication" },
+ "bearerToken": { "index": 17, "kind": "property", "displayName": "Bearer
Token", "group": "security", "label": "security", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "description": "The bearer token to use for bearer
token authentication" },
+ "sslContextParameters": { "index": 18, "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, "description": "To configure security
using SSLContextParameters" },
+ "useGlobalSslContextParameters": { "index": 19, "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": {
"CamelHttpMethod": { "index": 0, "kind": "header", "displayName": "",
"group": "producer", "label": "", "required": false, "javaType":
"io.vertx.core.http.HttpMethod", "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": false, "description": "The http method",
"constantName":
"org.apache.camel.component.vertx.http.VertxHttpConstants#HTTP_METHOD" },
@@ -68,19 +69,20 @@
"sessionManagement": { "index": 10, "kind": "parameter", "displayName":
"Session Management", "group": "producer", "label": "producer", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": false,
"configurationClass":
"org.apache.camel.component.vertx.http.VertxHttpConfiguration",
"configurationField": "configuration", "description": "Enables session
management via WebClientSession. By default the clien [...]
"throwExceptionOnFailure": { "index": 11, "kind": "parameter",
"displayName": "Throw Exception On Failure", "group": "producer", "label":
"producer", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": true,
"configurationClass":
"org.apache.camel.component.vertx.http.VertxHttpConfiguration",
"configurationField": "configuration", "description": "Disable throwing
HttpOperationFailedException in case of [...]
"timeout": { "index": 12, "kind": "parameter", "displayName": "Timeout",
"group": "producer", "label": "producer", "required": false, "type": "integer",
"javaType": "long", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": -1, "configurationClass":
"org.apache.camel.component.vertx.http.VertxHttpConfiguration",
"configurationField": "configuration", "description": "The amount of time in
milliseconds after which if the request does not return any data within th [...]
- "transferException": { "index": 13, "kind": "parameter", "displayName":
"Transfer Exception", "group": "producer", "label": "producer", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": false,
"configurationClass":
"org.apache.camel.component.vertx.http.VertxHttpConfiguration",
"configurationField": "configuration", "description": "If enabled and an
Exchange failed processing on the consumer side, an [...]
- "useCompression": { "index": 14, "kind": "parameter", "displayName": "Use
Compression", "group": "producer", "label": "producer", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.vertx.http.VertxHttpConfiguration",
"configurationField": "configuration", "description": "Set whether compression
is enabled to handled compressed (E.g gzipped) resp [...]
- "vertxHttpBinding": { "index": 15, "kind": "parameter", "displayName":
"Vertx Http Binding", "group": "producer", "label": "producer", "required":
false, "type": "object", "javaType":
"org.apache.camel.component.vertx.http.VertxHttpBinding", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.vertx.http.VertxHttpConfiguration",
"configurationField": "configuration", "description": "A custom
VertxHttpBinding which can control how [...]
- "webClientOptions": { "index": 16, "kind": "parameter", "displayName":
"Web Client Options", "group": "producer", "label": "producer", "required":
false, "type": "object", "javaType":
"io.vertx.ext.web.client.WebClientOptions", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.vertx.http.VertxHttpConfiguration",
"configurationField": "configuration", "description": "Sets customized options
for configuring the Vert.x WebClient" },
- "lazyStartProducer": { "index": 17, "kind": "parameter", "displayName":
"Lazy Start Producer", "group": "producer (advanced)", "label":
"producer,advanced", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "description": "Whether the producer should be started
lazy (on the first message). By starting lazy you can use this to allow
CamelContext and routes to startup in situations where a produ [...]
- "proxyHost": { "index": 18, "kind": "parameter", "displayName": "Proxy
Host", "group": "proxy", "label": "proxy", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.vertx.http.VertxHttpConfiguration",
"configurationField": "configuration", "description": "The proxy server host
address" },
- "proxyPassword": { "index": 19, "kind": "parameter", "displayName": "Proxy
Password", "group": "proxy", "label": "proxy", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.vertx.http.VertxHttpConfiguration",
"configurationField": "configuration", "description": "The proxy server
password if authentication is required" },
- "proxyPort": { "index": 20, "kind": "parameter", "displayName": "Proxy
Port", "group": "proxy", "label": "proxy", "required": false, "type":
"integer", "javaType": "java.lang.Integer", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.vertx.http.VertxHttpConfiguration",
"configurationField": "configuration", "description": "The proxy server port" },
- "proxyType": { "index": 21, "kind": "parameter", "displayName": "Proxy
Type", "group": "proxy", "label": "proxy", "required": false, "type": "enum",
"javaType": "io.vertx.core.net.ProxyType", "enum": [ "HTTP", "SOCKS4", "SOCKS5"
], "deprecated": false, "autowired": false, "secret": false,
"configurationClass":
"org.apache.camel.component.vertx.http.VertxHttpConfiguration",
"configurationField": "configuration", "description": "The proxy server type" },
- "proxyUsername": { "index": 22, "kind": "parameter", "displayName": "Proxy
Username", "group": "proxy", "label": "proxy", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.vertx.http.VertxHttpConfiguration",
"configurationField": "configuration", "description": "The proxy server
username if authentication is required" },
- "basicAuthPassword": { "index": 23, "kind": "parameter", "displayName":
"Basic Auth Password", "group": "security", "label": "security", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.vertx.http.VertxHttpConfiguration",
"configurationField": "configuration", "description": "The password to use for
basic authentication" },
- "basicAuthUsername": { "index": 24, "kind": "parameter", "displayName":
"Basic Auth Username", "group": "security", "label": "security", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.vertx.http.VertxHttpConfiguration",
"configurationField": "configuration", "description": "The user name to use for
basic authentication" },
- "bearerToken": { "index": 25, "kind": "parameter", "displayName": "Bearer
Token", "group": "security", "label": "security", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.vertx.http.VertxHttpConfiguration",
"configurationField": "configuration", "description": "The bearer token to use
for bearer token authentication" },
- "sslContextParameters": { "index": 26, "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.vertx.http.VertxHttpConfiguration",
"configurationField": "configuration", "description": "To configure security
using SSLContextParam [...]
+ "tracingPolicy": { "index": 13, "kind": "parameter", "displayName":
"Tracing Policy", "group": "producer", "label": "producer", "required": false,
"type": "enum", "javaType": "io.vertx.core.tracing.TracingPolicy", "enum": [
"IGNORE", "PROPAGATE", "ALWAYS" ], "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.vertx.http.VertxHttpConfiguration",
"configurationField": "configuration", "description": "The tracing policy used
by the [...]
+ "transferException": { "index": 14, "kind": "parameter", "displayName":
"Transfer Exception", "group": "producer", "label": "producer", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": false,
"configurationClass":
"org.apache.camel.component.vertx.http.VertxHttpConfiguration",
"configurationField": "configuration", "description": "If enabled and an
Exchange failed processing on the consumer side, an [...]
+ "useCompression": { "index": 15, "kind": "parameter", "displayName": "Use
Compression", "group": "producer", "label": "producer", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.vertx.http.VertxHttpConfiguration",
"configurationField": "configuration", "description": "Set whether compression
is enabled to handled compressed (E.g gzipped) resp [...]
+ "vertxHttpBinding": { "index": 16, "kind": "parameter", "displayName":
"Vertx Http Binding", "group": "producer", "label": "producer", "required":
false, "type": "object", "javaType":
"org.apache.camel.component.vertx.http.VertxHttpBinding", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.vertx.http.VertxHttpConfiguration",
"configurationField": "configuration", "description": "A custom
VertxHttpBinding which can control how [...]
+ "webClientOptions": { "index": 17, "kind": "parameter", "displayName":
"Web Client Options", "group": "producer", "label": "producer", "required":
false, "type": "object", "javaType":
"io.vertx.ext.web.client.WebClientOptions", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.vertx.http.VertxHttpConfiguration",
"configurationField": "configuration", "description": "Sets customized options
for configuring the Vert.x WebClient" },
+ "lazyStartProducer": { "index": 18, "kind": "parameter", "displayName":
"Lazy Start Producer", "group": "producer (advanced)", "label":
"producer,advanced", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "description": "Whether the producer should be started
lazy (on the first message). By starting lazy you can use this to allow
CamelContext and routes to startup in situations where a produ [...]
+ "proxyHost": { "index": 19, "kind": "parameter", "displayName": "Proxy
Host", "group": "proxy", "label": "proxy", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.vertx.http.VertxHttpConfiguration",
"configurationField": "configuration", "description": "The proxy server host
address" },
+ "proxyPassword": { "index": 20, "kind": "parameter", "displayName": "Proxy
Password", "group": "proxy", "label": "proxy", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.vertx.http.VertxHttpConfiguration",
"configurationField": "configuration", "description": "The proxy server
password if authentication is required" },
+ "proxyPort": { "index": 21, "kind": "parameter", "displayName": "Proxy
Port", "group": "proxy", "label": "proxy", "required": false, "type":
"integer", "javaType": "java.lang.Integer", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.vertx.http.VertxHttpConfiguration",
"configurationField": "configuration", "description": "The proxy server port" },
+ "proxyType": { "index": 22, "kind": "parameter", "displayName": "Proxy
Type", "group": "proxy", "label": "proxy", "required": false, "type": "enum",
"javaType": "io.vertx.core.net.ProxyType", "enum": [ "HTTP", "SOCKS4", "SOCKS5"
], "deprecated": false, "autowired": false, "secret": false,
"configurationClass":
"org.apache.camel.component.vertx.http.VertxHttpConfiguration",
"configurationField": "configuration", "description": "The proxy server type" },
+ "proxyUsername": { "index": 23, "kind": "parameter", "displayName": "Proxy
Username", "group": "proxy", "label": "proxy", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.vertx.http.VertxHttpConfiguration",
"configurationField": "configuration", "description": "The proxy server
username if authentication is required" },
+ "basicAuthPassword": { "index": 24, "kind": "parameter", "displayName":
"Basic Auth Password", "group": "security", "label": "security", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.vertx.http.VertxHttpConfiguration",
"configurationField": "configuration", "description": "The password to use for
basic authentication" },
+ "basicAuthUsername": { "index": 25, "kind": "parameter", "displayName":
"Basic Auth Username", "group": "security", "label": "security", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.vertx.http.VertxHttpConfiguration",
"configurationField": "configuration", "description": "The user name to use for
basic authentication" },
+ "bearerToken": { "index": 26, "kind": "parameter", "displayName": "Bearer
Token", "group": "security", "label": "security", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.vertx.http.VertxHttpConfiguration",
"configurationField": "configuration", "description": "The bearer token to use
for bearer token authentication" },
+ "sslContextParameters": { "index": 27, "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.vertx.http.VertxHttpConfiguration",
"configurationField": "configuration", "description": "To configure security
using SSLContextParam [...]
}
}
diff --git
a/components/camel-vertx/camel-vertx-http/src/generated/java/org/apache/camel/component/vertx/http/VertxHttpComponentConfigurer.java
b/components/camel-vertx/camel-vertx-http/src/generated/java/org/apache/camel/component/vertx/http/VertxHttpComponentConfigurer.java
index b5f500d9b4bb..ee8fdc9bae5a 100644
---
a/components/camel-vertx/camel-vertx-http/src/generated/java/org/apache/camel/component/vertx/http/VertxHttpComponentConfigurer.java
+++
b/components/camel-vertx/camel-vertx-http/src/generated/java/org/apache/camel/component/vertx/http/VertxHttpComponentConfigurer.java
@@ -51,6 +51,8 @@ public class VertxHttpComponentConfigurer extends
PropertyConfigurerSupport impl
case "responsePayloadAsByteArray":
target.setResponsePayloadAsByteArray(property(camelContext, boolean.class,
value)); return true;
case "sslcontextparameters":
case "sslContextParameters":
target.setSslContextParameters(property(camelContext,
org.apache.camel.support.jsse.SSLContextParameters.class, value)); return true;
+ case "tracingpolicy":
+ case "tracingPolicy": target.setTracingPolicy(property(camelContext,
io.vertx.core.tracing.TracingPolicy.class, value)); return true;
case "useglobalsslcontextparameters":
case "useGlobalSslContextParameters":
target.setUseGlobalSslContextParameters(property(camelContext, boolean.class,
value)); return true;
case "vertx": target.setVertx(property(camelContext,
io.vertx.core.Vertx.class, value)); return true;
@@ -95,6 +97,8 @@ public class VertxHttpComponentConfigurer extends
PropertyConfigurerSupport impl
case "responsePayloadAsByteArray": return boolean.class;
case "sslcontextparameters":
case "sslContextParameters": return
org.apache.camel.support.jsse.SSLContextParameters.class;
+ case "tracingpolicy":
+ case "tracingPolicy": return io.vertx.core.tracing.TracingPolicy.class;
case "useglobalsslcontextparameters":
case "useGlobalSslContextParameters": return boolean.class;
case "vertx": return io.vertx.core.Vertx.class;
@@ -140,6 +144,8 @@ public class VertxHttpComponentConfigurer extends
PropertyConfigurerSupport impl
case "responsePayloadAsByteArray": return
target.isResponsePayloadAsByteArray();
case "sslcontextparameters":
case "sslContextParameters": return target.getSslContextParameters();
+ case "tracingpolicy":
+ case "tracingPolicy": return target.getTracingPolicy();
case "useglobalsslcontextparameters":
case "useGlobalSslContextParameters": return
target.isUseGlobalSslContextParameters();
case "vertx": return target.getVertx();
diff --git
a/components/camel-vertx/camel-vertx-http/src/generated/java/org/apache/camel/component/vertx/http/VertxHttpEndpointConfigurer.java
b/components/camel-vertx/camel-vertx-http/src/generated/java/org/apache/camel/component/vertx/http/VertxHttpEndpointConfigurer.java
index 3bb1456b683b..028d2a57c19d 100644
---
a/components/camel-vertx/camel-vertx-http/src/generated/java/org/apache/camel/component/vertx/http/VertxHttpEndpointConfigurer.java
+++
b/components/camel-vertx/camel-vertx-http/src/generated/java/org/apache/camel/component/vertx/http/VertxHttpEndpointConfigurer.java
@@ -66,6 +66,8 @@ public class VertxHttpEndpointConfigurer extends
PropertyConfigurerSupport imple
case "throwexceptiononfailure":
case "throwExceptionOnFailure":
target.getConfiguration().setThrowExceptionOnFailure(property(camelContext,
boolean.class, value)); return true;
case "timeout":
target.getConfiguration().setTimeout(property(camelContext, long.class,
value)); return true;
+ case "tracingpolicy":
+ case "tracingPolicy":
target.getConfiguration().setTracingPolicy(property(camelContext,
io.vertx.core.tracing.TracingPolicy.class, value)); return true;
case "transferexception":
case "transferException":
target.getConfiguration().setTransferException(property(camelContext,
boolean.class, value)); return true;
case "usecompression":
@@ -124,6 +126,8 @@ public class VertxHttpEndpointConfigurer extends
PropertyConfigurerSupport imple
case "throwexceptiononfailure":
case "throwExceptionOnFailure": return boolean.class;
case "timeout": return long.class;
+ case "tracingpolicy":
+ case "tracingPolicy": return io.vertx.core.tracing.TracingPolicy.class;
case "transferexception":
case "transferException": return boolean.class;
case "usecompression":
@@ -183,6 +187,8 @@ public class VertxHttpEndpointConfigurer extends
PropertyConfigurerSupport imple
case "throwexceptiononfailure":
case "throwExceptionOnFailure": return
target.getConfiguration().isThrowExceptionOnFailure();
case "timeout": return target.getConfiguration().getTimeout();
+ case "tracingpolicy":
+ case "tracingPolicy": return
target.getConfiguration().getTracingPolicy();
case "transferexception":
case "transferException": return
target.getConfiguration().isTransferException();
case "usecompression":
diff --git
a/components/camel-vertx/camel-vertx-http/src/generated/java/org/apache/camel/component/vertx/http/VertxHttpEndpointUriFactory.java
b/components/camel-vertx/camel-vertx-http/src/generated/java/org/apache/camel/component/vertx/http/VertxHttpEndpointUriFactory.java
index b47c08f6da65..15753f394fb2 100644
---
a/components/camel-vertx/camel-vertx-http/src/generated/java/org/apache/camel/component/vertx/http/VertxHttpEndpointUriFactory.java
+++
b/components/camel-vertx/camel-vertx-http/src/generated/java/org/apache/camel/component/vertx/http/VertxHttpEndpointUriFactory.java
@@ -23,7 +23,7 @@ public class VertxHttpEndpointUriFactory extends
org.apache.camel.support.compon
private static final Set<String> SECRET_PROPERTY_NAMES;
private static final Map<String, String> MULTI_VALUE_PREFIXES;
static {
- Set<String> props = new HashSet<>(27);
+ Set<String> props = new HashSet<>(28);
props.add("basicAuthPassword");
props.add("basicAuthUsername");
props.add("bearerToken");
@@ -47,6 +47,7 @@ public class VertxHttpEndpointUriFactory extends
org.apache.camel.support.compon
props.add("sslContextParameters");
props.add("throwExceptionOnFailure");
props.add("timeout");
+ props.add("tracingPolicy");
props.add("transferException");
props.add("useCompression");
props.add("vertxHttpBinding");
diff --git
a/components/camel-vertx/camel-vertx-http/src/generated/resources/META-INF/org/apache/camel/component/vertx/http/vertx-http.json
b/components/camel-vertx/camel-vertx-http/src/generated/resources/META-INF/org/apache/camel/component/vertx/http/vertx-http.json
index 9fc0d7c8d00f..f80ba928dbca 100644
---
a/components/camel-vertx/camel-vertx-http/src/generated/resources/META-INF/org/apache/camel/component/vertx/http/vertx-http.json
+++
b/components/camel-vertx/camel-vertx-http/src/generated/resources/META-INF/org/apache/camel/component/vertx/http/vertx-http.json
@@ -28,21 +28,22 @@
"responsePayloadAsByteArray": { "index": 1, "kind": "property",
"displayName": "Response Payload As Byte Array", "group": "producer", "label":
"producer", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": true,
"description": "Whether the response body should be byte or as
io.vertx.core.buffer.Buffer" },
"allowJavaSerializedObject": { "index": 2, "kind": "property",
"displayName": "Allow Java Serialized Object", "group": "advanced", "label":
"advanced", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
false, "description": "Whether to allow java serialization when a request has
the Content-Type application\/x-java-serialized-object This is disabled by
default. If you enable this, be aware that Java [...]
"autowiredEnabled": { "index": 3, "kind": "property", "displayName":
"Autowired Enabled", "group": "advanced", "label": "advanced", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": true, "description":
"Whether autowiring is enabled. This is used for automatic autowiring options
(the option must be marked as autowired) by looking up in the registry to find
if there is a single instance of matching t [...]
- "vertx": { "index": 4, "kind": "property", "displayName": "Vertx",
"group": "advanced", "label": "advanced", "required": false, "type": "object",
"javaType": "io.vertx.core.Vertx", "deprecated": false, "autowired": false,
"secret": false, "description": "To use an existing vertx instead of creating a
new instance" },
- "vertxHttpBinding": { "index": 5, "kind": "property", "displayName":
"Vertx Http Binding", "group": "advanced", "label": "advanced", "required":
false, "type": "object", "javaType":
"org.apache.camel.component.vertx.http.VertxHttpBinding", "deprecated": false,
"autowired": false, "secret": false, "description": "A custom VertxHttpBinding
which can control how to bind between Vert.x and Camel" },
- "vertxOptions": { "index": 6, "kind": "property", "displayName": "Vertx
Options", "group": "advanced", "label": "advanced", "required": false, "type":
"object", "javaType": "io.vertx.core.VertxOptions", "deprecated": false,
"autowired": false, "secret": false, "description": "To provide a custom set of
vertx options for configuring vertx" },
- "webClientOptions": { "index": 7, "kind": "property", "displayName": "Web
Client Options", "group": "advanced", "label": "advanced", "required": false,
"type": "object", "javaType": "io.vertx.ext.web.client.WebClientOptions",
"deprecated": false, "autowired": false, "secret": false, "description": "To
provide a custom set of options for configuring vertx web client" },
- "headerFilterStrategy": { "index": 8, "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": 9, "kind": "property", "displayName": "Proxy
Host", "group": "proxy", "label": "proxy", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "The proxy server host address" },
- "proxyPassword": { "index": 10, "kind": "property", "displayName": "Proxy
Password", "group": "proxy", "label": "proxy", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "description": "The proxy server password if
authentication is required" },
- "proxyPort": { "index": 11, "kind": "property", "displayName": "Proxy
Port", "group": "proxy", "label": "proxy", "required": false, "type":
"integer", "javaType": "java.lang.Integer", "deprecated": false, "autowired":
false, "secret": false, "description": "The proxy server port" },
- "proxyType": { "index": 12, "kind": "property", "displayName": "Proxy
Type", "group": "proxy", "label": "proxy", "required": false, "type": "enum",
"javaType": "io.vertx.core.net.ProxyType", "enum": [ "HTTP", "SOCKS4", "SOCKS5"
], "deprecated": false, "autowired": false, "secret": false, "description":
"The proxy server type" },
- "proxyUsername": { "index": 13, "kind": "property", "displayName": "Proxy
Username", "group": "proxy", "label": "proxy", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "description": "The proxy server username if
authentication is required" },
- "basicAuthPassword": { "index": 14, "kind": "property", "displayName":
"Basic Auth Password", "group": "security", "label": "security", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "description": "The password to use for
basic authentication" },
- "basicAuthUsername": { "index": 15, "kind": "property", "displayName":
"Basic Auth Username", "group": "security", "label": "security", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "description": "The user name to use for
basic authentication" },
- "bearerToken": { "index": 16, "kind": "property", "displayName": "Bearer
Token", "group": "security", "label": "security", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "description": "The bearer token to use for bearer
token authentication" },
- "sslContextParameters": { "index": 17, "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, "description": "To configure security
using SSLContextParameters" },
- "useGlobalSslContextParameters": { "index": 18, "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" }
+ "tracingPolicy": { "index": 4, "kind": "property", "displayName": "Tracing
Policy", "group": "advanced", "label": "advanced", "required": false, "type":
"enum", "javaType": "io.vertx.core.tracing.TracingPolicy", "enum": [ "IGNORE",
"PROPAGATE", "ALWAYS" ], "deprecated": false, "autowired": false, "secret":
false, "description": "The tracing policy used by the HTTP client when
integrating with observability frameworks such as OpenTelemetry. If not
specified the HTTP client applies a d [...]
+ "vertx": { "index": 5, "kind": "property", "displayName": "Vertx",
"group": "advanced", "label": "advanced", "required": false, "type": "object",
"javaType": "io.vertx.core.Vertx", "deprecated": false, "autowired": false,
"secret": false, "description": "To use an existing vertx instead of creating a
new instance" },
+ "vertxHttpBinding": { "index": 6, "kind": "property", "displayName":
"Vertx Http Binding", "group": "advanced", "label": "advanced", "required":
false, "type": "object", "javaType":
"org.apache.camel.component.vertx.http.VertxHttpBinding", "deprecated": false,
"autowired": false, "secret": false, "description": "A custom VertxHttpBinding
which can control how to bind between Vert.x and Camel" },
+ "vertxOptions": { "index": 7, "kind": "property", "displayName": "Vertx
Options", "group": "advanced", "label": "advanced", "required": false, "type":
"object", "javaType": "io.vertx.core.VertxOptions", "deprecated": false,
"autowired": false, "secret": false, "description": "To provide a custom set of
vertx options for configuring vertx" },
+ "webClientOptions": { "index": 8, "kind": "property", "displayName": "Web
Client Options", "group": "advanced", "label": "advanced", "required": false,
"type": "object", "javaType": "io.vertx.ext.web.client.WebClientOptions",
"deprecated": false, "autowired": false, "secret": false, "description": "To
provide a custom set of options for configuring vertx web client" },
+ "headerFilterStrategy": { "index": 9, "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": 10, "kind": "property", "displayName": "Proxy
Host", "group": "proxy", "label": "proxy", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "The proxy server host address" },
+ "proxyPassword": { "index": 11, "kind": "property", "displayName": "Proxy
Password", "group": "proxy", "label": "proxy", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "description": "The proxy server password if
authentication is required" },
+ "proxyPort": { "index": 12, "kind": "property", "displayName": "Proxy
Port", "group": "proxy", "label": "proxy", "required": false, "type":
"integer", "javaType": "java.lang.Integer", "deprecated": false, "autowired":
false, "secret": false, "description": "The proxy server port" },
+ "proxyType": { "index": 13, "kind": "property", "displayName": "Proxy
Type", "group": "proxy", "label": "proxy", "required": false, "type": "enum",
"javaType": "io.vertx.core.net.ProxyType", "enum": [ "HTTP", "SOCKS4", "SOCKS5"
], "deprecated": false, "autowired": false, "secret": false, "description":
"The proxy server type" },
+ "proxyUsername": { "index": 14, "kind": "property", "displayName": "Proxy
Username", "group": "proxy", "label": "proxy", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "description": "The proxy server username if
authentication is required" },
+ "basicAuthPassword": { "index": 15, "kind": "property", "displayName":
"Basic Auth Password", "group": "security", "label": "security", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "description": "The password to use for
basic authentication" },
+ "basicAuthUsername": { "index": 16, "kind": "property", "displayName":
"Basic Auth Username", "group": "security", "label": "security", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "description": "The user name to use for
basic authentication" },
+ "bearerToken": { "index": 17, "kind": "property", "displayName": "Bearer
Token", "group": "security", "label": "security", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "description": "The bearer token to use for bearer
token authentication" },
+ "sslContextParameters": { "index": 18, "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, "description": "To configure security
using SSLContextParameters" },
+ "useGlobalSslContextParameters": { "index": 19, "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": {
"CamelHttpMethod": { "index": 0, "kind": "header", "displayName": "",
"group": "producer", "label": "", "required": false, "javaType":
"io.vertx.core.http.HttpMethod", "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": false, "description": "The http method",
"constantName":
"org.apache.camel.component.vertx.http.VertxHttpConstants#HTTP_METHOD" },
@@ -68,19 +69,20 @@
"sessionManagement": { "index": 10, "kind": "parameter", "displayName":
"Session Management", "group": "producer", "label": "producer", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": false,
"configurationClass":
"org.apache.camel.component.vertx.http.VertxHttpConfiguration",
"configurationField": "configuration", "description": "Enables session
management via WebClientSession. By default the clien [...]
"throwExceptionOnFailure": { "index": 11, "kind": "parameter",
"displayName": "Throw Exception On Failure", "group": "producer", "label":
"producer", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": true,
"configurationClass":
"org.apache.camel.component.vertx.http.VertxHttpConfiguration",
"configurationField": "configuration", "description": "Disable throwing
HttpOperationFailedException in case of [...]
"timeout": { "index": 12, "kind": "parameter", "displayName": "Timeout",
"group": "producer", "label": "producer", "required": false, "type": "integer",
"javaType": "long", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": -1, "configurationClass":
"org.apache.camel.component.vertx.http.VertxHttpConfiguration",
"configurationField": "configuration", "description": "The amount of time in
milliseconds after which if the request does not return any data within th [...]
- "transferException": { "index": 13, "kind": "parameter", "displayName":
"Transfer Exception", "group": "producer", "label": "producer", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": false,
"configurationClass":
"org.apache.camel.component.vertx.http.VertxHttpConfiguration",
"configurationField": "configuration", "description": "If enabled and an
Exchange failed processing on the consumer side, an [...]
- "useCompression": { "index": 14, "kind": "parameter", "displayName": "Use
Compression", "group": "producer", "label": "producer", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.vertx.http.VertxHttpConfiguration",
"configurationField": "configuration", "description": "Set whether compression
is enabled to handled compressed (E.g gzipped) resp [...]
- "vertxHttpBinding": { "index": 15, "kind": "parameter", "displayName":
"Vertx Http Binding", "group": "producer", "label": "producer", "required":
false, "type": "object", "javaType":
"org.apache.camel.component.vertx.http.VertxHttpBinding", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.vertx.http.VertxHttpConfiguration",
"configurationField": "configuration", "description": "A custom
VertxHttpBinding which can control how [...]
- "webClientOptions": { "index": 16, "kind": "parameter", "displayName":
"Web Client Options", "group": "producer", "label": "producer", "required":
false, "type": "object", "javaType":
"io.vertx.ext.web.client.WebClientOptions", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.vertx.http.VertxHttpConfiguration",
"configurationField": "configuration", "description": "Sets customized options
for configuring the Vert.x WebClient" },
- "lazyStartProducer": { "index": 17, "kind": "parameter", "displayName":
"Lazy Start Producer", "group": "producer (advanced)", "label":
"producer,advanced", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "description": "Whether the producer should be started
lazy (on the first message). By starting lazy you can use this to allow
CamelContext and routes to startup in situations where a produ [...]
- "proxyHost": { "index": 18, "kind": "parameter", "displayName": "Proxy
Host", "group": "proxy", "label": "proxy", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.vertx.http.VertxHttpConfiguration",
"configurationField": "configuration", "description": "The proxy server host
address" },
- "proxyPassword": { "index": 19, "kind": "parameter", "displayName": "Proxy
Password", "group": "proxy", "label": "proxy", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.vertx.http.VertxHttpConfiguration",
"configurationField": "configuration", "description": "The proxy server
password if authentication is required" },
- "proxyPort": { "index": 20, "kind": "parameter", "displayName": "Proxy
Port", "group": "proxy", "label": "proxy", "required": false, "type":
"integer", "javaType": "java.lang.Integer", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.vertx.http.VertxHttpConfiguration",
"configurationField": "configuration", "description": "The proxy server port" },
- "proxyType": { "index": 21, "kind": "parameter", "displayName": "Proxy
Type", "group": "proxy", "label": "proxy", "required": false, "type": "enum",
"javaType": "io.vertx.core.net.ProxyType", "enum": [ "HTTP", "SOCKS4", "SOCKS5"
], "deprecated": false, "autowired": false, "secret": false,
"configurationClass":
"org.apache.camel.component.vertx.http.VertxHttpConfiguration",
"configurationField": "configuration", "description": "The proxy server type" },
- "proxyUsername": { "index": 22, "kind": "parameter", "displayName": "Proxy
Username", "group": "proxy", "label": "proxy", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.vertx.http.VertxHttpConfiguration",
"configurationField": "configuration", "description": "The proxy server
username if authentication is required" },
- "basicAuthPassword": { "index": 23, "kind": "parameter", "displayName":
"Basic Auth Password", "group": "security", "label": "security", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.vertx.http.VertxHttpConfiguration",
"configurationField": "configuration", "description": "The password to use for
basic authentication" },
- "basicAuthUsername": { "index": 24, "kind": "parameter", "displayName":
"Basic Auth Username", "group": "security", "label": "security", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.vertx.http.VertxHttpConfiguration",
"configurationField": "configuration", "description": "The user name to use for
basic authentication" },
- "bearerToken": { "index": 25, "kind": "parameter", "displayName": "Bearer
Token", "group": "security", "label": "security", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.vertx.http.VertxHttpConfiguration",
"configurationField": "configuration", "description": "The bearer token to use
for bearer token authentication" },
- "sslContextParameters": { "index": 26, "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.vertx.http.VertxHttpConfiguration",
"configurationField": "configuration", "description": "To configure security
using SSLContextParam [...]
+ "tracingPolicy": { "index": 13, "kind": "parameter", "displayName":
"Tracing Policy", "group": "producer", "label": "producer", "required": false,
"type": "enum", "javaType": "io.vertx.core.tracing.TracingPolicy", "enum": [
"IGNORE", "PROPAGATE", "ALWAYS" ], "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.vertx.http.VertxHttpConfiguration",
"configurationField": "configuration", "description": "The tracing policy used
by the [...]
+ "transferException": { "index": 14, "kind": "parameter", "displayName":
"Transfer Exception", "group": "producer", "label": "producer", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": false,
"configurationClass":
"org.apache.camel.component.vertx.http.VertxHttpConfiguration",
"configurationField": "configuration", "description": "If enabled and an
Exchange failed processing on the consumer side, an [...]
+ "useCompression": { "index": 15, "kind": "parameter", "displayName": "Use
Compression", "group": "producer", "label": "producer", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.vertx.http.VertxHttpConfiguration",
"configurationField": "configuration", "description": "Set whether compression
is enabled to handled compressed (E.g gzipped) resp [...]
+ "vertxHttpBinding": { "index": 16, "kind": "parameter", "displayName":
"Vertx Http Binding", "group": "producer", "label": "producer", "required":
false, "type": "object", "javaType":
"org.apache.camel.component.vertx.http.VertxHttpBinding", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.vertx.http.VertxHttpConfiguration",
"configurationField": "configuration", "description": "A custom
VertxHttpBinding which can control how [...]
+ "webClientOptions": { "index": 17, "kind": "parameter", "displayName":
"Web Client Options", "group": "producer", "label": "producer", "required":
false, "type": "object", "javaType":
"io.vertx.ext.web.client.WebClientOptions", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.vertx.http.VertxHttpConfiguration",
"configurationField": "configuration", "description": "Sets customized options
for configuring the Vert.x WebClient" },
+ "lazyStartProducer": { "index": 18, "kind": "parameter", "displayName":
"Lazy Start Producer", "group": "producer (advanced)", "label":
"producer,advanced", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "description": "Whether the producer should be started
lazy (on the first message). By starting lazy you can use this to allow
CamelContext and routes to startup in situations where a produ [...]
+ "proxyHost": { "index": 19, "kind": "parameter", "displayName": "Proxy
Host", "group": "proxy", "label": "proxy", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.vertx.http.VertxHttpConfiguration",
"configurationField": "configuration", "description": "The proxy server host
address" },
+ "proxyPassword": { "index": 20, "kind": "parameter", "displayName": "Proxy
Password", "group": "proxy", "label": "proxy", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.vertx.http.VertxHttpConfiguration",
"configurationField": "configuration", "description": "The proxy server
password if authentication is required" },
+ "proxyPort": { "index": 21, "kind": "parameter", "displayName": "Proxy
Port", "group": "proxy", "label": "proxy", "required": false, "type":
"integer", "javaType": "java.lang.Integer", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.vertx.http.VertxHttpConfiguration",
"configurationField": "configuration", "description": "The proxy server port" },
+ "proxyType": { "index": 22, "kind": "parameter", "displayName": "Proxy
Type", "group": "proxy", "label": "proxy", "required": false, "type": "enum",
"javaType": "io.vertx.core.net.ProxyType", "enum": [ "HTTP", "SOCKS4", "SOCKS5"
], "deprecated": false, "autowired": false, "secret": false,
"configurationClass":
"org.apache.camel.component.vertx.http.VertxHttpConfiguration",
"configurationField": "configuration", "description": "The proxy server type" },
+ "proxyUsername": { "index": 23, "kind": "parameter", "displayName": "Proxy
Username", "group": "proxy", "label": "proxy", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.vertx.http.VertxHttpConfiguration",
"configurationField": "configuration", "description": "The proxy server
username if authentication is required" },
+ "basicAuthPassword": { "index": 24, "kind": "parameter", "displayName":
"Basic Auth Password", "group": "security", "label": "security", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.vertx.http.VertxHttpConfiguration",
"configurationField": "configuration", "description": "The password to use for
basic authentication" },
+ "basicAuthUsername": { "index": 25, "kind": "parameter", "displayName":
"Basic Auth Username", "group": "security", "label": "security", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.vertx.http.VertxHttpConfiguration",
"configurationField": "configuration", "description": "The user name to use for
basic authentication" },
+ "bearerToken": { "index": 26, "kind": "parameter", "displayName": "Bearer
Token", "group": "security", "label": "security", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.vertx.http.VertxHttpConfiguration",
"configurationField": "configuration", "description": "The bearer token to use
for bearer token authentication" },
+ "sslContextParameters": { "index": 27, "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.vertx.http.VertxHttpConfiguration",
"configurationField": "configuration", "description": "To configure security
using SSLContextParam [...]
}
}
diff --git
a/components/camel-vertx/camel-vertx-http/src/main/java/org/apache/camel/component/vertx/http/VertxHttpComponent.java
b/components/camel-vertx/camel-vertx-http/src/main/java/org/apache/camel/component/vertx/http/VertxHttpComponent.java
index 9ad4b3740232..7d70753d6b2a 100644
---
a/components/camel-vertx/camel-vertx-http/src/main/java/org/apache/camel/component/vertx/http/VertxHttpComponent.java
+++
b/components/camel-vertx/camel-vertx-http/src/main/java/org/apache/camel/component/vertx/http/VertxHttpComponent.java
@@ -24,6 +24,7 @@ import java.util.Set;
import io.vertx.core.Vertx;
import io.vertx.core.VertxOptions;
import io.vertx.core.net.ProxyType;
+import io.vertx.core.tracing.TracingPolicy;
import io.vertx.ext.web.client.WebClientOptions;
import org.apache.camel.CamelContext;
import org.apache.camel.Endpoint;
@@ -83,6 +84,8 @@ public class VertxHttpComponent extends
HeaderFilterStrategyComponent
private boolean responsePayloadAsByteArray = true;
@Metadata(label = "advanced")
private WebClientOptions webClientOptions;
+ @Metadata(label = "advanced")
+ private TracingPolicy tracingPolicy;
@Override
protected Endpoint createEndpoint(String uri, String remaining,
Map<String, Object> parameters) throws Exception {
@@ -133,6 +136,9 @@ public class VertxHttpComponent extends
HeaderFilterStrategyComponent
if (configuration.getWebClientOptions() == null) {
configuration.setWebClientOptions(getWebClientOptions());
}
+ if (configuration.getTracingPolicy() == null) {
+ configuration.setTracingPolicy(getTracingPolicy());
+ }
// Recreate the http uri with the remaining parameters which the
endpoint did not use
URI httpUri = URISupport.createRemainingURI(
@@ -430,4 +436,16 @@ public class VertxHttpComponent extends
HeaderFilterStrategyComponent
public void setWebClientOptions(WebClientOptions webClientOptions) {
this.webClientOptions = webClientOptions;
}
+
+ /**
+ * The tracing policy used by the HTTP client when integrating with
observability frameworks such as OpenTelemetry.
+ * If not specified the HTTP client applies a default tracing policy of
PROPAGATE.
+ */
+ public void setTracingPolicy(TracingPolicy tracingPolicy) {
+ this.tracingPolicy = tracingPolicy;
+ }
+
+ public TracingPolicy getTracingPolicy() {
+ return tracingPolicy;
+ }
}
diff --git
a/components/camel-vertx/camel-vertx-http/src/main/java/org/apache/camel/component/vertx/http/VertxHttpConfiguration.java
b/components/camel-vertx/camel-vertx-http/src/main/java/org/apache/camel/component/vertx/http/VertxHttpConfiguration.java
index 297186faae04..2eddb73570d3 100644
---
a/components/camel-vertx/camel-vertx-http/src/main/java/org/apache/camel/component/vertx/http/VertxHttpConfiguration.java
+++
b/components/camel-vertx/camel-vertx-http/src/main/java/org/apache/camel/component/vertx/http/VertxHttpConfiguration.java
@@ -21,6 +21,7 @@ import java.net.URI;
import io.vertx.core.http.HttpMethod;
import io.vertx.core.net.ClientOptionsBase;
import io.vertx.core.net.ProxyType;
+import io.vertx.core.tracing.TracingPolicy;
import io.vertx.ext.web.client.WebClientOptions;
import io.vertx.ext.web.client.spi.CookieStore;
import org.apache.camel.spi.HeaderFilterStrategy;
@@ -90,6 +91,9 @@ public class VertxHttpConfiguration {
@UriParam(label = "producer",
description = "If the option is true, the Exchange.HTTP_URI
header will be ignored and the endpoint URI will be used for the HTTP request.
You may also set option throwExceptionOnFailure to false to return the fault
response back to the client.")
private boolean bridgeEndpoint;
+ @UriParam(label = "producer",
+ description = "The tracing policy used by the HTTP client when
integrating with observability frameworks such as OpenTelemetry. If not
specified the HTTP client applies a default tracing policy of PROPAGATE.")
+ private TracingPolicy tracingPolicy;
/**
* The HTTP URI to connect to
@@ -388,4 +392,12 @@ public class VertxHttpConfiguration {
public void setBridgeEndpoint(boolean bridgeEndpoint) {
this.bridgeEndpoint = bridgeEndpoint;
}
+
+ public TracingPolicy getTracingPolicy() {
+ return tracingPolicy;
+ }
+
+ public void setTracingPolicy(TracingPolicy tracingPolicy) {
+ this.tracingPolicy = tracingPolicy;
+ }
}
diff --git
a/components/camel-vertx/camel-vertx-http/src/main/java/org/apache/camel/component/vertx/http/VertxHttpEndpoint.java
b/components/camel-vertx/camel-vertx-http/src/main/java/org/apache/camel/component/vertx/http/VertxHttpEndpoint.java
index d29390a342cf..d434da58861e 100644
---
a/components/camel-vertx/camel-vertx-http/src/main/java/org/apache/camel/component/vertx/http/VertxHttpEndpoint.java
+++
b/components/camel-vertx/camel-vertx-http/src/main/java/org/apache/camel/component/vertx/http/VertxHttpEndpoint.java
@@ -110,6 +110,11 @@ public class VertxHttpEndpoint extends DefaultEndpoint
implements EndpointServic
options = new WebClientOptions();
options.setTryUseCompression(configuration.isUseCompression());
options.setConnectTimeout(configuration.getConnectTimeout());
+
+ if (configuration.getTracingPolicy() != null) {
+ options.setTracingPolicy(configuration.getTracingPolicy());
+ }
+
configureProxyOptionsIfRequired(options);
}
diff --git
a/components/camel-vertx/camel-vertx-http/src/test/java/org/apache/camel/component/vertx/http/VertxHttpTracingPolicyTest.java
b/components/camel-vertx/camel-vertx-http/src/test/java/org/apache/camel/component/vertx/http/VertxHttpTracingPolicyTest.java
new file mode 100644
index 000000000000..111246330585
--- /dev/null
+++
b/components/camel-vertx/camel-vertx-http/src/test/java/org/apache/camel/component/vertx/http/VertxHttpTracingPolicyTest.java
@@ -0,0 +1,108 @@
+/*
+ * 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.vertx.http;
+
+import java.util.concurrent.CountDownLatch;
+import java.util.concurrent.TimeUnit;
+import java.util.function.BiConsumer;
+
+import io.vertx.core.Context;
+import io.vertx.core.Vertx;
+import io.vertx.core.spi.VertxTracerFactory;
+import io.vertx.core.spi.tracing.SpanKind;
+import io.vertx.core.spi.tracing.TagExtractor;
+import io.vertx.core.spi.tracing.VertxTracer;
+import io.vertx.core.tracing.TracingOptions;
+import io.vertx.core.tracing.TracingPolicy;
+import org.apache.camel.RoutesBuilder;
+import org.apache.camel.builder.RouteBuilder;
+import org.junit.jupiter.api.Test;
+
+import static org.junit.jupiter.api.Assertions.assertTrue;
+
+class VertxHttpTracingPolicyTest extends VertxHttpTestSupport {
+
+ @Test
+ void customTracingPolicyFromComponentConfiguration() throws Exception {
+ CountDownLatch latch = new CountDownLatch(1);
+ Vertx vertx = Vertx.builder().withTracer(new VertxTracerFactory() {
+ @Override
+ public VertxTracer<?, ?> tracer(TracingOptions options) {
+ return new VertxTracer<>() {
+ @Override
+ public Object sendRequest(
+ Context context, SpanKind kind, TracingPolicy
policy, Object request, String operation,
+ BiConsumer headers, TagExtractor tagExtractor) {
+ if (policy.equals(TracingPolicy.IGNORE)) {
+ latch.countDown();
+ }
+ return null;
+ }
+ };
+ }
+ }).build();
+
+ VertxHttpComponent component = new VertxHttpComponent();
+ component.setVertx(vertx);
+ component.setTracingPolicy(TracingPolicy.IGNORE);
+ context.addComponent("vertx-http", component);
+
+ template.sendBody(getProducerUri() + "/trace", "Test");
+
+ assertTrue(latch.await(5, TimeUnit.SECONDS), "Expected IGNORE trace
policy was not matched");
+ }
+
+ @Test
+ void customTracingPolicyFromEndpointUri() throws Exception {
+ CountDownLatch latch = new CountDownLatch(1);
+ Vertx vertx = Vertx.builder().withTracer(new VertxTracerFactory() {
+ @Override
+ public VertxTracer<?, ?> tracer(TracingOptions options) {
+ return new VertxTracer<>() {
+ @Override
+ public Object sendRequest(
+ Context context, SpanKind kind, TracingPolicy
policy, Object request, String operation,
+ BiConsumer headers, TagExtractor tagExtractor) {
+ if (policy.equals(TracingPolicy.IGNORE)) {
+ latch.countDown();
+ }
+ return null;
+ }
+ };
+ }
+ }).build();
+
+ VertxHttpComponent component = new VertxHttpComponent();
+ component.setVertx(vertx);
+ context.addComponent("vertx-http", component);
+
+ template.sendBody(getProducerUri() + "/trace?tracingPolicy=IGNORE",
"Test");
+
+ assertTrue(latch.await(5, TimeUnit.SECONDS), "Expected IGNORE trace
policy was not matched");
+ }
+
+ @Override
+ protected RoutesBuilder createRouteBuilder() throws Exception {
+ return new RouteBuilder() {
+ @Override
+ public void configure() throws Exception {
+ from(getTestServerUri() + "/trace")
+ .log("Traced");
+ }
+ };
+ }
+}
diff --git
a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/VertxHttpComponentBuilderFactory.java
b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/VertxHttpComponentBuilderFactory.java
index 28f1014efbca..71d2234a8b19 100644
---
a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/VertxHttpComponentBuilderFactory.java
+++
b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/VertxHttpComponentBuilderFactory.java
@@ -136,6 +136,24 @@ public interface VertxHttpComponentBuilderFactory {
return this;
}
+ /**
+ * The tracing policy used by the HTTP client when integrating with
+ * observability frameworks such as OpenTelemetry. If not specified the
+ * HTTP client applies a default tracing policy of PROPAGATE.
+ *
+ * The option is a:
+ * <code>io.vertx.core.tracing.TracingPolicy</code> type.
+ *
+ * Group: advanced
+ *
+ * @param tracingPolicy the value to set
+ * @return the dsl builder
+ */
+ default VertxHttpComponentBuilder
tracingPolicy(io.vertx.core.tracing.TracingPolicy tracingPolicy) {
+ doSetProperty("tracingPolicy", tracingPolicy);
+ return this;
+ }
+
/**
* To use an existing vertx instead of creating a new instance.
*
@@ -391,6 +409,7 @@ public interface VertxHttpComponentBuilderFactory {
case "responsePayloadAsByteArray": ((VertxHttpComponent)
component).setResponsePayloadAsByteArray((boolean) value); return true;
case "allowJavaSerializedObject": ((VertxHttpComponent)
component).setAllowJavaSerializedObject((boolean) value); return true;
case "autowiredEnabled": ((VertxHttpComponent)
component).setAutowiredEnabled((boolean) value); return true;
+ case "tracingPolicy": ((VertxHttpComponent)
component).setTracingPolicy((io.vertx.core.tracing.TracingPolicy) value);
return true;
case "vertx": ((VertxHttpComponent)
component).setVertx((io.vertx.core.Vertx) value); return true;
case "vertxHttpBinding": ((VertxHttpComponent)
component).setVertxHttpBinding((org.apache.camel.component.vertx.http.VertxHttpBinding)
value); return true;
case "vertxOptions": ((VertxHttpComponent)
component).setVertxOptions((io.vertx.core.VertxOptions) value); return true;
diff --git
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/VertxHttpEndpointBuilderFactory.java
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/VertxHttpEndpointBuilderFactory.java
index 47e6290e7d2e..99d49df567d9 100644
---
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/VertxHttpEndpointBuilderFactory.java
+++
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/VertxHttpEndpointBuilderFactory.java
@@ -414,6 +414,40 @@ public interface VertxHttpEndpointBuilderFactory {
doSetProperty("timeout", timeout);
return this;
}
+ /**
+ * The tracing policy used by the HTTP client when integrating with
+ * observability frameworks such as OpenTelemetry. If not specified the
+ * HTTP client applies a default tracing policy of PROPAGATE.
+ *
+ * The option is a: <code>io.vertx.core.tracing.TracingPolicy</code>
+ * type.
+ *
+ * Group: producer
+ *
+ * @param tracingPolicy the value to set
+ * @return the dsl builder
+ */
+ default VertxHttpEndpointBuilder
tracingPolicy(io.vertx.core.tracing.TracingPolicy tracingPolicy) {
+ doSetProperty("tracingPolicy", tracingPolicy);
+ return this;
+ }
+ /**
+ * The tracing policy used by the HTTP client when integrating with
+ * observability frameworks such as OpenTelemetry. If not specified the
+ * HTTP client applies a default tracing policy of PROPAGATE.
+ *
+ * The option will be converted to a
+ * <code>io.vertx.core.tracing.TracingPolicy</code> type.
+ *
+ * Group: producer
+ *
+ * @param tracingPolicy the value to set
+ * @return the dsl builder
+ */
+ default VertxHttpEndpointBuilder tracingPolicy(String tracingPolicy) {
+ doSetProperty("tracingPolicy", tracingPolicy);
+ return this;
+ }
/**
* If enabled and an Exchange failed processing on the consumer side,
* and if the caused Exception was sent back serialized in the response