Package org.apache.camel.component.cm
Class CMConfiguration
- java.lang.Object
-
- org.apache.camel.component.cm.CMConfiguration
-
@UriParams public class CMConfiguration extends Object
-
-
Constructor Summary
Constructors Constructor Description CMConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDefaultFrom()intgetDefaultMaxNumberOfParts()StringgetProductToken()booleanisTestConnectionOnStartup()voidsetDefaultFrom(String defaultFrom)This is the sender name.voidsetDefaultMaxNumberOfParts(int defaultMaxNumberOfParts)If it is a multipart message forces the max number.voidsetProductToken(String productToken)The unique token to usevoidsetTestConnectionOnStartup(boolean testConnectionOnStartup)Whether to test the connection to the SMS Gateway on startup
-
-
-
Method Detail
-
getProductToken
public String getProductToken()
-
setProductToken
public void setProductToken(String productToken)
The unique token to use
-
getDefaultFrom
public String getDefaultFrom()
-
setDefaultFrom
public void setDefaultFrom(String defaultFrom)
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
-
-