Class CMConfiguration

java.lang.Object
org.apache.camel.component.cm.CMConfiguration

@UriParams public class CMConfiguration extends Object
  • Constructor Details

    • CMConfiguration

      public CMConfiguration()
  • Method Details

    • 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