Interface SmppEndpointBuilderFactory.SmppEndpointBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder,org.apache.camel.EndpointConsumerResolver,org.apache.camel.builder.EndpointProducerBuilder,org.apache.camel.EndpointProducerResolver,SmppEndpointBuilderFactory.SmppEndpointConsumerBuilder,SmppEndpointBuilderFactory.SmppEndpointProducerBuilder
- Enclosing interface:
- SmppEndpointBuilderFactory
public static interface SmppEndpointBuilderFactory.SmppEndpointBuilder extends SmppEndpointBuilderFactory.SmppEndpointConsumerBuilder, SmppEndpointBuilderFactory.SmppEndpointProducerBuilder
Builder for endpoint for the SMPP component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default SmppEndpointBuilderFactory.AdvancedSmppEndpointBuilderadvanced()default SmppEndpointBuilderFactory.SmppEndpointBuilderalphabet(byte alphabet)Defines encoding of data according the SMPP 3.4 specification, section 5.2.19.default SmppEndpointBuilderFactory.SmppEndpointBuilderalphabet(String alphabet)Defines encoding of data according the SMPP 3.4 specification, section 5.2.19.default SmppEndpointBuilderFactory.SmppEndpointBuilderdataCoding(byte dataCoding)Defines the data coding according the SMPP 3.4 specification, section 5.2.19.default SmppEndpointBuilderFactory.SmppEndpointBuilderdataCoding(String dataCoding)Defines the data coding according the SMPP 3.4 specification, section 5.2.19.default SmppEndpointBuilderFactory.SmppEndpointBuilderencoding(String encoding)Defines the encoding scheme of the short message user data.default SmppEndpointBuilderFactory.SmppEndpointBuilderhttpProxyHost(String httpProxyHost)If you need to tunnel SMPP through a HTTP proxy, set this attribute to the hostname or ip address of your HTTP proxy.default SmppEndpointBuilderFactory.SmppEndpointBuilderhttpProxyPassword(String httpProxyPassword)If your HTTP proxy requires basic authentication, set this attribute to the password required for your HTTP proxy.default SmppEndpointBuilderFactory.SmppEndpointBuilderhttpProxyPort(Integer httpProxyPort)If you need to tunnel SMPP through a HTTP proxy, set this attribute to the port of your HTTP proxy.default SmppEndpointBuilderFactory.SmppEndpointBuilderhttpProxyPort(String httpProxyPort)If you need to tunnel SMPP through a HTTP proxy, set this attribute to the port of your HTTP proxy.default SmppEndpointBuilderFactory.SmppEndpointBuilderhttpProxyUsername(String httpProxyUsername)If your HTTP proxy requires basic authentication, set this attribute to the username required for your HTTP proxy.default SmppEndpointBuilderFactory.SmppEndpointBuilderinitialReconnectDelay(long initialReconnectDelay)Defines the initial delay in milliseconds after the consumer/producer tries to reconnect to the SMSC, after the connection was lost.default SmppEndpointBuilderFactory.SmppEndpointBuilderinitialReconnectDelay(String initialReconnectDelay)Defines the initial delay in milliseconds after the consumer/producer tries to reconnect to the SMSC, after the connection was lost.default SmppEndpointBuilderFactory.SmppEndpointBuildermaxReconnect(int maxReconnect)Defines the maximum number of attempts to reconnect to the SMSC, if SMSC returns a negative bind response.default SmppEndpointBuilderFactory.SmppEndpointBuildermaxReconnect(String maxReconnect)Defines the maximum number of attempts to reconnect to the SMSC, if SMSC returns a negative bind response.default SmppEndpointBuilderFactory.SmppEndpointBuilderpassword(String password)The password for connecting to SMSC server.default SmppEndpointBuilderFactory.SmppEndpointBuilderproxyHeaders(String proxyHeaders)These headers will be passed to the proxy server while establishing the connection.default SmppEndpointBuilderFactory.SmppEndpointBuilderproxyHeaders(Map<String,String> proxyHeaders)These headers will be passed to the proxy server while establishing the connection.default SmppEndpointBuilderFactory.SmppEndpointBuilderreconnectDelay(long reconnectDelay)Defines the interval in milliseconds between the reconnect attempts, if the connection to the SMSC was lost and the previous was not succeed.default SmppEndpointBuilderFactory.SmppEndpointBuilderreconnectDelay(String reconnectDelay)Defines the interval in milliseconds between the reconnect attempts, if the connection to the SMSC was lost and the previous was not succeed.default SmppEndpointBuilderFactory.SmppEndpointBuildersplittingPolicy(String splittingPolicy)You can specify a policy for handling long messages: ALLOW - the default, long messages are split to 140 bytes per message TRUNCATE - long messages are split and only the first fragment will be sent to the SMSC.default SmppEndpointBuilderFactory.SmppEndpointBuildersplittingPolicy(org.apache.camel.component.smpp.SmppSplittingPolicy splittingPolicy)You can specify a policy for handling long messages: ALLOW - the default, long messages are split to 140 bytes per message TRUNCATE - long messages are split and only the first fragment will be sent to the SMSC.default SmppEndpointBuilderFactory.SmppEndpointBuildersystemId(String systemId)The system id (username) for connecting to SMSC server.default SmppEndpointBuilderFactory.SmppEndpointBuildersystemType(String systemType)This parameter is used to categorize the type of ESME (External Short Message Entity) that is binding to the SMSC (max.default SmppEndpointBuilderFactory.SmppEndpointBuilderusingSSL(boolean usingSSL)Whether using SSL with the smpps protocol.default SmppEndpointBuilderFactory.SmppEndpointBuilderusingSSL(String usingSSL)Whether using SSL with the smpps protocol.-
Methods inherited from interface org.apache.camel.builder.EndpointConsumerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getUri
-
Methods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getUri
-
Methods inherited from interface org.apache.camel.builder.endpoint.dsl.SmppEndpointBuilderFactory.SmppEndpointConsumerBuilder
addressRange, bridgeErrorHandler, bridgeErrorHandler
-
Methods inherited from interface org.apache.camel.builder.endpoint.dsl.SmppEndpointBuilderFactory.SmppEndpointProducerBuilder
destAddr, destAddrNpi, destAddrNpi, destAddrTon, destAddrTon, lazySessionCreation, lazySessionCreation, lazyStartProducer, lazyStartProducer, numberingPlanIndicator, numberingPlanIndicator, priorityFlag, priorityFlag, protocolId, protocolId, registeredDelivery, registeredDelivery, replaceIfPresentFlag, replaceIfPresentFlag, serviceType, sourceAddr, sourceAddrNpi, sourceAddrNpi, sourceAddrTon, sourceAddrTon, typeOfNumber, typeOfNumber
-
-
-
-
Method Detail
-
advanced
default SmppEndpointBuilderFactory.AdvancedSmppEndpointBuilder advanced()
- Specified by:
advancedin interfaceSmppEndpointBuilderFactory.SmppEndpointConsumerBuilder- Specified by:
advancedin interfaceSmppEndpointBuilderFactory.SmppEndpointProducerBuilder
-
initialReconnectDelay
default SmppEndpointBuilderFactory.SmppEndpointBuilder initialReconnectDelay(long initialReconnectDelay)
Defines the initial delay in milliseconds after the consumer/producer tries to reconnect to the SMSC, after the connection was lost. The option is a: <code>long</code> type. Default: 5000 Group: common- Specified by:
initialReconnectDelayin interfaceSmppEndpointBuilderFactory.SmppEndpointConsumerBuilder- Specified by:
initialReconnectDelayin interfaceSmppEndpointBuilderFactory.SmppEndpointProducerBuilder- Parameters:
initialReconnectDelay- the value to set- Returns:
- the dsl builder
-
initialReconnectDelay
default SmppEndpointBuilderFactory.SmppEndpointBuilder initialReconnectDelay(String initialReconnectDelay)
Defines the initial delay in milliseconds after the consumer/producer tries to reconnect to the SMSC, after the connection was lost. The option will be converted to a <code>long</code> type. Default: 5000 Group: common- Specified by:
initialReconnectDelayin interfaceSmppEndpointBuilderFactory.SmppEndpointConsumerBuilder- Specified by:
initialReconnectDelayin interfaceSmppEndpointBuilderFactory.SmppEndpointProducerBuilder- Parameters:
initialReconnectDelay- the value to set- Returns:
- the dsl builder
-
maxReconnect
default SmppEndpointBuilderFactory.SmppEndpointBuilder maxReconnect(int maxReconnect)
Defines the maximum number of attempts to reconnect to the SMSC, if SMSC returns a negative bind response. The option is a: <code>int</code> type. Default: 2147483647 Group: common- Specified by:
maxReconnectin interfaceSmppEndpointBuilderFactory.SmppEndpointConsumerBuilder- Specified by:
maxReconnectin interfaceSmppEndpointBuilderFactory.SmppEndpointProducerBuilder- Parameters:
maxReconnect- the value to set- Returns:
- the dsl builder
-
maxReconnect
default SmppEndpointBuilderFactory.SmppEndpointBuilder maxReconnect(String maxReconnect)
Defines the maximum number of attempts to reconnect to the SMSC, if SMSC returns a negative bind response. The option will be converted to a <code>int</code> type. Default: 2147483647 Group: common- Specified by:
maxReconnectin interfaceSmppEndpointBuilderFactory.SmppEndpointConsumerBuilder- Specified by:
maxReconnectin interfaceSmppEndpointBuilderFactory.SmppEndpointProducerBuilder- Parameters:
maxReconnect- the value to set- Returns:
- the dsl builder
-
reconnectDelay
default SmppEndpointBuilderFactory.SmppEndpointBuilder reconnectDelay(long reconnectDelay)
Defines the interval in milliseconds between the reconnect attempts, if the connection to the SMSC was lost and the previous was not succeed. The option is a: <code>long</code> type. Default: 5000 Group: common- Specified by:
reconnectDelayin interfaceSmppEndpointBuilderFactory.SmppEndpointConsumerBuilder- Specified by:
reconnectDelayin interfaceSmppEndpointBuilderFactory.SmppEndpointProducerBuilder- Parameters:
reconnectDelay- the value to set- Returns:
- the dsl builder
-
reconnectDelay
default SmppEndpointBuilderFactory.SmppEndpointBuilder reconnectDelay(String reconnectDelay)
Defines the interval in milliseconds between the reconnect attempts, if the connection to the SMSC was lost and the previous was not succeed. The option will be converted to a <code>long</code> type. Default: 5000 Group: common- Specified by:
reconnectDelayin interfaceSmppEndpointBuilderFactory.SmppEndpointConsumerBuilder- Specified by:
reconnectDelayin interfaceSmppEndpointBuilderFactory.SmppEndpointProducerBuilder- Parameters:
reconnectDelay- the value to set- Returns:
- the dsl builder
-
splittingPolicy
default SmppEndpointBuilderFactory.SmppEndpointBuilder splittingPolicy(org.apache.camel.component.smpp.SmppSplittingPolicy splittingPolicy)
You can specify a policy for handling long messages: ALLOW - the default, long messages are split to 140 bytes per message TRUNCATE - long messages are split and only the first fragment will be sent to the SMSC. Some carriers drop subsequent fragments so this reduces load on the SMPP connection sending parts of a message that will never be delivered. REJECT - if a message would need to be split, it is rejected with an SMPP NegativeResponseException and the reason code signifying the message is too long. The option is a: <code>org.apache.camel.component.smpp.SmppSplittingPolicy</code> type. Default: ALLOW Group: common- Specified by:
splittingPolicyin interfaceSmppEndpointBuilderFactory.SmppEndpointConsumerBuilder- Specified by:
splittingPolicyin interfaceSmppEndpointBuilderFactory.SmppEndpointProducerBuilder- Parameters:
splittingPolicy- the value to set- Returns:
- the dsl builder
-
splittingPolicy
default SmppEndpointBuilderFactory.SmppEndpointBuilder splittingPolicy(String splittingPolicy)
You can specify a policy for handling long messages: ALLOW - the default, long messages are split to 140 bytes per message TRUNCATE - long messages are split and only the first fragment will be sent to the SMSC. Some carriers drop subsequent fragments so this reduces load on the SMPP connection sending parts of a message that will never be delivered. REJECT - if a message would need to be split, it is rejected with an SMPP NegativeResponseException and the reason code signifying the message is too long. The option will be converted to a <code>org.apache.camel.component.smpp.SmppSplittingPolicy</code> type. Default: ALLOW Group: common- Specified by:
splittingPolicyin interfaceSmppEndpointBuilderFactory.SmppEndpointConsumerBuilder- Specified by:
splittingPolicyin interfaceSmppEndpointBuilderFactory.SmppEndpointProducerBuilder- Parameters:
splittingPolicy- the value to set- Returns:
- the dsl builder
-
systemType
default SmppEndpointBuilderFactory.SmppEndpointBuilder systemType(String systemType)
This parameter is used to categorize the type of ESME (External Short Message Entity) that is binding to the SMSC (max. 13 characters). The option is a: <code>java.lang.String</code> type. Group: common- Specified by:
systemTypein interfaceSmppEndpointBuilderFactory.SmppEndpointConsumerBuilder- Specified by:
systemTypein interfaceSmppEndpointBuilderFactory.SmppEndpointProducerBuilder- Parameters:
systemType- the value to set- Returns:
- the dsl builder
-
alphabet
default SmppEndpointBuilderFactory.SmppEndpointBuilder alphabet(byte alphabet)
Defines encoding of data according the SMPP 3.4 specification, section 5.2.19. 0: SMSC Default Alphabet 4: 8 bit Alphabet 8: UCS2 Alphabet. The option is a: <code>byte</code> type. Group: codec- Specified by:
alphabetin interfaceSmppEndpointBuilderFactory.SmppEndpointConsumerBuilder- Specified by:
alphabetin interfaceSmppEndpointBuilderFactory.SmppEndpointProducerBuilder- Parameters:
alphabet- the value to set- Returns:
- the dsl builder
-
alphabet
default SmppEndpointBuilderFactory.SmppEndpointBuilder alphabet(String alphabet)
Defines encoding of data according the SMPP 3.4 specification, section 5.2.19. 0: SMSC Default Alphabet 4: 8 bit Alphabet 8: UCS2 Alphabet. The option will be converted to a <code>byte</code> type. Group: codec- Specified by:
alphabetin interfaceSmppEndpointBuilderFactory.SmppEndpointConsumerBuilder- Specified by:
alphabetin interfaceSmppEndpointBuilderFactory.SmppEndpointProducerBuilder- Parameters:
alphabet- the value to set- Returns:
- the dsl builder
-
dataCoding
default SmppEndpointBuilderFactory.SmppEndpointBuilder dataCoding(byte dataCoding)
Defines the data coding according the SMPP 3.4 specification, section 5.2.19. Example data encodings are: 0: SMSC Default Alphabet 3: Latin 1 (ISO-8859-1) 4: Octet unspecified (8-bit binary) 8: UCS2 (ISO/IEC-10646) 13: Extended Kanji JIS(X 0212-1990). The option is a: <code>byte</code> type. Group: codec- Specified by:
dataCodingin interfaceSmppEndpointBuilderFactory.SmppEndpointConsumerBuilder- Specified by:
dataCodingin interfaceSmppEndpointBuilderFactory.SmppEndpointProducerBuilder- Parameters:
dataCoding- the value to set- Returns:
- the dsl builder
-
dataCoding
default SmppEndpointBuilderFactory.SmppEndpointBuilder dataCoding(String dataCoding)
Defines the data coding according the SMPP 3.4 specification, section 5.2.19. Example data encodings are: 0: SMSC Default Alphabet 3: Latin 1 (ISO-8859-1) 4: Octet unspecified (8-bit binary) 8: UCS2 (ISO/IEC-10646) 13: Extended Kanji JIS(X 0212-1990). The option will be converted to a <code>byte</code> type. Group: codec- Specified by:
dataCodingin interfaceSmppEndpointBuilderFactory.SmppEndpointConsumerBuilder- Specified by:
dataCodingin interfaceSmppEndpointBuilderFactory.SmppEndpointProducerBuilder- Parameters:
dataCoding- the value to set- Returns:
- the dsl builder
-
encoding
default SmppEndpointBuilderFactory.SmppEndpointBuilder encoding(String encoding)
Defines the encoding scheme of the short message user data. Only for SubmitSm, ReplaceSm and SubmitMulti. The option is a: <code>java.lang.String</code> type. Default: ISO-8859-1 Group: codec- Specified by:
encodingin interfaceSmppEndpointBuilderFactory.SmppEndpointConsumerBuilder- Specified by:
encodingin interfaceSmppEndpointBuilderFactory.SmppEndpointProducerBuilder- Parameters:
encoding- the value to set- Returns:
- the dsl builder
-
httpProxyHost
default SmppEndpointBuilderFactory.SmppEndpointBuilder httpProxyHost(String httpProxyHost)
If you need to tunnel SMPP through a HTTP proxy, set this attribute to the hostname or ip address of your HTTP proxy. The option is a: <code>java.lang.String</code> type. Group: proxy- Specified by:
httpProxyHostin interfaceSmppEndpointBuilderFactory.SmppEndpointConsumerBuilder- Specified by:
httpProxyHostin interfaceSmppEndpointBuilderFactory.SmppEndpointProducerBuilder- Parameters:
httpProxyHost- the value to set- Returns:
- the dsl builder
-
httpProxyPassword
default SmppEndpointBuilderFactory.SmppEndpointBuilder httpProxyPassword(String httpProxyPassword)
If your HTTP proxy requires basic authentication, set this attribute to the password required for your HTTP proxy. The option is a: <code>java.lang.String</code> type. Group: proxy- Specified by:
httpProxyPasswordin interfaceSmppEndpointBuilderFactory.SmppEndpointConsumerBuilder- Specified by:
httpProxyPasswordin interfaceSmppEndpointBuilderFactory.SmppEndpointProducerBuilder- Parameters:
httpProxyPassword- the value to set- Returns:
- the dsl builder
-
httpProxyPort
default SmppEndpointBuilderFactory.SmppEndpointBuilder httpProxyPort(Integer httpProxyPort)
If you need to tunnel SMPP through a HTTP proxy, set this attribute to the port of your HTTP proxy. The option is a: <code>java.lang.Integer</code> type. Default: 3128 Group: proxy- Specified by:
httpProxyPortin interfaceSmppEndpointBuilderFactory.SmppEndpointConsumerBuilder- Specified by:
httpProxyPortin interfaceSmppEndpointBuilderFactory.SmppEndpointProducerBuilder- Parameters:
httpProxyPort- the value to set- Returns:
- the dsl builder
-
httpProxyPort
default SmppEndpointBuilderFactory.SmppEndpointBuilder httpProxyPort(String httpProxyPort)
If you need to tunnel SMPP through a HTTP proxy, set this attribute to the port of your HTTP proxy. The option will be converted to a <code>java.lang.Integer</code> type. Default: 3128 Group: proxy- Specified by:
httpProxyPortin interfaceSmppEndpointBuilderFactory.SmppEndpointConsumerBuilder- Specified by:
httpProxyPortin interfaceSmppEndpointBuilderFactory.SmppEndpointProducerBuilder- Parameters:
httpProxyPort- the value to set- Returns:
- the dsl builder
-
httpProxyUsername
default SmppEndpointBuilderFactory.SmppEndpointBuilder httpProxyUsername(String httpProxyUsername)
If your HTTP proxy requires basic authentication, set this attribute to the username required for your HTTP proxy. The option is a: <code>java.lang.String</code> type. Group: proxy- Specified by:
httpProxyUsernamein interfaceSmppEndpointBuilderFactory.SmppEndpointConsumerBuilder- Specified by:
httpProxyUsernamein interfaceSmppEndpointBuilderFactory.SmppEndpointProducerBuilder- Parameters:
httpProxyUsername- the value to set- Returns:
- the dsl builder
-
proxyHeaders
default SmppEndpointBuilderFactory.SmppEndpointBuilder proxyHeaders(Map<String,String> proxyHeaders)
These headers will be passed to the proxy server while establishing the connection. The option is a: <code>java.util.Map<java.lang.String, java.lang.String></code> type. Group: proxy- Specified by:
proxyHeadersin interfaceSmppEndpointBuilderFactory.SmppEndpointConsumerBuilder- Specified by:
proxyHeadersin interfaceSmppEndpointBuilderFactory.SmppEndpointProducerBuilder- Parameters:
proxyHeaders- the value to set- Returns:
- the dsl builder
-
proxyHeaders
default SmppEndpointBuilderFactory.SmppEndpointBuilder proxyHeaders(String proxyHeaders)
These headers will be passed to the proxy server while establishing the connection. The option will be converted to a <code>java.util.Map<java.lang.String, java.lang.String></code> type. Group: proxy- Specified by:
proxyHeadersin interfaceSmppEndpointBuilderFactory.SmppEndpointConsumerBuilder- Specified by:
proxyHeadersin interfaceSmppEndpointBuilderFactory.SmppEndpointProducerBuilder- Parameters:
proxyHeaders- the value to set- Returns:
- the dsl builder
-
password
default SmppEndpointBuilderFactory.SmppEndpointBuilder password(String password)
The password for connecting to SMSC server. The option is a: <code>java.lang.String</code> type. Group: security- Specified by:
passwordin interfaceSmppEndpointBuilderFactory.SmppEndpointConsumerBuilder- Specified by:
passwordin interfaceSmppEndpointBuilderFactory.SmppEndpointProducerBuilder- Parameters:
password- the value to set- Returns:
- the dsl builder
-
systemId
default SmppEndpointBuilderFactory.SmppEndpointBuilder systemId(String systemId)
The system id (username) for connecting to SMSC server. The option is a: <code>java.lang.String</code> type. Default: smppclient Group: security- Specified by:
systemIdin interfaceSmppEndpointBuilderFactory.SmppEndpointConsumerBuilder- Specified by:
systemIdin interfaceSmppEndpointBuilderFactory.SmppEndpointProducerBuilder- Parameters:
systemId- the value to set- Returns:
- the dsl builder
-
usingSSL
default SmppEndpointBuilderFactory.SmppEndpointBuilder usingSSL(boolean usingSSL)
Whether using SSL with the smpps protocol. The option is a: <code>boolean</code> type. Default: false Group: security- Specified by:
usingSSLin interfaceSmppEndpointBuilderFactory.SmppEndpointConsumerBuilder- Specified by:
usingSSLin interfaceSmppEndpointBuilderFactory.SmppEndpointProducerBuilder- Parameters:
usingSSL- the value to set- Returns:
- the dsl builder
-
usingSSL
default SmppEndpointBuilderFactory.SmppEndpointBuilder usingSSL(String usingSSL)
Whether using SSL with the smpps protocol. The option will be converted to a <code>boolean</code> type. Default: false Group: security- Specified by:
usingSSLin interfaceSmppEndpointBuilderFactory.SmppEndpointConsumerBuilder- Specified by:
usingSSLin interfaceSmppEndpointBuilderFactory.SmppEndpointProducerBuilder- Parameters:
usingSSL- the value to set- Returns:
- the dsl builder
-
-