|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.camel.impl.DefaultEndpoint
org.apache.camel.component.smpp.SmppEndpoint
public class SmppEndpoint
A SMPP Endpoint
Constructor Summary | |
---|---|
SmppEndpoint(String endpointUri,
Component component,
SmppConfiguration configuration)
|
Method Summary | |
---|---|
Consumer |
createConsumer(Processor processor)
|
protected String |
createEndpointUri()
|
Exchange |
createOnAcceptAlertNotificationExchange(org.jsmpp.bean.AlertNotification alertNotification)
Create a new exchange for communicating with this endpoint from a SMSC |
Exchange |
createOnAcceptAlertNotificationExchange(ExchangePattern exchangePattern,
org.jsmpp.bean.AlertNotification alertNotification)
Create a new exchange for communicating with this endpoint from a SMSC with the specified ExchangePattern such as whether its going
to be an ExchangePattern.InOnly or ExchangePattern.InOut exchange |
Exchange |
createOnAcceptDataSm(org.jsmpp.bean.DataSm dataSm,
String smppMessageId)
Create a new exchange for communicating with this endpoint from a SMSC |
Exchange |
createOnAcceptDataSm(ExchangePattern exchangePattern,
org.jsmpp.bean.DataSm dataSm,
String smppMessageId)
Create a new exchange for communicating with this endpoint from a SMSC with the specified ExchangePattern such as whether its going
to be an ExchangePattern.InOnly or ExchangePattern.InOut exchange |
Exchange |
createOnAcceptDeliverSmExchange(org.jsmpp.bean.DeliverSm deliverSm)
Create a new exchange for communicating with this endpoint from a SMSC |
Exchange |
createOnAcceptDeliverSmExchange(ExchangePattern exchangePattern,
org.jsmpp.bean.DeliverSm deliverSm)
Create a new exchange for communicating with this endpoint from a SMSC with the specified ExchangePattern such as whether its going
to be an ExchangePattern.InOnly or ExchangePattern.InOut exchange |
Producer |
createProducer()
|
SmppBinding |
getBinding()
|
SmppConfiguration |
getConfiguration()
Returns the smpp configuration |
String |
getConnectionString()
Returns the connection string for the current connection which has the form: smpp:// |
boolean |
isLenientProperties()
|
boolean |
isSingleton()
|
void |
setBinding(SmppBinding binding)
|
Methods inherited from class org.apache.camel.impl.DefaultEndpoint |
---|
configureProperties, createExchange, createExchange, createExchange, createPollingConsumer, equals, getCamelContext, getComponent, getEndpointKey, getEndpointUri, getExchangePattern, getExchangeType, getId, hashCode, isSynchronous, sanitizeUri, setCamelContext, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, setSynchronous, start, stop, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SmppEndpoint(String endpointUri, Component component, SmppConfiguration configuration)
Method Detail |
---|
public boolean isSingleton()
protected String createEndpointUri()
createEndpointUri
in class DefaultEndpoint
public boolean isLenientProperties()
isLenientProperties
in interface Endpoint
isLenientProperties
in class DefaultEndpoint
public Consumer createConsumer(Processor processor) throws Exception
Exception
public Producer createProducer() throws Exception
Exception
public Exchange createOnAcceptAlertNotificationExchange(org.jsmpp.bean.AlertNotification alertNotification)
alertNotification
- the received message from the SMSC
public Exchange createOnAcceptAlertNotificationExchange(ExchangePattern exchangePattern, org.jsmpp.bean.AlertNotification alertNotification)
ExchangePattern
such as whether its going
to be an ExchangePattern.InOnly
or ExchangePattern.InOut
exchange
exchangePattern
- the message exchange pattern for the exchangealertNotification
- the received message from the SMSC
public Exchange createOnAcceptDeliverSmExchange(org.jsmpp.bean.DeliverSm deliverSm) throws Exception
deliverSm
- the received message from the SMSC
Exception
public Exchange createOnAcceptDeliverSmExchange(ExchangePattern exchangePattern, org.jsmpp.bean.DeliverSm deliverSm) throws Exception
ExchangePattern
such as whether its going
to be an ExchangePattern.InOnly
or ExchangePattern.InOut
exchange
exchangePattern
- the message exchange pattern for the exchangedeliverSm
- the received message from the SMSC
Exception
public Exchange createOnAcceptDataSm(org.jsmpp.bean.DataSm dataSm, String smppMessageId)
dataSm
- the received message from the SMSCsmppMessageId
- the smpp message id which will be used in the response
public Exchange createOnAcceptDataSm(ExchangePattern exchangePattern, org.jsmpp.bean.DataSm dataSm, String smppMessageId)
ExchangePattern
such as whether its going
to be an ExchangePattern.InOnly
or ExchangePattern.InOut
exchange
exchangePattern
- the message exchange pattern for the exchangedataSm
- the received message from the SMSCsmppMessageId
- the smpp message id which will be used in the response
public String getConnectionString()
public SmppConfiguration getConfiguration()
public SmppBinding getBinding()
public void setBinding(SmppBinding binding)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |