org.apache.camel.component.smpp
Class SmppMessage

java.lang.Object
  extended by org.apache.camel.impl.MessageSupport
      extended by org.apache.camel.impl.DefaultMessage
          extended by org.apache.camel.component.smpp.SmppMessage
All Implemented Interfaces:
Message

public class SmppMessage
extends DefaultMessage

Represents a Message for working with SMPP

Version:
$Revision: 954209 $
Author:
muellerc

Constructor Summary
SmppMessage(org.jsmpp.bean.AlertNotification command, SmppConfiguration configuration)
           
SmppMessage(org.jsmpp.bean.DataSm dataSm, SmppConfiguration configuration)
           
SmppMessage(org.jsmpp.bean.DeliverSm command, SmppConfiguration configuration)
           
SmppMessage(SmppConfiguration configuration)
           
 
Method Summary
protected  Object createBody()
           
 org.jsmpp.bean.Command getCommand()
          Returns the underlying jSMPP command
 SmppMessage newInstance()
           
 String toString()
           
 
Methods inherited from class org.apache.camel.impl.DefaultMessage
addAttachment, copyFrom, createAttachments, createExchangeId, createHeaders, getAttachment, getAttachmentNames, getAttachments, getHeader, getHeader, getHeader, getHeader, getHeaders, hasAttachments, hasHeaders, hasPopulatedHeaders, isFault, populateInitialAttachments, populateInitialHeaders, removeAttachment, removeHeader, removeHeaders, setAttachments, setFault, setHeader, setHeaders
 
Methods inherited from class org.apache.camel.impl.MessageSupport
copy, createMessageId, getBody, getBody, getBody, getExchange, getMandatoryBody, getMandatoryBody, getMessageId, setBody, setBody, setExchange, setMessageId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SmppMessage

public SmppMessage(SmppConfiguration configuration)

SmppMessage

public SmppMessage(org.jsmpp.bean.AlertNotification command,
                   SmppConfiguration configuration)

SmppMessage

public SmppMessage(org.jsmpp.bean.DeliverSm command,
                   SmppConfiguration configuration)

SmppMessage

public SmppMessage(org.jsmpp.bean.DataSm dataSm,
                   SmppConfiguration configuration)
Method Detail

newInstance

public SmppMessage newInstance()
Overrides:
newInstance in class DefaultMessage

createBody

protected Object createBody()
Overrides:
createBody in class MessageSupport

toString

public String toString()
Overrides:
toString in class DefaultMessage

getCommand

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

Returns:
command


Apache CAMEL