|
|||||||||
| 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 |
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, createScheduledExecutorService, equals, getCamelContext, getComponent, getEndpointKey, getEndpointUri, getExchangePattern, getExchangeType, getExecutorService, getScheduledExecutorService, hashCode, setCamelContext, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, setExecutorService, 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 DefaultEndpointpublic boolean isLenientProperties()
isLenientProperties in interface EndpointisLenientProperties in class DefaultEndpoint
public Consumer createConsumer(Processor processor)
throws Exception
Exception
public Producer createProducer()
throws Exception
Exceptionpublic 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
Exceptionpublic 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 | ||||||||