Package org.apache.camel.component.cm
Class CMConfiguration
java.lang.Object
org.apache.camel.component.cm.CMConfiguration
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
boolean
void
setDefaultFrom
(String defaultFrom) This is the sender name.void
setDefaultMaxNumberOfParts
(int defaultMaxNumberOfParts) If it is a multipart message forces the max number.void
setProductToken
(String productToken) The unique token to usevoid
setTestConnectionOnStartup
(boolean testConnectionOnStartup) Whether to test the connection to the SMS Gateway on startup
-
Constructor Details
-
CMConfiguration
public CMConfiguration()
-
-
Method Details
-
getProductToken
-
setProductToken
The unique token to use -
getDefaultFrom
-
setDefaultFrom
This is the sender name. The maximum length is 11 characters. -
getDefaultMaxNumberOfParts
public int getDefaultMaxNumberOfParts() -
setDefaultMaxNumberOfParts
public void setDefaultMaxNumberOfParts(int defaultMaxNumberOfParts) If it is a multipart message forces the max number. Message can be truncated. Technically the gateway will first check if a message is larger than 160 characters, if so, the message will be cut into multiple 153 characters parts limited by these parameters. -
isTestConnectionOnStartup
public boolean isTestConnectionOnStartup() -
setTestConnectionOnStartup
public void setTestConnectionOnStartup(boolean testConnectionOnStartup) Whether to test the connection to the SMS Gateway on startup
-