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 175985f5ec1 Regen
175985f5ec1 is described below
commit 175985f5ec1e216d5cc4250be60b32f8741afda3
Author: Claus Ibsen <[email protected]>
AuthorDate: Tue Jan 3 07:39:59 2023 +0100
Regen
---
.../org/apache/camel/catalog/components/smpp.json | 2 ++
.../org/apache/camel/catalog/components/smpps.json | 2 ++
.../component/dsl/SmppComponentBuilderFactory.java | 21 +++++++++++++++++++++
.../component/dsl/SmppsComponentBuilderFactory.java | 21 +++++++++++++++++++++
.../endpoint/dsl/SmppEndpointBuilderFactory.java | 20 ++++++++++++++++++++
5 files changed, 66 insertions(+)
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/smpp.json
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/smpp.json
index 48397c5e7cf..8393befc59c 100644
---
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/smpp.json
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/smpp.json
@@ -35,6 +35,7 @@
"destAddrTon": { "kind": "property", "displayName": "Dest Addr Ton",
"group": "producer", "label": "producer", "required": false, "type": "integer",
"javaType": "byte", "enum": [ "0", "1", "2", "3", "4", "5", "6" ],
"deprecated": false, "autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.smpp.SmppConfiguration", "configurationField":
"configuration", "description": "Defines the type of number (TON) to be used in
the SME destination address parameter [...]
"lazySessionCreation": { "kind": "property", "displayName": "Lazy Session
Creation", "group": "producer", "label": "producer", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.smpp.SmppConfiguration", "configurationField":
"configuration", "description": "Sessions can be lazily created to avoid
exceptions, if the SMSC is not available when the [...]
"lazyStartProducer": { "kind": "property", "displayName": "Lazy Start
Producer", "group": "producer", "label": "producer", "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 producer
may otherwise fail during star [...]
+ "messageReceiverRouteId": { "kind": "property", "displayName": "Message
Receiver Route Id", "group": "producer", "label": "producer", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.smpp.SmppConfiguration", "configurationField":
"configuration", "description": "Set this on producer in order to benefit from
transceiver (TRX) binding type. So once set, you do [...]
"numberingPlanIndicator": { "kind": "property", "displayName": "Numbering
Plan Indicator", "group": "producer", "label": "producer", "required": false,
"type": "integer", "javaType": "byte", "enum": [ "0", "1", "2", "3", "6", "8",
"9", "10", "13", "18" ], "deprecated": false, "autowired": false, "secret":
false, "configurationClass":
"org.apache.camel.component.smpp.SmppConfiguration", "configurationField":
"configuration", "description": "Defines the numeric plan indicator (NPI) to
[...]
"priorityFlag": { "kind": "property", "displayName": "Priority Flag",
"group": "producer", "label": "producer", "required": false, "type": "integer",
"javaType": "byte", "enum": [ "0", "1", "2", "3" ], "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.smpp.SmppConfiguration", "configurationField":
"configuration", "description": "Allows the originating SME to assign a
priority level to the short message. Only for SubmitSm and [...]
"protocolId": { "kind": "property", "displayName": "Protocol Id", "group":
"producer", "label": "producer", "required": false, "type": "integer",
"javaType": "byte", "deprecated": false, "autowired": false, "secret": false,
"configurationClass": "org.apache.camel.component.smpp.SmppConfiguration",
"configurationField": "configuration", "description": "The protocol id" },
@@ -125,6 +126,7 @@
"destAddrNpi": { "kind": "parameter", "displayName": "Dest Addr Npi",
"group": "producer", "label": "producer", "required": false, "type": "integer",
"javaType": "byte", "enum": [ "0", "1", "2", "3", "6", "8", "9", "10", "13",
"18" ], "deprecated": false, "autowired": false, "secret": false,
"configurationClass": "org.apache.camel.component.smpp.SmppConfiguration",
"configurationField": "configuration", "description": "Defines the type of
number (TON) to be used in the SME destinatio [...]
"destAddrTon": { "kind": "parameter", "displayName": "Dest Addr Ton",
"group": "producer", "label": "producer", "required": false, "type": "integer",
"javaType": "byte", "enum": [ "0", "1", "2", "3", "4", "5", "6" ],
"deprecated": false, "autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.smpp.SmppConfiguration", "configurationField":
"configuration", "description": "Defines the type of number (TON) to be used in
the SME destination address paramete [...]
"lazySessionCreation": { "kind": "parameter", "displayName": "Lazy Session
Creation", "group": "producer", "label": "producer", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.smpp.SmppConfiguration", "configurationField":
"configuration", "description": "Sessions can be lazily created to avoid
exceptions, if the SMSC is not available when th [...]
+ "messageReceiverRouteId": { "kind": "parameter", "displayName": "Message
Receiver Route Id", "group": "producer", "label": "producer", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.smpp.SmppConfiguration", "configurationField":
"configuration", "description": "Set this on producer in order to benefit from
transceiver (TRX) binding type. So once set, you d [...]
"numberingPlanIndicator": { "kind": "parameter", "displayName": "Numbering
Plan Indicator", "group": "producer", "label": "producer", "required": false,
"type": "integer", "javaType": "byte", "enum": [ "0", "1", "2", "3", "6", "8",
"9", "10", "13", "18" ], "deprecated": false, "autowired": false, "secret":
false, "configurationClass":
"org.apache.camel.component.smpp.SmppConfiguration", "configurationField":
"configuration", "description": "Defines the numeric plan indicator (NPI) to
[...]
"priorityFlag": { "kind": "parameter", "displayName": "Priority Flag",
"group": "producer", "label": "producer", "required": false, "type": "integer",
"javaType": "byte", "enum": [ "0", "1", "2", "3" ], "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.smpp.SmppConfiguration", "configurationField":
"configuration", "description": "Allows the originating SME to assign a
priority level to the short message. Only for SubmitSm and [...]
"protocolId": { "kind": "parameter", "displayName": "Protocol Id",
"group": "producer", "label": "producer", "required": false, "type": "integer",
"javaType": "byte", "deprecated": false, "autowired": false, "secret": false,
"configurationClass": "org.apache.camel.component.smpp.SmppConfiguration",
"configurationField": "configuration", "description": "The protocol id" },
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/smpps.json
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/smpps.json
index 9573d552a27..12c2aec09e9 100644
---
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/smpps.json
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/smpps.json
@@ -35,6 +35,7 @@
"destAddrTon": { "kind": "property", "displayName": "Dest Addr Ton",
"group": "producer", "label": "producer", "required": false, "type": "integer",
"javaType": "byte", "enum": [ "0", "1", "2", "3", "4", "5", "6" ],
"deprecated": false, "autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.smpp.SmppConfiguration", "configurationField":
"configuration", "description": "Defines the type of number (TON) to be used in
the SME destination address parameter [...]
"lazySessionCreation": { "kind": "property", "displayName": "Lazy Session
Creation", "group": "producer", "label": "producer", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.smpp.SmppConfiguration", "configurationField":
"configuration", "description": "Sessions can be lazily created to avoid
exceptions, if the SMSC is not available when the [...]
"lazyStartProducer": { "kind": "property", "displayName": "Lazy Start
Producer", "group": "producer", "label": "producer", "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 producer
may otherwise fail during star [...]
+ "messageReceiverRouteId": { "kind": "property", "displayName": "Message
Receiver Route Id", "group": "producer", "label": "producer", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.smpp.SmppConfiguration", "configurationField":
"configuration", "description": "Set this on producer in order to benefit from
transceiver (TRX) binding type. So once set, you do [...]
"numberingPlanIndicator": { "kind": "property", "displayName": "Numbering
Plan Indicator", "group": "producer", "label": "producer", "required": false,
"type": "integer", "javaType": "byte", "enum": [ "0", "1", "2", "3", "6", "8",
"9", "10", "13", "18" ], "deprecated": false, "autowired": false, "secret":
false, "configurationClass":
"org.apache.camel.component.smpp.SmppConfiguration", "configurationField":
"configuration", "description": "Defines the numeric plan indicator (NPI) to
[...]
"priorityFlag": { "kind": "property", "displayName": "Priority Flag",
"group": "producer", "label": "producer", "required": false, "type": "integer",
"javaType": "byte", "enum": [ "0", "1", "2", "3" ], "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.smpp.SmppConfiguration", "configurationField":
"configuration", "description": "Allows the originating SME to assign a
priority level to the short message. Only for SubmitSm and [...]
"protocolId": { "kind": "property", "displayName": "Protocol Id", "group":
"producer", "label": "producer", "required": false, "type": "integer",
"javaType": "byte", "deprecated": false, "autowired": false, "secret": false,
"configurationClass": "org.apache.camel.component.smpp.SmppConfiguration",
"configurationField": "configuration", "description": "The protocol id" },
@@ -125,6 +126,7 @@
"destAddrNpi": { "kind": "parameter", "displayName": "Dest Addr Npi",
"group": "producer", "label": "producer", "required": false, "type": "integer",
"javaType": "byte", "enum": [ "0", "1", "2", "3", "6", "8", "9", "10", "13",
"18" ], "deprecated": false, "autowired": false, "secret": false,
"configurationClass": "org.apache.camel.component.smpp.SmppConfiguration",
"configurationField": "configuration", "description": "Defines the type of
number (TON) to be used in the SME destinatio [...]
"destAddrTon": { "kind": "parameter", "displayName": "Dest Addr Ton",
"group": "producer", "label": "producer", "required": false, "type": "integer",
"javaType": "byte", "enum": [ "0", "1", "2", "3", "4", "5", "6" ],
"deprecated": false, "autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.smpp.SmppConfiguration", "configurationField":
"configuration", "description": "Defines the type of number (TON) to be used in
the SME destination address paramete [...]
"lazySessionCreation": { "kind": "parameter", "displayName": "Lazy Session
Creation", "group": "producer", "label": "producer", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.smpp.SmppConfiguration", "configurationField":
"configuration", "description": "Sessions can be lazily created to avoid
exceptions, if the SMSC is not available when th [...]
+ "messageReceiverRouteId": { "kind": "parameter", "displayName": "Message
Receiver Route Id", "group": "producer", "label": "producer", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.smpp.SmppConfiguration", "configurationField":
"configuration", "description": "Set this on producer in order to benefit from
transceiver (TRX) binding type. So once set, you d [...]
"numberingPlanIndicator": { "kind": "parameter", "displayName": "Numbering
Plan Indicator", "group": "producer", "label": "producer", "required": false,
"type": "integer", "javaType": "byte", "enum": [ "0", "1", "2", "3", "6", "8",
"9", "10", "13", "18" ], "deprecated": false, "autowired": false, "secret":
false, "configurationClass":
"org.apache.camel.component.smpp.SmppConfiguration", "configurationField":
"configuration", "description": "Defines the numeric plan indicator (NPI) to
[...]
"priorityFlag": { "kind": "parameter", "displayName": "Priority Flag",
"group": "producer", "label": "producer", "required": false, "type": "integer",
"javaType": "byte", "enum": [ "0", "1", "2", "3" ], "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.smpp.SmppConfiguration", "configurationField":
"configuration", "description": "Allows the originating SME to assign a
priority level to the short message. Only for SubmitSm and [...]
"protocolId": { "kind": "parameter", "displayName": "Protocol Id",
"group": "producer", "label": "producer", "required": false, "type": "integer",
"javaType": "byte", "deprecated": false, "autowired": false, "secret": false,
"configurationClass": "org.apache.camel.component.smpp.SmppConfiguration",
"configurationField": "configuration", "description": "The protocol id" },
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 4fe1ec29ccb..83753f109b4 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
@@ -274,6 +274,26 @@ public interface SmppComponentBuilderFactory {
doSetProperty("lazyStartProducer", lazyStartProducer);
return this;
}
+ /**
+ * Set this on producer in order to benefit from transceiver (TRX)
+ * binding type. So once set, you don't need to define an 'SMTPP
+ * consumer' endpoint anymore. You would set this to a 'Direct
consumer'
+ * endpoint instead. DISCALIMER: This feature is only tested with
+ * 'Direct consumer' endpoint. The behavior with any other consumer
type
+ * is unknown and not tested.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: producer
+ *
+ * @param messageReceiverRouteId the value to set
+ * @return the dsl builder
+ */
+ default SmppComponentBuilder messageReceiverRouteId(
+ java.lang.String messageReceiverRouteId) {
+ doSetProperty("messageReceiverRouteId", messageReceiverRouteId);
+ return this;
+ }
/**
* Defines the numeric plan indicator (NPI) to be used in the SME. The
* following NPI values are defined: 0: Unknown 1: ISDN (E163/E164) 2:
@@ -800,6 +820,7 @@ public interface SmppComponentBuilderFactory {
case "destAddrTon": getOrCreateConfiguration((SmppComponent)
component).setDestAddrTon((byte) value); return true;
case "lazySessionCreation":
getOrCreateConfiguration((SmppComponent)
component).setLazySessionCreation((boolean) value); return true;
case "lazyStartProducer": ((SmppComponent)
component).setLazyStartProducer((boolean) value); return true;
+ case "messageReceiverRouteId":
getOrCreateConfiguration((SmppComponent)
component).setMessageReceiverRouteId((java.lang.String) value); return true;
case "numberingPlanIndicator":
getOrCreateConfiguration((SmppComponent)
component).setNumberingPlanIndicator((byte) value); return true;
case "priorityFlag": getOrCreateConfiguration((SmppComponent)
component).setPriorityFlag((byte) value); return true;
case "protocolId": getOrCreateConfiguration((SmppComponent)
component).setProtocolId((byte) 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 86f8a85c549..6a726e357f9 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
@@ -275,6 +275,26 @@ public interface SmppsComponentBuilderFactory {
doSetProperty("lazyStartProducer", lazyStartProducer);
return this;
}
+ /**
+ * Set this on producer in order to benefit from transceiver (TRX)
+ * binding type. So once set, you don't need to define an 'SMTPP
+ * consumer' endpoint anymore. You would set this to a 'Direct
consumer'
+ * endpoint instead. DISCALIMER: This feature is only tested with
+ * 'Direct consumer' endpoint. The behavior with any other consumer
type
+ * is unknown and not tested.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: producer
+ *
+ * @param messageReceiverRouteId the value to set
+ * @return the dsl builder
+ */
+ default SmppsComponentBuilder messageReceiverRouteId(
+ java.lang.String messageReceiverRouteId) {
+ doSetProperty("messageReceiverRouteId", messageReceiverRouteId);
+ return this;
+ }
/**
* Defines the numeric plan indicator (NPI) to be used in the SME. The
* following NPI values are defined: 0: Unknown 1: ISDN (E163/E164) 2:
@@ -801,6 +821,7 @@ public interface SmppsComponentBuilderFactory {
case "destAddrTon": getOrCreateConfiguration((SmppComponent)
component).setDestAddrTon((byte) value); return true;
case "lazySessionCreation":
getOrCreateConfiguration((SmppComponent)
component).setLazySessionCreation((boolean) value); return true;
case "lazyStartProducer": ((SmppComponent)
component).setLazyStartProducer((boolean) value); return true;
+ case "messageReceiverRouteId":
getOrCreateConfiguration((SmppComponent)
component).setMessageReceiverRouteId((java.lang.String) value); return true;
case "numberingPlanIndicator":
getOrCreateConfiguration((SmppComponent)
component).setNumberingPlanIndicator((byte) value); return true;
case "priorityFlag": getOrCreateConfiguration((SmppComponent)
component).setPriorityFlag((byte) value); return true;
case "protocolId": getOrCreateConfiguration((SmppComponent)
component).setProtocolId((byte) 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 a4f0034a391..90c1ee9a7f5 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
@@ -1124,6 +1124,26 @@ public interface SmppEndpointBuilderFactory {
doSetProperty("lazySessionCreation", lazySessionCreation);
return this;
}
+ /**
+ * Set this on producer in order to benefit from transceiver (TRX)
+ * binding type. So once set, you don't need to define an 'SMTPP
+ * consumer' endpoint anymore. You would set this to a 'Direct
consumer'
+ * endpoint instead. DISCALIMER: This feature is only tested with
+ * 'Direct consumer' endpoint. The behavior with any other consumer
type
+ * is unknown and not tested.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: producer
+ *
+ * @param messageReceiverRouteId the value to set
+ * @return the dsl builder
+ */
+ default SmppEndpointProducerBuilder messageReceiverRouteId(
+ String messageReceiverRouteId) {
+ doSetProperty("messageReceiverRouteId", messageReceiverRouteId);
+ return this;
+ }
/**
* Defines the numeric plan indicator (NPI) to be used in the SME. The
* following NPI values are defined: 0: Unknown 1: ISDN (E163/E164) 2: