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
Modifier and TypeMethodDescriptionadvanced()alphabet(byte alphabet) Defines encoding of data according the SMPP 3.4 specification, section 5.2.19.Defines encoding of data according the SMPP 3.4 specification, section 5.2.19.dataCoding(byte dataCoding) Defines the data coding according the SMPP 3.4 specification, section 5.2.19.dataCoding(String dataCoding) Defines the data coding according the SMPP 3.4 specification, section 5.2.19.Defines the encoding scheme of the short message user data.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.httpProxyPassword(String httpProxyPassword) If your HTTP proxy requires basic authentication, set this attribute to the password required for your HTTP proxy.httpProxyPort(Integer httpProxyPort) If you need to tunnel SMPP through a HTTP proxy, set this attribute to the port of your HTTP proxy.httpProxyPort(String httpProxyPort) If you need to tunnel SMPP through a HTTP proxy, set this attribute to the port of your HTTP proxy.httpProxyUsername(String httpProxyUsername) If your HTTP proxy requires basic authentication, set this attribute to the username required for your HTTP proxy.initialReconnectDelay(long initialReconnectDelay) Defines the initial delay in milliseconds after the consumer/producer tries to reconnect to the SMSC, after the connection was lost.initialReconnectDelay(String initialReconnectDelay) Defines the initial delay in milliseconds after the consumer/producer tries to reconnect to the SMSC, after the connection was lost.maxReconnect(int maxReconnect) Defines the maximum number of attempts to reconnect to the SMSC, if SMSC returns a negative bind response.maxReconnect(String maxReconnect) Defines the maximum number of attempts to reconnect to the SMSC, if SMSC returns a negative bind response.The password for connecting to SMSC server.proxyHeaders(String proxyHeaders) These headers will be passed to the proxy server while establishing the connection.proxyHeaders(Map<String, String> proxyHeaders) These headers will be passed to the proxy server while establishing the connection.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.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.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.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.The system id (username) for connecting to SMSC server.systemType(String systemType) This parameter is used to categorize the type of ESME (External Short Message Entity) that is binding to the SMSC (max.usingSSL(boolean usingSSL) Whether using SSL with the smpps protocol.Whether using SSL with the smpps protocol.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.SmppEndpointConsumerBuilder
addressRangeMethods inherited from interface org.apache.camel.builder.endpoint.dsl.SmppEndpointBuilderFactory.SmppEndpointProducerBuilder
destAddr, destAddrNpi, destAddrNpi, destAddrTon, destAddrTon, lazySessionCreation, lazySessionCreation, messageReceiverRouteId, numberingPlanIndicator, numberingPlanIndicator, priorityFlag, priorityFlag, protocolId, protocolId, registeredDelivery, registeredDelivery, replaceIfPresentFlag, replaceIfPresentFlag, serviceType, sourceAddr, sourceAddrNpi, sourceAddrNpi, sourceAddrTon, sourceAddrTon, typeOfNumber, typeOfNumber
-
Method Details
-
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
-