This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch camel-4.4.x in repository https://gitbox.apache.org/repos/asf/camel.git
commit 1e4279e27bd0783a250280dce3c03f5170d4a5ca Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Wed Jun 12 14:33:10 2024 +0200 Regen --- .../AzureServicebusComponentBuilderFactory.java | 19 + .../dsl/NettyComponentBuilderFactory.java | 34 +- .../dsl/NettyHttpComponentBuilderFactory.java | 34 +- .../endpoint/dsl/CxfRsEndpointBuilderFactory.java | 404 +++++++++++---------- .../endpoint/dsl/NettyEndpointBuilderFactory.java | 198 +++++----- .../dsl/NettyHttpEndpointBuilderFactory.java | 198 +++++----- .../dsl/ServiceBusEndpointBuilderFactory.java | 108 ++++++ 7 files changed, 564 insertions(+), 431 deletions(-) diff --git a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/AzureServicebusComponentBuilderFactory.java b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/AzureServicebusComponentBuilderFactory.java index 4146ed9bc09..8429c48b233 100644 --- a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/AzureServicebusComponentBuilderFactory.java +++ b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/AzureServicebusComponentBuilderFactory.java @@ -119,6 +119,24 @@ public interface AzureServicebusComponentBuilderFactory { doSetProperty("configuration", configuration); return this; } + /** + * To use a custom HeaderFilterStrategy to filter Service Bus + * application properties to and from Camel message headers. + * + * The option is a: + * <code>org.apache.camel.spi.HeaderFilterStrategy</code> + * type. + * + * Group: common + * + * @param headerFilterStrategy the value to set + * @return the dsl builder + */ + default AzureServicebusComponentBuilder headerFilterStrategy( + org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy) { + doSetProperty("headerFilterStrategy", headerFilterStrategy); + return this; + } /** * Sets the proxy configuration to use for ServiceBusSenderAsyncClient. * When a proxy is configured, AMQP_WEB_SOCKETS must be used for the @@ -577,6 +595,7 @@ public interface AzureServicebusComponentBuilderFactory { case "amqpTransportType": getOrCreateConfiguration((ServiceBusComponent) component).setAmqpTransportType((com.azure.core.amqp.AmqpTransportType) value); return true; case "clientOptions": getOrCreateConfiguration((ServiceBusComponent) component).setClientOptions((com.azure.core.util.ClientOptions) value); return true; case "configuration": ((ServiceBusComponent) component).setConfiguration((org.apache.camel.component.azure.servicebus.ServiceBusConfiguration) value); return true; + case "headerFilterStrategy": getOrCreateConfiguration((ServiceBusComponent) component).setHeaderFilterStrategy((org.apache.camel.spi.HeaderFilterStrategy) value); return true; case "proxyOptions": getOrCreateConfiguration((ServiceBusComponent) component).setProxyOptions((com.azure.core.amqp.ProxyOptions) value); return true; case "serviceBusType": getOrCreateConfiguration((ServiceBusComponent) component).setServiceBusType((org.apache.camel.component.azure.servicebus.ServiceBusType) value); return true; case "bridgeErrorHandler": ((ServiceBusComponent) component).setBridgeErrorHandler((boolean) value); return true; diff --git a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/NettyComponentBuilderFactory.java b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/NettyComponentBuilderFactory.java index c15e830d416..7c7d0390916 100644 --- a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/NettyComponentBuilderFactory.java +++ b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/NettyComponentBuilderFactory.java @@ -768,22 +768,6 @@ public interface NettyComponentBuilderFactory { doSetProperty("useByteBuf", useByteBuf); return this; } - /** - * To enable/disable hostname verification on SSLEngine. - * - * The option is a: <code>boolean</code> type. - * - * Default: false - * Group: security - * - * @param hostnameVerification the value to set - * @return the dsl builder - */ - default NettyComponentBuilder hostnameVerification( - boolean hostnameVerification) { - doSetProperty("hostnameVerification", hostnameVerification); - return this; - } /** * Only used for TCP when transferExchange is true. When set to true, * serializable objects in headers and properties will be added to the @@ -1168,6 +1152,22 @@ public interface NettyComponentBuilderFactory { doSetProperty("enabledProtocols", enabledProtocols); return this; } + /** + * To enable/disable hostname verification on SSLEngine. + * + * The option is a: <code>boolean</code> type. + * + * Default: false + * Group: security + * + * @param hostnameVerification the value to set + * @return the dsl builder + */ + default NettyComponentBuilder hostnameVerification( + boolean hostnameVerification) { + doSetProperty("hostnameVerification", hostnameVerification); + return this; + } /** * Client side certificate keystore to be used for encryption. * @@ -1443,7 +1443,6 @@ public interface NettyComponentBuilderFactory { case "producerPoolMinIdle": getOrCreateConfiguration((NettyComponent) component).setProducerPoolMinIdle((int) value); return true; case "udpConnectionlessSending": getOrCreateConfiguration((NettyComponent) component).setUdpConnectionlessSending((boolean) value); return true; case "useByteBuf": getOrCreateConfiguration((NettyComponent) component).setUseByteBuf((boolean) value); return true; - case "hostnameVerification": getOrCreateConfiguration((NettyComponent) component).setHostnameVerification((boolean) value); return true; case "allowSerializedHeaders": getOrCreateConfiguration((NettyComponent) component).setAllowSerializedHeaders((boolean) value); return true; case "autowiredEnabled": ((NettyComponent) component).setAutowiredEnabled((boolean) value); return true; case "channelGroup": getOrCreateConfiguration((NettyComponent) component).setChannelGroup((io.netty.channel.group.ChannelGroup) value); return true; @@ -1466,6 +1465,7 @@ public interface NettyComponentBuilderFactory { case "encoding": getOrCreateConfiguration((NettyComponent) component).setEncoding((java.lang.String) value); return true; case "textline": getOrCreateConfiguration((NettyComponent) component).setTextline((boolean) value); return true; case "enabledProtocols": getOrCreateConfiguration((NettyComponent) component).setEnabledProtocols((java.lang.String) value); return true; + case "hostnameVerification": getOrCreateConfiguration((NettyComponent) component).setHostnameVerification((boolean) value); return true; case "keyStoreFile": getOrCreateConfiguration((NettyComponent) component).setKeyStoreFile((java.io.File) value); return true; case "keyStoreFormat": getOrCreateConfiguration((NettyComponent) component).setKeyStoreFormat((java.lang.String) value); return true; case "keyStoreResource": getOrCreateConfiguration((NettyComponent) component).setKeyStoreResource((java.lang.String) value); return true; diff --git a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/NettyHttpComponentBuilderFactory.java b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/NettyHttpComponentBuilderFactory.java index 055beddbf7c..90db9a4e9b2 100644 --- a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/NettyHttpComponentBuilderFactory.java +++ b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/NettyHttpComponentBuilderFactory.java @@ -787,22 +787,6 @@ public interface NettyHttpComponentBuilderFactory { doSetProperty("useByteBuf", useByteBuf); return this; } - /** - * To enable/disable hostname verification on SSLEngine. - * - * The option is a: <code>boolean</code> type. - * - * Default: false - * Group: security - * - * @param hostnameVerification the value to set - * @return the dsl builder - */ - default NettyHttpComponentBuilder hostnameVerification( - boolean hostnameVerification) { - doSetProperty("hostnameVerification", hostnameVerification); - return this; - } /** * Only used for TCP when transferExchange is true. When set to true, * serializable objects in headers and properties will be added to the @@ -1227,6 +1211,22 @@ public interface NettyHttpComponentBuilderFactory { doSetProperty("enabledProtocols", enabledProtocols); return this; } + /** + * To enable/disable hostname verification on SSLEngine. + * + * The option is a: <code>boolean</code> type. + * + * Default: false + * Group: security + * + * @param hostnameVerification the value to set + * @return the dsl builder + */ + default NettyHttpComponentBuilder hostnameVerification( + boolean hostnameVerification) { + doSetProperty("hostnameVerification", hostnameVerification); + return this; + } /** * Client side certificate keystore to be used for encryption. * @@ -1522,7 +1522,6 @@ public interface NettyHttpComponentBuilderFactory { case "producerPoolMinIdle": getOrCreateConfiguration((NettyHttpComponent) component).setProducerPoolMinIdle((int) value); return true; case "udpConnectionlessSending": getOrCreateConfiguration((NettyHttpComponent) component).setUdpConnectionlessSending((boolean) value); return true; case "useByteBuf": getOrCreateConfiguration((NettyHttpComponent) component).setUseByteBuf((boolean) value); return true; - case "hostnameVerification": getOrCreateConfiguration((NettyHttpComponent) component).setHostnameVerification((boolean) value); return true; case "allowSerializedHeaders": getOrCreateConfiguration((NettyHttpComponent) component).setAllowSerializedHeaders((boolean) value); return true; case "autowiredEnabled": ((NettyHttpComponent) component).setAutowiredEnabled((boolean) value); return true; case "channelGroup": getOrCreateConfiguration((NettyHttpComponent) component).setChannelGroup((io.netty.channel.group.ChannelGroup) value); return true; @@ -1547,6 +1546,7 @@ public interface NettyHttpComponentBuilderFactory { case "encoding": getOrCreateConfiguration((NettyHttpComponent) component).setEncoding((java.lang.String) value); return true; case "textline": getOrCreateConfiguration((NettyHttpComponent) component).setTextline((boolean) value); return true; case "enabledProtocols": getOrCreateConfiguration((NettyHttpComponent) component).setEnabledProtocols((java.lang.String) value); return true; + case "hostnameVerification": getOrCreateConfiguration((NettyHttpComponent) component).setHostnameVerification((boolean) value); return true; case "keyStoreFile": getOrCreateConfiguration((NettyHttpComponent) component).setKeyStoreFile((java.io.File) value); return true; case "keyStoreFormat": getOrCreateConfiguration((NettyHttpComponent) component).setKeyStoreFormat((java.lang.String) value); return true; case "keyStoreResource": getOrCreateConfiguration((NettyHttpComponent) component).setKeyStoreResource((java.lang.String) value); return true; diff --git a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/CxfRsEndpointBuilderFactory.java b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/CxfRsEndpointBuilderFactory.java index 9dcefa826fb..02973cc87dc 100644 --- a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/CxfRsEndpointBuilderFactory.java +++ b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/CxfRsEndpointBuilderFactory.java @@ -75,73 +75,6 @@ public interface CxfRsEndpointBuilderFactory { doSetProperty("features", features); return this; } - /** - * This option enables CXF Logging Feature which writes inbound and - * outbound REST messages to log. - * - * The option is a: <code>boolean</code> type. - * - * Default: false - * Group: common - * - * @param loggingFeatureEnabled the value to set - * @return the dsl builder - */ - default CxfRsEndpointConsumerBuilder loggingFeatureEnabled( - boolean loggingFeatureEnabled) { - doSetProperty("loggingFeatureEnabled", loggingFeatureEnabled); - return this; - } - /** - * This option enables CXF Logging Feature which writes inbound and - * outbound REST messages to log. - * - * The option will be converted to a <code>boolean</code> - * type. - * - * Default: false - * Group: common - * - * @param loggingFeatureEnabled the value to set - * @return the dsl builder - */ - default CxfRsEndpointConsumerBuilder loggingFeatureEnabled( - String loggingFeatureEnabled) { - doSetProperty("loggingFeatureEnabled", loggingFeatureEnabled); - return this; - } - /** - * To limit the total size of number of bytes the logger will output - * when logging feature has been enabled. - * - * The option is a: <code>int</code> type. - * - * Group: common - * - * @param loggingSizeLimit the value to set - * @return the dsl builder - */ - default CxfRsEndpointConsumerBuilder loggingSizeLimit( - int loggingSizeLimit) { - doSetProperty("loggingSizeLimit", loggingSizeLimit); - return this; - } - /** - * To limit the total size of number of bytes the logger will output - * when logging feature has been enabled. - * - * The option will be converted to a <code>int</code> type. - * - * Group: common - * - * @param loggingSizeLimit the value to set - * @return the dsl builder - */ - default CxfRsEndpointConsumerBuilder loggingSizeLimit( - String loggingSizeLimit) { - doSetProperty("loggingSizeLimit", loggingSizeLimit); - return this; - } /** * This option is used to specify the model file which is useful for the * resource class without annotation. When using this option, then the @@ -354,6 +287,75 @@ public interface CxfRsEndpointBuilderFactory { doSetProperty("publishedEndpointUrl", publishedEndpointUrl); return this; } + /** + * This option enables CXF Logging Feature which writes inbound and + * outbound REST messages to log. + * + * The option is a: <code>boolean</code> type. + * + * Default: false + * Group: logging + * + * @param loggingFeatureEnabled the value to set + * @return the dsl builder + */ + default CxfRsEndpointConsumerBuilder loggingFeatureEnabled( + boolean loggingFeatureEnabled) { + doSetProperty("loggingFeatureEnabled", loggingFeatureEnabled); + return this; + } + /** + * This option enables CXF Logging Feature which writes inbound and + * outbound REST messages to log. + * + * The option will be converted to a <code>boolean</code> + * type. + * + * Default: false + * Group: logging + * + * @param loggingFeatureEnabled the value to set + * @return the dsl builder + */ + default CxfRsEndpointConsumerBuilder loggingFeatureEnabled( + String loggingFeatureEnabled) { + doSetProperty("loggingFeatureEnabled", loggingFeatureEnabled); + return this; + } + /** + * To limit the total size of number of bytes the logger will output + * when logging feature has been enabled and -1 for no limit. + * + * The option is a: <code>int</code> type. + * + * Default: 49152 + * Group: logging + * + * @param loggingSizeLimit the value to set + * @return the dsl builder + */ + default CxfRsEndpointConsumerBuilder loggingSizeLimit( + int loggingSizeLimit) { + doSetProperty("loggingSizeLimit", loggingSizeLimit); + return this; + } + /** + * To limit the total size of number of bytes the logger will output + * when logging feature has been enabled and -1 for no limit. + * + * The option will be converted to a <code>int</code> type. + * + * Default: 49152 + * Group: logging + * + * @param loggingSizeLimit the value to set + * @return the dsl builder + */ + default CxfRsEndpointConsumerBuilder loggingSizeLimit( + String loggingSizeLimit) { + doSetProperty("loggingSizeLimit", loggingSizeLimit); + return this; + } } /** @@ -832,73 +834,6 @@ public interface CxfRsEndpointBuilderFactory { doSetProperty("features", features); return this; } - /** - * This option enables CXF Logging Feature which writes inbound and - * outbound REST messages to log. - * - * The option is a: <code>boolean</code> type. - * - * Default: false - * Group: common - * - * @param loggingFeatureEnabled the value to set - * @return the dsl builder - */ - default CxfRsEndpointProducerBuilder loggingFeatureEnabled( - boolean loggingFeatureEnabled) { - doSetProperty("loggingFeatureEnabled", loggingFeatureEnabled); - return this; - } - /** - * This option enables CXF Logging Feature which writes inbound and - * outbound REST messages to log. - * - * The option will be converted to a <code>boolean</code> - * type. - * - * Default: false - * Group: common - * - * @param loggingFeatureEnabled the value to set - * @return the dsl builder - */ - default CxfRsEndpointProducerBuilder loggingFeatureEnabled( - String loggingFeatureEnabled) { - doSetProperty("loggingFeatureEnabled", loggingFeatureEnabled); - return this; - } - /** - * To limit the total size of number of bytes the logger will output - * when logging feature has been enabled. - * - * The option is a: <code>int</code> type. - * - * Group: common - * - * @param loggingSizeLimit the value to set - * @return the dsl builder - */ - default CxfRsEndpointProducerBuilder loggingSizeLimit( - int loggingSizeLimit) { - doSetProperty("loggingSizeLimit", loggingSizeLimit); - return this; - } - /** - * To limit the total size of number of bytes the logger will output - * when logging feature has been enabled. - * - * The option will be converted to a <code>int</code> type. - * - * Group: common - * - * @param loggingSizeLimit the value to set - * @return the dsl builder - */ - default CxfRsEndpointProducerBuilder loggingSizeLimit( - String loggingSizeLimit) { - doSetProperty("loggingSizeLimit", loggingSizeLimit); - return this; - } /** * This option is used to specify the model file which is useful for the * resource class without annotation. When using this option, then the @@ -1168,6 +1103,75 @@ public interface CxfRsEndpointBuilderFactory { doSetProperty("throwExceptionOnFailure", throwExceptionOnFailure); return this; } + /** + * This option enables CXF Logging Feature which writes inbound and + * outbound REST messages to log. + * + * The option is a: <code>boolean</code> type. + * + * Default: false + * Group: logging + * + * @param loggingFeatureEnabled the value to set + * @return the dsl builder + */ + default CxfRsEndpointProducerBuilder loggingFeatureEnabled( + boolean loggingFeatureEnabled) { + doSetProperty("loggingFeatureEnabled", loggingFeatureEnabled); + return this; + } + /** + * This option enables CXF Logging Feature which writes inbound and + * outbound REST messages to log. + * + * The option will be converted to a <code>boolean</code> + * type. + * + * Default: false + * Group: logging + * + * @param loggingFeatureEnabled the value to set + * @return the dsl builder + */ + default CxfRsEndpointProducerBuilder loggingFeatureEnabled( + String loggingFeatureEnabled) { + doSetProperty("loggingFeatureEnabled", loggingFeatureEnabled); + return this; + } + /** + * To limit the total size of number of bytes the logger will output + * when logging feature has been enabled and -1 for no limit. + * + * The option is a: <code>int</code> type. + * + * Default: 49152 + * Group: logging + * + * @param loggingSizeLimit the value to set + * @return the dsl builder + */ + default CxfRsEndpointProducerBuilder loggingSizeLimit( + int loggingSizeLimit) { + doSetProperty("loggingSizeLimit", loggingSizeLimit); + return this; + } + /** + * To limit the total size of number of bytes the logger will output + * when logging feature has been enabled and -1 for no limit. + * + * The option will be converted to a <code>int</code> type. + * + * Default: 49152 + * Group: logging + * + * @param loggingSizeLimit the value to set + * @return the dsl builder + */ + default CxfRsEndpointProducerBuilder loggingSizeLimit( + String loggingSizeLimit) { + doSetProperty("loggingSizeLimit", loggingSizeLimit); + return this; + } } /** @@ -1695,71 +1699,6 @@ public interface CxfRsEndpointBuilderFactory { doSetProperty("features", features); return this; } - /** - * This option enables CXF Logging Feature which writes inbound and - * outbound REST messages to log. - * - * The option is a: <code>boolean</code> type. - * - * Default: false - * Group: common - * - * @param loggingFeatureEnabled the value to set - * @return the dsl builder - */ - default CxfRsEndpointBuilder loggingFeatureEnabled( - boolean loggingFeatureEnabled) { - doSetProperty("loggingFeatureEnabled", loggingFeatureEnabled); - return this; - } - /** - * This option enables CXF Logging Feature which writes inbound and - * outbound REST messages to log. - * - * The option will be converted to a <code>boolean</code> - * type. - * - * Default: false - * Group: common - * - * @param loggingFeatureEnabled the value to set - * @return the dsl builder - */ - default CxfRsEndpointBuilder loggingFeatureEnabled( - String loggingFeatureEnabled) { - doSetProperty("loggingFeatureEnabled", loggingFeatureEnabled); - return this; - } - /** - * To limit the total size of number of bytes the logger will output - * when logging feature has been enabled. - * - * The option is a: <code>int</code> type. - * - * Group: common - * - * @param loggingSizeLimit the value to set - * @return the dsl builder - */ - default CxfRsEndpointBuilder loggingSizeLimit(int loggingSizeLimit) { - doSetProperty("loggingSizeLimit", loggingSizeLimit); - return this; - } - /** - * To limit the total size of number of bytes the logger will output - * when logging feature has been enabled. - * - * The option will be converted to a <code>int</code> type. - * - * Group: common - * - * @param loggingSizeLimit the value to set - * @return the dsl builder - */ - default CxfRsEndpointBuilder loggingSizeLimit(String loggingSizeLimit) { - doSetProperty("loggingSizeLimit", loggingSizeLimit); - return this; - } /** * This option is used to specify the model file which is useful for the * resource class without annotation. When using this option, then the @@ -1891,6 +1830,73 @@ public interface CxfRsEndpointBuilderFactory { doSetProperty("skipFaultLogging", skipFaultLogging); return this; } + /** + * This option enables CXF Logging Feature which writes inbound and + * outbound REST messages to log. + * + * The option is a: <code>boolean</code> type. + * + * Default: false + * Group: logging + * + * @param loggingFeatureEnabled the value to set + * @return the dsl builder + */ + default CxfRsEndpointBuilder loggingFeatureEnabled( + boolean loggingFeatureEnabled) { + doSetProperty("loggingFeatureEnabled", loggingFeatureEnabled); + return this; + } + /** + * This option enables CXF Logging Feature which writes inbound and + * outbound REST messages to log. + * + * The option will be converted to a <code>boolean</code> + * type. + * + * Default: false + * Group: logging + * + * @param loggingFeatureEnabled the value to set + * @return the dsl builder + */ + default CxfRsEndpointBuilder loggingFeatureEnabled( + String loggingFeatureEnabled) { + doSetProperty("loggingFeatureEnabled", loggingFeatureEnabled); + return this; + } + /** + * To limit the total size of number of bytes the logger will output + * when logging feature has been enabled and -1 for no limit. + * + * The option is a: <code>int</code> type. + * + * Default: 49152 + * Group: logging + * + * @param loggingSizeLimit the value to set + * @return the dsl builder + */ + default CxfRsEndpointBuilder loggingSizeLimit(int loggingSizeLimit) { + doSetProperty("loggingSizeLimit", loggingSizeLimit); + return this; + } + /** + * To limit the total size of number of bytes the logger will output + * when logging feature has been enabled and -1 for no limit. + * + * The option will be converted to a <code>int</code> type. + * + * Default: 49152 + * Group: logging + * + * @param loggingSizeLimit the value to set + * @return the dsl builder + */ + default CxfRsEndpointBuilder loggingSizeLimit(String loggingSizeLimit) { + doSetProperty("loggingSizeLimit", loggingSizeLimit); + return this; + } } /** diff --git a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/NettyEndpointBuilderFactory.java b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/NettyEndpointBuilderFactory.java index b332cedff64..a8cab8f7a2f 100644 --- a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/NettyEndpointBuilderFactory.java +++ b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/NettyEndpointBuilderFactory.java @@ -379,39 +379,6 @@ public interface NettyEndpointBuilderFactory { doSetProperty("reconnectInterval", reconnectInterval); return this; } - /** - * To enable/disable hostname verification on SSLEngine. - * - * The option is a: <code>boolean</code> type. - * - * Default: false - * Group: security - * - * @param hostnameVerification the value to set - * @return the dsl builder - */ - default NettyEndpointConsumerBuilder hostnameVerification( - boolean hostnameVerification) { - doSetProperty("hostnameVerification", hostnameVerification); - return this; - } - /** - * To enable/disable hostname verification on SSLEngine. - * - * The option will be converted to a <code>boolean</code> - * type. - * - * Default: false - * Group: security - * - * @param hostnameVerification the value to set - * @return the dsl builder - */ - default NettyEndpointConsumerBuilder hostnameVerification( - String hostnameVerification) { - doSetProperty("hostnameVerification", hostnameVerification); - return this; - } /** * The netty component installs a default codec if both, encoder/decoder * is null and textline is false. Setting allowDefaultCodec to false @@ -655,6 +622,39 @@ public interface NettyEndpointBuilderFactory { doSetProperty("enabledProtocols", enabledProtocols); return this; } + /** + * To enable/disable hostname verification on SSLEngine. + * + * The option is a: <code>boolean</code> type. + * + * Default: false + * Group: security + * + * @param hostnameVerification the value to set + * @return the dsl builder + */ + default NettyEndpointConsumerBuilder hostnameVerification( + boolean hostnameVerification) { + doSetProperty("hostnameVerification", hostnameVerification); + return this; + } + /** + * To enable/disable hostname verification on SSLEngine. + * + * The option will be converted to a <code>boolean</code> + * type. + * + * Default: false + * Group: security + * + * @param hostnameVerification the value to set + * @return the dsl builder + */ + default NettyEndpointConsumerBuilder hostnameVerification( + String hostnameVerification) { + doSetProperty("hostnameVerification", hostnameVerification); + return this; + } /** * Client side certificate keystore to be used for encryption. * @@ -2213,39 +2213,6 @@ public interface NettyEndpointBuilderFactory { doSetProperty("requestTimeout", requestTimeout); return this; } - /** - * To enable/disable hostname verification on SSLEngine. - * - * The option is a: <code>boolean</code> type. - * - * Default: false - * Group: security - * - * @param hostnameVerification the value to set - * @return the dsl builder - */ - default NettyEndpointProducerBuilder hostnameVerification( - boolean hostnameVerification) { - doSetProperty("hostnameVerification", hostnameVerification); - return this; - } - /** - * To enable/disable hostname verification on SSLEngine. - * - * The option will be converted to a <code>boolean</code> - * type. - * - * Default: false - * Group: security - * - * @param hostnameVerification the value to set - * @return the dsl builder - */ - default NettyEndpointProducerBuilder hostnameVerification( - String hostnameVerification) { - doSetProperty("hostnameVerification", hostnameVerification); - return this; - } /** * The netty component installs a default codec if both, encoder/decoder * is null and textline is false. Setting allowDefaultCodec to false @@ -2489,6 +2456,39 @@ public interface NettyEndpointBuilderFactory { doSetProperty("enabledProtocols", enabledProtocols); return this; } + /** + * To enable/disable hostname verification on SSLEngine. + * + * The option is a: <code>boolean</code> type. + * + * Default: false + * Group: security + * + * @param hostnameVerification the value to set + * @return the dsl builder + */ + default NettyEndpointProducerBuilder hostnameVerification( + boolean hostnameVerification) { + doSetProperty("hostnameVerification", hostnameVerification); + return this; + } + /** + * To enable/disable hostname verification on SSLEngine. + * + * The option will be converted to a <code>boolean</code> + * type. + * + * Default: false + * Group: security + * + * @param hostnameVerification the value to set + * @return the dsl builder + */ + default NettyEndpointProducerBuilder hostnameVerification( + String hostnameVerification) { + doSetProperty("hostnameVerification", hostnameVerification); + return this; + } /** * Client side certificate keystore to be used for encryption. * @@ -3963,39 +3963,6 @@ public interface NettyEndpointBuilderFactory { doSetProperty("tcpNoDelay", tcpNoDelay); return this; } - /** - * To enable/disable hostname verification on SSLEngine. - * - * The option is a: <code>boolean</code> type. - * - * Default: false - * Group: security - * - * @param hostnameVerification the value to set - * @return the dsl builder - */ - default NettyEndpointBuilder hostnameVerification( - boolean hostnameVerification) { - doSetProperty("hostnameVerification", hostnameVerification); - return this; - } - /** - * To enable/disable hostname verification on SSLEngine. - * - * The option will be converted to a <code>boolean</code> - * type. - * - * Default: false - * Group: security - * - * @param hostnameVerification the value to set - * @return the dsl builder - */ - default NettyEndpointBuilder hostnameVerification( - String hostnameVerification) { - doSetProperty("hostnameVerification", hostnameVerification); - return this; - } /** * The netty component installs a default codec if both, encoder/decoder * is null and textline is false. Setting allowDefaultCodec to false @@ -4236,6 +4203,39 @@ public interface NettyEndpointBuilderFactory { doSetProperty("enabledProtocols", enabledProtocols); return this; } + /** + * To enable/disable hostname verification on SSLEngine. + * + * The option is a: <code>boolean</code> type. + * + * Default: false + * Group: security + * + * @param hostnameVerification the value to set + * @return the dsl builder + */ + default NettyEndpointBuilder hostnameVerification( + boolean hostnameVerification) { + doSetProperty("hostnameVerification", hostnameVerification); + return this; + } + /** + * To enable/disable hostname verification on SSLEngine. + * + * The option will be converted to a <code>boolean</code> + * type. + * + * Default: false + * Group: security + * + * @param hostnameVerification the value to set + * @return the dsl builder + */ + default NettyEndpointBuilder hostnameVerification( + String hostnameVerification) { + doSetProperty("hostnameVerification", hostnameVerification); + return this; + } /** * Client side certificate keystore to be used for encryption. * diff --git a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/NettyHttpEndpointBuilderFactory.java b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/NettyHttpEndpointBuilderFactory.java index aaa33b5f411..d52c0c257ce 100644 --- a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/NettyHttpEndpointBuilderFactory.java +++ b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/NettyHttpEndpointBuilderFactory.java @@ -404,39 +404,6 @@ public interface NettyHttpEndpointBuilderFactory { doSetProperty("send503whenSuspended", send503whenSuspended); return this; } - /** - * To enable/disable hostname verification on SSLEngine. - * - * The option is a: <code>boolean</code> type. - * - * Default: false - * Group: security - * - * @param hostnameVerification the value to set - * @return the dsl builder - */ - default NettyHttpEndpointConsumerBuilder hostnameVerification( - boolean hostnameVerification) { - doSetProperty("hostnameVerification", hostnameVerification); - return this; - } - /** - * To enable/disable hostname verification on SSLEngine. - * - * The option will be converted to a <code>boolean</code> - * type. - * - * Default: false - * Group: security - * - * @param hostnameVerification the value to set - * @return the dsl builder - */ - default NettyHttpEndpointConsumerBuilder hostnameVerification( - String hostnameVerification) { - doSetProperty("hostnameVerification", hostnameVerification); - return this; - } /** * A list of decoders to be used. You can use a String which have values * separated by comma, and have the values be looked up in the Registry. @@ -487,6 +454,39 @@ public interface NettyHttpEndpointBuilderFactory { doSetProperty("enabledProtocols", enabledProtocols); return this; } + /** + * To enable/disable hostname verification on SSLEngine. + * + * The option is a: <code>boolean</code> type. + * + * Default: false + * Group: security + * + * @param hostnameVerification the value to set + * @return the dsl builder + */ + default NettyHttpEndpointConsumerBuilder hostnameVerification( + boolean hostnameVerification) { + doSetProperty("hostnameVerification", hostnameVerification); + return this; + } + /** + * To enable/disable hostname verification on SSLEngine. + * + * The option will be converted to a <code>boolean</code> + * type. + * + * Default: false + * Group: security + * + * @param hostnameVerification the value to set + * @return the dsl builder + */ + default NettyHttpEndpointConsumerBuilder hostnameVerification( + String hostnameVerification) { + doSetProperty("hostnameVerification", hostnameVerification); + return this; + } /** * Client side certificate keystore to be used for encryption. * @@ -2806,39 +2806,6 @@ public interface NettyHttpEndpointBuilderFactory { doSetProperty("throwExceptionOnFailure", throwExceptionOnFailure); return this; } - /** - * To enable/disable hostname verification on SSLEngine. - * - * The option is a: <code>boolean</code> type. - * - * Default: false - * Group: security - * - * @param hostnameVerification the value to set - * @return the dsl builder - */ - default NettyHttpEndpointProducerBuilder hostnameVerification( - boolean hostnameVerification) { - doSetProperty("hostnameVerification", hostnameVerification); - return this; - } - /** - * To enable/disable hostname verification on SSLEngine. - * - * The option will be converted to a <code>boolean</code> - * type. - * - * Default: false - * Group: security - * - * @param hostnameVerification the value to set - * @return the dsl builder - */ - default NettyHttpEndpointProducerBuilder hostnameVerification( - String hostnameVerification) { - doSetProperty("hostnameVerification", hostnameVerification); - return this; - } /** * A list of decoders to be used. You can use a String which have values * separated by comma, and have the values be looked up in the Registry. @@ -2889,6 +2856,39 @@ public interface NettyHttpEndpointBuilderFactory { doSetProperty("enabledProtocols", enabledProtocols); return this; } + /** + * To enable/disable hostname verification on SSLEngine. + * + * The option is a: <code>boolean</code> type. + * + * Default: false + * Group: security + * + * @param hostnameVerification the value to set + * @return the dsl builder + */ + default NettyHttpEndpointProducerBuilder hostnameVerification( + boolean hostnameVerification) { + doSetProperty("hostnameVerification", hostnameVerification); + return this; + } + /** + * To enable/disable hostname verification on SSLEngine. + * + * The option will be converted to a <code>boolean</code> + * type. + * + * Default: false + * Group: security + * + * @param hostnameVerification the value to set + * @return the dsl builder + */ + default NettyHttpEndpointProducerBuilder hostnameVerification( + String hostnameVerification) { + doSetProperty("hostnameVerification", hostnameVerification); + return this; + } /** * Client side certificate keystore to be used for encryption. * @@ -4515,39 +4515,6 @@ public interface NettyHttpEndpointBuilderFactory { doSetProperty("tcpNoDelay", tcpNoDelay); return this; } - /** - * To enable/disable hostname verification on SSLEngine. - * - * The option is a: <code>boolean</code> type. - * - * Default: false - * Group: security - * - * @param hostnameVerification the value to set - * @return the dsl builder - */ - default NettyHttpEndpointBuilder hostnameVerification( - boolean hostnameVerification) { - doSetProperty("hostnameVerification", hostnameVerification); - return this; - } - /** - * To enable/disable hostname verification on SSLEngine. - * - * The option will be converted to a <code>boolean</code> - * type. - * - * Default: false - * Group: security - * - * @param hostnameVerification the value to set - * @return the dsl builder - */ - default NettyHttpEndpointBuilder hostnameVerification( - String hostnameVerification) { - doSetProperty("hostnameVerification", hostnameVerification); - return this; - } /** * A list of decoders to be used. You can use a String which have values * separated by comma, and have the values be looked up in the Registry. @@ -4598,6 +4565,39 @@ public interface NettyHttpEndpointBuilderFactory { doSetProperty("enabledProtocols", enabledProtocols); return this; } + /** + * To enable/disable hostname verification on SSLEngine. + * + * The option is a: <code>boolean</code> type. + * + * Default: false + * Group: security + * + * @param hostnameVerification the value to set + * @return the dsl builder + */ + default NettyHttpEndpointBuilder hostnameVerification( + boolean hostnameVerification) { + doSetProperty("hostnameVerification", hostnameVerification); + return this; + } + /** + * To enable/disable hostname verification on SSLEngine. + * + * The option will be converted to a <code>boolean</code> + * type. + * + * Default: false + * Group: security + * + * @param hostnameVerification the value to set + * @return the dsl builder + */ + default NettyHttpEndpointBuilder hostnameVerification( + String hostnameVerification) { + doSetProperty("hostnameVerification", hostnameVerification); + return this; + } /** * Client side certificate keystore to be used for encryption. * diff --git a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/ServiceBusEndpointBuilderFactory.java b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/ServiceBusEndpointBuilderFactory.java index 59fa3566a2c..08bc4374e66 100644 --- a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/ServiceBusEndpointBuilderFactory.java +++ b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/ServiceBusEndpointBuilderFactory.java @@ -149,6 +149,42 @@ public interface ServiceBusEndpointBuilderFactory { doSetProperty("clientOptions", clientOptions); return this; } + /** + * To use a custom HeaderFilterStrategy to filter Service Bus + * application properties to and from Camel message headers. + * + * The option is a: + * <code>org.apache.camel.spi.HeaderFilterStrategy</code> + * type. + * + * Group: common + * + * @param headerFilterStrategy the value to set + * @return the dsl builder + */ + default ServiceBusEndpointConsumerBuilder headerFilterStrategy( + org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy) { + doSetProperty("headerFilterStrategy", headerFilterStrategy); + return this; + } + /** + * To use a custom HeaderFilterStrategy to filter Service Bus + * application properties to and from Camel message headers. + * + * The option will be converted to a + * <code>org.apache.camel.spi.HeaderFilterStrategy</code> + * type. + * + * Group: common + * + * @param headerFilterStrategy the value to set + * @return the dsl builder + */ + default ServiceBusEndpointConsumerBuilder headerFilterStrategy( + String headerFilterStrategy) { + doSetProperty("headerFilterStrategy", headerFilterStrategy); + return this; + } /** * Sets the proxy configuration to use for ServiceBusSenderAsyncClient. * When a proxy is configured, AMQP_WEB_SOCKETS must be used for the @@ -910,6 +946,42 @@ public interface ServiceBusEndpointBuilderFactory { doSetProperty("clientOptions", clientOptions); return this; } + /** + * To use a custom HeaderFilterStrategy to filter Service Bus + * application properties to and from Camel message headers. + * + * The option is a: + * <code>org.apache.camel.spi.HeaderFilterStrategy</code> + * type. + * + * Group: common + * + * @param headerFilterStrategy the value to set + * @return the dsl builder + */ + default ServiceBusEndpointProducerBuilder headerFilterStrategy( + org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy) { + doSetProperty("headerFilterStrategy", headerFilterStrategy); + return this; + } + /** + * To use a custom HeaderFilterStrategy to filter Service Bus + * application properties to and from Camel message headers. + * + * The option will be converted to a + * <code>org.apache.camel.spi.HeaderFilterStrategy</code> + * type. + * + * Group: common + * + * @param headerFilterStrategy the value to set + * @return the dsl builder + */ + default ServiceBusEndpointProducerBuilder headerFilterStrategy( + String headerFilterStrategy) { + doSetProperty("headerFilterStrategy", headerFilterStrategy); + return this; + } /** * Sets the proxy configuration to use for ServiceBusSenderAsyncClient. * When a proxy is configured, AMQP_WEB_SOCKETS must be used for the @@ -1428,6 +1500,42 @@ public interface ServiceBusEndpointBuilderFactory { doSetProperty("clientOptions", clientOptions); return this; } + /** + * To use a custom HeaderFilterStrategy to filter Service Bus + * application properties to and from Camel message headers. + * + * The option is a: + * <code>org.apache.camel.spi.HeaderFilterStrategy</code> + * type. + * + * Group: common + * + * @param headerFilterStrategy the value to set + * @return the dsl builder + */ + default ServiceBusEndpointBuilder headerFilterStrategy( + org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy) { + doSetProperty("headerFilterStrategy", headerFilterStrategy); + return this; + } + /** + * To use a custom HeaderFilterStrategy to filter Service Bus + * application properties to and from Camel message headers. + * + * The option will be converted to a + * <code>org.apache.camel.spi.HeaderFilterStrategy</code> + * type. + * + * Group: common + * + * @param headerFilterStrategy the value to set + * @return the dsl builder + */ + default ServiceBusEndpointBuilder headerFilterStrategy( + String headerFilterStrategy) { + doSetProperty("headerFilterStrategy", headerFilterStrategy); + return this; + } /** * Sets the proxy configuration to use for ServiceBusSenderAsyncClient. * When a proxy is configured, AMQP_WEB_SOCKETS must be used for the