public class SmppBinding extends Object
Constructor and Description |
---|
SmppBinding() |
SmppBinding(SmppConfiguration configuration) |
Modifier and Type | Method and Description |
---|---|
SmppCommand |
createSmppCommand(org.jsmpp.session.SMPPSession session,
org.apache.camel.Exchange exchange)
Create the SmppCommand object from the inbound exchange
|
SmppMessage |
createSmppMessage(org.apache.camel.CamelContext camelContext,
org.jsmpp.bean.AlertNotification alertNotification)
Create a new SmppMessage from the inbound alert notification
|
SmppMessage |
createSmppMessage(org.apache.camel.CamelContext camelContext,
org.jsmpp.bean.DataSm dataSm,
String smppMessageId) |
SmppMessage |
createSmppMessage(org.apache.camel.CamelContext camelContext,
org.jsmpp.bean.DeliverSm deliverSm)
Create a new SmppMessage from the inbound deliver sm or deliver receipt
|
SmppConfiguration |
getConfiguration()
Returns the smpp configuration
|
void |
setConfiguration(SmppConfiguration configuration)
Set the smpp configuration.
|
public SmppBinding()
public SmppBinding(SmppConfiguration configuration)
public SmppCommand createSmppCommand(org.jsmpp.session.SMPPSession session, org.apache.camel.Exchange exchange)
UnsupportedEncodingException
- if the encoding is not supportedpublic SmppMessage createSmppMessage(org.apache.camel.CamelContext camelContext, org.jsmpp.bean.AlertNotification alertNotification)
public SmppMessage createSmppMessage(org.apache.camel.CamelContext camelContext, org.jsmpp.bean.DeliverSm deliverSm) throws Exception
Exception
public SmppMessage createSmppMessage(org.apache.camel.CamelContext camelContext, org.jsmpp.bean.DataSm dataSm, String smppMessageId)
public SmppConfiguration getConfiguration()
public void setConfiguration(SmppConfiguration configuration)
configuration
- smppConfigurationApache Camel