Class SmppMessage

java.lang.Object
org.apache.camel.support.MessageSupport
org.apache.camel.support.DefaultMessage
org.apache.camel.component.smpp.SmppMessage
All Implemented Interfaces:
org.apache.camel.CamelContextAware, org.apache.camel.Message, org.apache.camel.spi.DataTypeAware, org.apache.camel.spi.HasCamelContext

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

    Fields inherited from class org.apache.camel.support.MessageSupport

    camelContext, typeConverter
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
    protected Object
     
    org.jsmpp.bean.Command
    Returns the underlying jSMPP command
    boolean
     
    boolean
     
    boolean
     
    boolean
     
     
     

    Methods inherited from class org.apache.camel.support.DefaultMessage

    createHeaders, getHeader, getHeader, getHeader, getHeader, getHeader, getHeader, getHeaders, hasHeaders, hasPopulatedHeaders, 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, getPayloadForTrait, hasDataType, hasMessageId, hasTrait, setBody, setBody, setBody, setCamelContext, setDataType, setExchange, setMessageId, setPayloadForTrait

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • SmppMessage

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

    • 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