Class SmppMessage

  • All Implemented Interfaces:
    org.apache.camel.CamelContextAware, org.apache.camel.Message, org.apache.camel.spi.DataTypeAware

    public class SmppMessage
    extends org.apache.camel.support.DefaultMessage
    Represents a Message for working with SMPP
    • Constructor Summary

      Constructors 
      Constructor Description
      SmppMessage​(org.apache.camel.CamelContext camelContext, org.jsmpp.bean.Command command, SmppConfiguration configuration)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected Object createBody()  
      org.jsmpp.bean.Command getCommand()
      Returns the underlying jSMPP command
      boolean isAlertNotification()  
      boolean isDataSm()  
      boolean isDeliverSm()  
      boolean isDeliveryReceipt()  
      SmppMessage newInstance()  
      String toString()  
      • Methods inherited from class org.apache.camel.support.DefaultMessage

        createHeaders, getHeader, getHeader, getHeader, getHeader, getHeader, getHeader, getHeaders, hasHeaders, hasPopulatedHeaders, isTransactedRedelivered, populateInitialHeaders, removeHeader, removeHeaders, removeHeaders, reset, setHeader, setHeaders
      • Methods inherited from class org.apache.camel.support.MessageSupport

        copy, copyFrom, copyFromWithNewBody, createMessageId, getBody, getBody, getBody, getCamelContext, getDataType, getExchange, getMandatoryBody, getMandatoryBody, getMessageId, getMessageTimestamp, hasDataType, hasMessageId, setBody, setBody, setBody, setCamelContext, setDataType, setExchange, setMessageId
    • Constructor Detail

      • SmppMessage

        public SmppMessage​(org.apache.camel.CamelContext camelContext,
                           org.jsmpp.bean.Command command,
                           SmppConfiguration configuration)
    • Method Detail

      • newInstance

        public SmppMessage newInstance()
        Overrides:
        newInstance in class org.apache.camel.support.DefaultMessage
      • isAlertNotification

        public boolean isAlertNotification()
      • isDataSm

        public boolean isDataSm()
      • isDeliverSm

        public boolean isDeliverSm()
      • isDeliveryReceipt

        public boolean isDeliveryReceipt()
      • createBody

        protected Object createBody()
        Overrides:
        createBody in class org.apache.camel.support.MessageSupport
      • toString

        public String toString()
        Overrides:
        toString in class org.apache.camel.support.MessageSupport
      • getCommand

        public org.jsmpp.bean.Command getCommand()
        Returns the underlying jSMPP command
        Returns:
        command