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
commit 7144c414378dd976b79ccc9fc4f0435924f8aa4f Author: Claus Ibsen <[email protected]> AuthorDate: Thu Nov 9 15:56:46 2023 +0100 Regen --- .../component/dsl/SmppComponentBuilderFactory.java | 21 ++++++++ .../dsl/SmppsComponentBuilderFactory.java | 21 ++++++++ .../endpoint/dsl/SmppEndpointBuilderFactory.java | 60 ++++++++++++++++++++++ 3 files changed, 102 insertions(+) diff --git a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/SmppComponentBuilderFactory.java b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/SmppComponentBuilderFactory.java index 5dac1c3b7e3..54631f10671 100644 --- a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/SmppComponentBuilderFactory.java +++ b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/SmppComponentBuilderFactory.java @@ -528,6 +528,26 @@ public interface SmppComponentBuilderFactory { doSetProperty("enquireLinkTimer", enquireLinkTimer); return this; } + /** + * Defines the interface version to be used in the binding request with + * the SMSC. The following values are allowed, as defined in the SMPP + * protocol (and the underlying implementation using the jSMPP library, + * respectively): legacy (0x00), 3.3 (0x33), 3.4 (0x34), and 5.0 (0x50). + * The default (fallback) value is version 3.4. + * + * The option is a: <code>java.lang.String</code> type. + * + * Default: 3.4 + * Group: advanced + * + * @param interfaceVersion the value to set + * @return the dsl builder + */ + default SmppComponentBuilder interfaceVersion( + java.lang.String interfaceVersion) { + doSetProperty("interfaceVersion", interfaceVersion); + return this; + } /** * Sets the number of threads which can read PDU and process them in * parallel. @@ -839,6 +859,7 @@ public interface SmppComponentBuilderFactory { case "autowiredEnabled": ((SmppComponent) component).setAutowiredEnabled((boolean) value); return true; case "configuration": ((SmppComponent) component).setConfiguration((org.apache.camel.component.smpp.SmppConfiguration) value); return true; case "enquireLinkTimer": getOrCreateConfiguration((SmppComponent) component).setEnquireLinkTimer((java.lang.Integer) value); return true; + case "interfaceVersion": getOrCreateConfiguration((SmppComponent) component).setInterfaceVersion((java.lang.String) value); return true; case "pduProcessorDegree": getOrCreateConfiguration((SmppComponent) component).setPduProcessorDegree((java.lang.Integer) value); return true; case "pduProcessorQueueCapacity": getOrCreateConfiguration((SmppComponent) component).setPduProcessorQueueCapacity((java.lang.Integer) value); return true; case "sessionStateListener": getOrCreateConfiguration((SmppComponent) component).setSessionStateListener((org.jsmpp.session.SessionStateListener) value); return true; diff --git a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/SmppsComponentBuilderFactory.java b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/SmppsComponentBuilderFactory.java index d7a1c12567a..42b72b00319 100644 --- a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/SmppsComponentBuilderFactory.java +++ b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/SmppsComponentBuilderFactory.java @@ -529,6 +529,26 @@ public interface SmppsComponentBuilderFactory { doSetProperty("enquireLinkTimer", enquireLinkTimer); return this; } + /** + * Defines the interface version to be used in the binding request with + * the SMSC. The following values are allowed, as defined in the SMPP + * protocol (and the underlying implementation using the jSMPP library, + * respectively): legacy (0x00), 3.3 (0x33), 3.4 (0x34), and 5.0 (0x50). + * The default (fallback) value is version 3.4. + * + * The option is a: <code>java.lang.String</code> type. + * + * Default: 3.4 + * Group: advanced + * + * @param interfaceVersion the value to set + * @return the dsl builder + */ + default SmppsComponentBuilder interfaceVersion( + java.lang.String interfaceVersion) { + doSetProperty("interfaceVersion", interfaceVersion); + return this; + } /** * Sets the number of threads which can read PDU and process them in * parallel. @@ -840,6 +860,7 @@ public interface SmppsComponentBuilderFactory { case "autowiredEnabled": ((SmppComponent) component).setAutowiredEnabled((boolean) value); return true; case "configuration": ((SmppComponent) component).setConfiguration((org.apache.camel.component.smpp.SmppConfiguration) value); return true; case "enquireLinkTimer": getOrCreateConfiguration((SmppComponent) component).setEnquireLinkTimer((java.lang.Integer) value); return true; + case "interfaceVersion": getOrCreateConfiguration((SmppComponent) component).setInterfaceVersion((java.lang.String) value); return true; case "pduProcessorDegree": getOrCreateConfiguration((SmppComponent) component).setPduProcessorDegree((java.lang.Integer) value); return true; case "pduProcessorQueueCapacity": getOrCreateConfiguration((SmppComponent) component).setPduProcessorQueueCapacity((java.lang.Integer) value); return true; case "sessionStateListener": getOrCreateConfiguration((SmppComponent) component).setSessionStateListener((org.jsmpp.session.SessionStateListener) value); return true; diff --git a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/SmppEndpointBuilderFactory.java b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/SmppEndpointBuilderFactory.java index 62206f44d25..77a77678830 100644 --- a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/SmppEndpointBuilderFactory.java +++ b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/SmppEndpointBuilderFactory.java @@ -652,6 +652,26 @@ public interface SmppEndpointBuilderFactory { doSetProperty("enquireLinkTimer", enquireLinkTimer); return this; } + /** + * Defines the interface version to be used in the binding request with + * the SMSC. The following values are allowed, as defined in the SMPP + * protocol (and the underlying implementation using the jSMPP library, + * respectively): legacy (0x00), 3.3 (0x33), 3.4 (0x34), and 5.0 (0x50). + * The default (fallback) value is version 3.4. + * + * The option is a: <code>java.lang.String</code> type. + * + * Default: 3.4 + * Group: advanced + * + * @param interfaceVersion the value to set + * @return the dsl builder + */ + default AdvancedSmppEndpointConsumerBuilder interfaceVersion( + String interfaceVersion) { + doSetProperty("interfaceVersion", interfaceVersion); + return this; + } /** * Sets the number of threads which can read PDU and process them in * parallel. @@ -1824,6 +1844,26 @@ public interface SmppEndpointBuilderFactory { doSetProperty("enquireLinkTimer", enquireLinkTimer); return this; } + /** + * Defines the interface version to be used in the binding request with + * the SMSC. The following values are allowed, as defined in the SMPP + * protocol (and the underlying implementation using the jSMPP library, + * respectively): legacy (0x00), 3.3 (0x33), 3.4 (0x34), and 5.0 (0x50). + * The default (fallback) value is version 3.4. + * + * The option is a: <code>java.lang.String</code> type. + * + * Default: 3.4 + * Group: advanced + * + * @param interfaceVersion the value to set + * @return the dsl builder + */ + default AdvancedSmppEndpointProducerBuilder interfaceVersion( + String interfaceVersion) { + doSetProperty("interfaceVersion", interfaceVersion); + return this; + } /** * Sets the number of threads which can read PDU and process them in * parallel. @@ -2477,6 +2517,26 @@ public interface SmppEndpointBuilderFactory { doSetProperty("enquireLinkTimer", enquireLinkTimer); return this; } + /** + * Defines the interface version to be used in the binding request with + * the SMSC. The following values are allowed, as defined in the SMPP + * protocol (and the underlying implementation using the jSMPP library, + * respectively): legacy (0x00), 3.3 (0x33), 3.4 (0x34), and 5.0 (0x50). + * The default (fallback) value is version 3.4. + * + * The option is a: <code>java.lang.String</code> type. + * + * Default: 3.4 + * Group: advanced + * + * @param interfaceVersion the value to set + * @return the dsl builder + */ + default AdvancedSmppEndpointBuilder interfaceVersion( + String interfaceVersion) { + doSetProperty("interfaceVersion", interfaceVersion); + return this; + } /** * Sets the number of threads which can read PDU and process them in * parallel.
