public class SmppMessage
extends org.apache.camel.impl.DefaultMessage
Message for working with SMPP| Constructor and Description |
|---|
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) |
| Modifier and Type | Method and 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() |
addAttachment, addAttachmentObject, createAttachments, createExchangeId, createHeaders, getAttachment, getAttachmentNames, getAttachmentObject, getAttachmentObjects, getAttachments, getHeader, getHeader, getHeader, getHeader, getHeader, getHeader, getHeaders, hasAttachments, hasHeaders, hasPopulatedHeaders, isFault, isTransactedRedelivered, populateInitialAttachments, populateInitialHeaders, removeAttachment, removeHeader, removeHeaders, removeHeaders, setAttachmentObjects, setAttachments, setFault, setHeader, setHeaderscopy, copyAttachments, copyFrom, copyFromWithNewBody, createMessageId, getBody, getBody, getBody, getDataType, getExchange, getMandatoryBody, getMandatoryBody, getMessageId, setBody, setBody, setBody, setDataType, setExchange, setMessageIdpublic SmppMessage(SmppConfiguration configuration)
public SmppMessage(org.jsmpp.bean.AlertNotification command,
SmppConfiguration configuration)
public SmppMessage(org.jsmpp.bean.DeliverSm command,
SmppConfiguration configuration)
public SmppMessage(org.jsmpp.bean.DataSm dataSm,
SmppConfiguration configuration)
public SmppMessage newInstance()
newInstance in class org.apache.camel.impl.DefaultMessagepublic boolean isAlertNotification()
public boolean isDataSm()
public boolean isDeliverSm()
public boolean isDeliveryReceipt()
protected Object createBody()
createBody in class org.apache.camel.impl.MessageSupportpublic String toString()
toString in class org.apache.camel.impl.MessageSupportpublic org.jsmpp.bean.Command getCommand()
Apache Camel