Interface SmppEndpointBuilderFactory.AdvancedSmppEndpointProducerBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
- All Known Subinterfaces:
SmppEndpointBuilderFactory.AdvancedSmppEndpointBuilder
- Enclosing interface:
- SmppEndpointBuilderFactory
public static interface SmppEndpointBuilderFactory.AdvancedSmppEndpointProducerBuilder extends org.apache.camel.builder.EndpointProducerBuilder
Advanced builder for endpoint producers for the SMPP component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default SmppEndpointBuilderFactory.SmppEndpointProducerBuilder
basic()
default SmppEndpointBuilderFactory.AdvancedSmppEndpointProducerBuilder
enquireLinkTimer(Integer enquireLinkTimer)
Defines the interval in milliseconds between the confidence checks.default SmppEndpointBuilderFactory.AdvancedSmppEndpointProducerBuilder
enquireLinkTimer(String enquireLinkTimer)
Defines the interval in milliseconds between the confidence checks.default SmppEndpointBuilderFactory.AdvancedSmppEndpointProducerBuilder
lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).default SmppEndpointBuilderFactory.AdvancedSmppEndpointProducerBuilder
lazyStartProducer(String lazyStartProducer)
Whether the producer should be started lazy (on the first message).default SmppEndpointBuilderFactory.AdvancedSmppEndpointProducerBuilder
pduProcessorDegree(Integer pduProcessorDegree)
Sets the number of threads which can read PDU and process them in parallel.default SmppEndpointBuilderFactory.AdvancedSmppEndpointProducerBuilder
pduProcessorDegree(String pduProcessorDegree)
Sets the number of threads which can read PDU and process them in parallel.default SmppEndpointBuilderFactory.AdvancedSmppEndpointProducerBuilder
pduProcessorQueueCapacity(Integer pduProcessorQueueCapacity)
Sets the capacity of the working queue for PDU processing.default SmppEndpointBuilderFactory.AdvancedSmppEndpointProducerBuilder
pduProcessorQueueCapacity(String pduProcessorQueueCapacity)
Sets the capacity of the working queue for PDU processing.default SmppEndpointBuilderFactory.AdvancedSmppEndpointProducerBuilder
sessionStateListener(String sessionStateListener)
You can refer to a org.jsmpp.session.SessionStateListener in the Registry to receive callbacks when the session state changed.default SmppEndpointBuilderFactory.AdvancedSmppEndpointProducerBuilder
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.default SmppEndpointBuilderFactory.AdvancedSmppEndpointProducerBuilder
singleDLR(boolean singleDLR)
When true, the SMSC delivery receipt would be requested only for the last segment of a multi-segment (long) message.default SmppEndpointBuilderFactory.AdvancedSmppEndpointProducerBuilder
singleDLR(String singleDLR)
When true, the SMSC delivery receipt would be requested only for the last segment of a multi-segment (long) message.default SmppEndpointBuilderFactory.AdvancedSmppEndpointProducerBuilder
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.default SmppEndpointBuilderFactory.AdvancedSmppEndpointProducerBuilder
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.
-
-
-
Method Detail
-
basic
default SmppEndpointBuilderFactory.SmppEndpointProducerBuilder basic()
-
lazyStartProducer
default SmppEndpointBuilderFactory.AdvancedSmppEndpointProducerBuilder lazyStartProducer(boolean lazyStartProducer)
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 starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. The option is a: <code>boolean</code> type. Default: false Group: producer (advanced)- Parameters:
lazyStartProducer
- the value to set- Returns:
- the dsl builder
-
lazyStartProducer
default SmppEndpointBuilderFactory.AdvancedSmppEndpointProducerBuilder lazyStartProducer(String lazyStartProducer)
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 starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. The option will be converted to a <code>boolean</code> type. Default: false Group: producer (advanced)- Parameters:
lazyStartProducer
- the value to set- Returns:
- the dsl builder
-
enquireLinkTimer
default SmppEndpointBuilderFactory.AdvancedSmppEndpointProducerBuilder 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- Parameters:
enquireLinkTimer
- the value to set- Returns:
- the dsl builder
-
enquireLinkTimer
default SmppEndpointBuilderFactory.AdvancedSmppEndpointProducerBuilder 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- Parameters:
enquireLinkTimer
- the value to set- Returns:
- the dsl builder
-
pduProcessorDegree
default SmppEndpointBuilderFactory.AdvancedSmppEndpointProducerBuilder 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- Parameters:
pduProcessorDegree
- the value to set- Returns:
- the dsl builder
-
pduProcessorDegree
default SmppEndpointBuilderFactory.AdvancedSmppEndpointProducerBuilder 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- Parameters:
pduProcessorDegree
- the value to set- Returns:
- the dsl builder
-
pduProcessorQueueCapacity
default SmppEndpointBuilderFactory.AdvancedSmppEndpointProducerBuilder 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- Parameters:
pduProcessorQueueCapacity
- the value to set- Returns:
- the dsl builder
-
pduProcessorQueueCapacity
default SmppEndpointBuilderFactory.AdvancedSmppEndpointProducerBuilder 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- Parameters:
pduProcessorQueueCapacity
- the value to set- Returns:
- the dsl builder
-
sessionStateListener
default SmppEndpointBuilderFactory.AdvancedSmppEndpointProducerBuilder 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- Parameters:
sessionStateListener
- the value to set- Returns:
- the dsl builder
-
sessionStateListener
default SmppEndpointBuilderFactory.AdvancedSmppEndpointProducerBuilder 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- Parameters:
sessionStateListener
- the value to set- Returns:
- the dsl builder
-
singleDLR
default SmppEndpointBuilderFactory.AdvancedSmppEndpointProducerBuilder singleDLR(boolean 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- Parameters:
singleDLR
- the value to set- Returns:
- the dsl builder
-
singleDLR
default SmppEndpointBuilderFactory.AdvancedSmppEndpointProducerBuilder singleDLR(String 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- Parameters:
singleDLR
- the value to set- Returns:
- the dsl builder
-
transactionTimer
default SmppEndpointBuilderFactory.AdvancedSmppEndpointProducerBuilder 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- Parameters:
transactionTimer
- the value to set- Returns:
- the dsl builder
-
transactionTimer
default SmppEndpointBuilderFactory.AdvancedSmppEndpointProducerBuilder 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- Parameters:
transactionTimer
- the value to set- Returns:
- the dsl builder
-
-