Interface SmppEndpointBuilderFactory.AdvancedSmppEndpointBuilder
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder,org.apache.camel.EndpointConsumerResolver,org.apache.camel.builder.EndpointProducerBuilder,org.apache.camel.EndpointProducerResolver,SmppEndpointBuilderFactory.AdvancedSmppEndpointConsumerBuilder,SmppEndpointBuilderFactory.AdvancedSmppEndpointProducerBuilder
- Enclosing interface:
SmppEndpointBuilderFactory
public static interface SmppEndpointBuilderFactory.AdvancedSmppEndpointBuilder
extends SmppEndpointBuilderFactory.AdvancedSmppEndpointConsumerBuilder, SmppEndpointBuilderFactory.AdvancedSmppEndpointProducerBuilder
Advanced builder for endpoint for the SMPP component.
-
Method Summary
Modifier and TypeMethodDescriptionbasic()enquireLinkTimer(Integer enquireLinkTimer) Defines the interval in milliseconds between the confidence checks.enquireLinkTimer(String enquireLinkTimer) Defines the interval in milliseconds between the confidence checks.interfaceVersion(String interfaceVersion) Defines the interface version to be used in the binding request with the SMSC.pduProcessorDegree(Integer pduProcessorDegree) Sets the number of threads which can read PDU and process them in parallel.pduProcessorDegree(String pduProcessorDegree) Sets the number of threads which can read PDU and process them in parallel.pduProcessorQueueCapacity(Integer pduProcessorQueueCapacity) Sets the capacity of the working queue for PDU processing.pduProcessorQueueCapacity(String pduProcessorQueueCapacity) Sets the capacity of the working queue for PDU processing.sessionStateListener(String sessionStateListener) You can refer to a org.jsmpp.session.SessionStateListener in the Registry to receive callbacks when the session state changed.sessionStateListener(org.jsmpp.session.SessionStateListener sessionStateListener) You can refer to a org.jsmpp.session.SessionStateListener in the Registry to receive callbacks when the session state changed.singleDLR(boolean singleDLR) When true, the SMSC delivery receipt would be requested only for the last segment of a multi-segment (long) message.When true, the SMSC delivery receipt would be requested only for the last segment of a multi-segment (long) message.transactionTimer(Integer transactionTimer) Defines the maximum period of inactivity allowed after a transaction, after which an SMPP entity may assume that the session is no longer active.transactionTimer(String transactionTimer) Defines the maximum period of inactivity allowed after a transaction, after which an SMPP entity may assume that the session is no longer active.Methods inherited from interface org.apache.camel.builder.EndpointConsumerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUriMethods inherited from interface org.apache.camel.EndpointConsumerResolver
resolve, resolveMethods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUriMethods inherited from interface org.apache.camel.EndpointProducerResolver
resolve, resolveMethods inherited from interface org.apache.camel.builder.endpoint.dsl.SmppEndpointBuilderFactory.AdvancedSmppEndpointConsumerBuilder
bridgeErrorHandler, bridgeErrorHandler, exceptionHandler, exceptionHandler, exchangePattern, exchangePatternMethods inherited from interface org.apache.camel.builder.endpoint.dsl.SmppEndpointBuilderFactory.AdvancedSmppEndpointProducerBuilder
lazyStartProducer, lazyStartProducer
-
Method Details
-
basic
- Specified by:
basicin interfaceSmppEndpointBuilderFactory.AdvancedSmppEndpointConsumerBuilder- Specified by:
basicin interfaceSmppEndpointBuilderFactory.AdvancedSmppEndpointProducerBuilder
-
enquireLinkTimer
default SmppEndpointBuilderFactory.AdvancedSmppEndpointBuilder enquireLinkTimer(Integer enquireLinkTimer) Defines the interval in milliseconds between the confidence checks. The confidence check is used to test the communication path between an ESME and an SMSC. The option is a: <code>java.lang.Integer</code> type. Default: 60000 Group: advanced- Specified by:
enquireLinkTimerin interfaceSmppEndpointBuilderFactory.AdvancedSmppEndpointConsumerBuilder- Specified by:
enquireLinkTimerin interfaceSmppEndpointBuilderFactory.AdvancedSmppEndpointProducerBuilder- Parameters:
enquireLinkTimer- the value to set- Returns:
- the dsl builder
-
enquireLinkTimer
default SmppEndpointBuilderFactory.AdvancedSmppEndpointBuilder enquireLinkTimer(String enquireLinkTimer) Defines the interval in milliseconds between the confidence checks. The confidence check is used to test the communication path between an ESME and an SMSC. The option will be converted to a <code>java.lang.Integer</code> type. Default: 60000 Group: advanced- Specified by:
enquireLinkTimerin interfaceSmppEndpointBuilderFactory.AdvancedSmppEndpointConsumerBuilder- Specified by:
enquireLinkTimerin interfaceSmppEndpointBuilderFactory.AdvancedSmppEndpointProducerBuilder- Parameters:
enquireLinkTimer- the value to set- Returns:
- the dsl builder
-
interfaceVersion
default SmppEndpointBuilderFactory.AdvancedSmppEndpointBuilder interfaceVersion(String interfaceVersion) 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- Specified by:
interfaceVersionin interfaceSmppEndpointBuilderFactory.AdvancedSmppEndpointConsumerBuilder- Specified by:
interfaceVersionin interfaceSmppEndpointBuilderFactory.AdvancedSmppEndpointProducerBuilder- Parameters:
interfaceVersion- the value to set- Returns:
- the dsl builder
-
pduProcessorDegree
default SmppEndpointBuilderFactory.AdvancedSmppEndpointBuilder pduProcessorDegree(Integer pduProcessorDegree) Sets the number of threads which can read PDU and process them in parallel. The option is a: <code>java.lang.Integer</code> type. Default: 3 Group: advanced- Specified by:
pduProcessorDegreein interfaceSmppEndpointBuilderFactory.AdvancedSmppEndpointConsumerBuilder- Specified by:
pduProcessorDegreein interfaceSmppEndpointBuilderFactory.AdvancedSmppEndpointProducerBuilder- Parameters:
pduProcessorDegree- the value to set- Returns:
- the dsl builder
-
pduProcessorDegree
default SmppEndpointBuilderFactory.AdvancedSmppEndpointBuilder pduProcessorDegree(String pduProcessorDegree) Sets the number of threads which can read PDU and process them in parallel. The option will be converted to a <code>java.lang.Integer</code> type. Default: 3 Group: advanced- Specified by:
pduProcessorDegreein interfaceSmppEndpointBuilderFactory.AdvancedSmppEndpointConsumerBuilder- Specified by:
pduProcessorDegreein interfaceSmppEndpointBuilderFactory.AdvancedSmppEndpointProducerBuilder- Parameters:
pduProcessorDegree- the value to set- Returns:
- the dsl builder
-
pduProcessorQueueCapacity
default SmppEndpointBuilderFactory.AdvancedSmppEndpointBuilder pduProcessorQueueCapacity(Integer pduProcessorQueueCapacity) Sets the capacity of the working queue for PDU processing. The option is a: <code>java.lang.Integer</code> type. Default: 100 Group: advanced- Specified by:
pduProcessorQueueCapacityin interfaceSmppEndpointBuilderFactory.AdvancedSmppEndpointConsumerBuilder- Specified by:
pduProcessorQueueCapacityin interfaceSmppEndpointBuilderFactory.AdvancedSmppEndpointProducerBuilder- Parameters:
pduProcessorQueueCapacity- the value to set- Returns:
- the dsl builder
-
pduProcessorQueueCapacity
default SmppEndpointBuilderFactory.AdvancedSmppEndpointBuilder pduProcessorQueueCapacity(String pduProcessorQueueCapacity) Sets the capacity of the working queue for PDU processing. The option will be converted to a <code>java.lang.Integer</code> type. Default: 100 Group: advanced- Specified by:
pduProcessorQueueCapacityin interfaceSmppEndpointBuilderFactory.AdvancedSmppEndpointConsumerBuilder- Specified by:
pduProcessorQueueCapacityin interfaceSmppEndpointBuilderFactory.AdvancedSmppEndpointProducerBuilder- Parameters:
pduProcessorQueueCapacity- the value to set- Returns:
- the dsl builder
-
sessionStateListener
default SmppEndpointBuilderFactory.AdvancedSmppEndpointBuilder sessionStateListener(org.jsmpp.session.SessionStateListener sessionStateListener) You can refer to a org.jsmpp.session.SessionStateListener in the Registry to receive callbacks when the session state changed. The option is a: <code>org.jsmpp.session.SessionStateListener</code> type. Group: advanced- Specified by:
sessionStateListenerin interfaceSmppEndpointBuilderFactory.AdvancedSmppEndpointConsumerBuilder- Specified by:
sessionStateListenerin interfaceSmppEndpointBuilderFactory.AdvancedSmppEndpointProducerBuilder- Parameters:
sessionStateListener- the value to set- Returns:
- the dsl builder
-
sessionStateListener
default SmppEndpointBuilderFactory.AdvancedSmppEndpointBuilder sessionStateListener(String sessionStateListener) You can refer to a org.jsmpp.session.SessionStateListener in the Registry to receive callbacks when the session state changed. The option will be converted to a <code>org.jsmpp.session.SessionStateListener</code> type. Group: advanced- Specified by:
sessionStateListenerin interfaceSmppEndpointBuilderFactory.AdvancedSmppEndpointConsumerBuilder- Specified by:
sessionStateListenerin interfaceSmppEndpointBuilderFactory.AdvancedSmppEndpointProducerBuilder- Parameters:
sessionStateListener- the value to set- Returns:
- the dsl builder
-
singleDLR
When true, the SMSC delivery receipt would be requested only for the last segment of a multi-segment (long) message. For short messages, with only 1 segment the behaviour is unchanged. The option is a: <code>boolean</code> type. Default: false Group: advanced- Specified by:
singleDLRin interfaceSmppEndpointBuilderFactory.AdvancedSmppEndpointConsumerBuilder- Specified by:
singleDLRin interfaceSmppEndpointBuilderFactory.AdvancedSmppEndpointProducerBuilder- Parameters:
singleDLR- the value to set- Returns:
- the dsl builder
-
singleDLR
When true, the SMSC delivery receipt would be requested only for the last segment of a multi-segment (long) message. For short messages, with only 1 segment the behaviour is unchanged. The option will be converted to a <code>boolean</code> type. Default: false Group: advanced- Specified by:
singleDLRin interfaceSmppEndpointBuilderFactory.AdvancedSmppEndpointConsumerBuilder- Specified by:
singleDLRin interfaceSmppEndpointBuilderFactory.AdvancedSmppEndpointProducerBuilder- Parameters:
singleDLR- the value to set- Returns:
- the dsl builder
-
transactionTimer
default SmppEndpointBuilderFactory.AdvancedSmppEndpointBuilder transactionTimer(Integer transactionTimer) Defines the maximum period of inactivity allowed after a transaction, after which an SMPP entity may assume that the session is no longer active. This timer may be active on either communicating SMPP entity (i.e. SMSC or ESME). The option is a: <code>java.lang.Integer</code> type. Default: 10000 Group: advanced- Specified by:
transactionTimerin interfaceSmppEndpointBuilderFactory.AdvancedSmppEndpointConsumerBuilder- Specified by:
transactionTimerin interfaceSmppEndpointBuilderFactory.AdvancedSmppEndpointProducerBuilder- Parameters:
transactionTimer- the value to set- Returns:
- the dsl builder
-
transactionTimer
default SmppEndpointBuilderFactory.AdvancedSmppEndpointBuilder transactionTimer(String transactionTimer) Defines the maximum period of inactivity allowed after a transaction, after which an SMPP entity may assume that the session is no longer active. This timer may be active on either communicating SMPP entity (i.e. SMSC or ESME). The option will be converted to a <code>java.lang.Integer</code> type. Default: 10000 Group: advanced- Specified by:
transactionTimerin interfaceSmppEndpointBuilderFactory.AdvancedSmppEndpointConsumerBuilder- Specified by:
transactionTimerin interfaceSmppEndpointBuilderFactory.AdvancedSmppEndpointProducerBuilder- Parameters:
transactionTimer- the value to set- Returns:
- the dsl builder
-