|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.camel.support.ServiceSupport org.apache.camel.impl.DefaultEndpoint org.apache.camel.component.smpp.SmppEndpoint
public class SmppEndpoint
A SMPP Endpoint
Field Summary |
---|
Fields inherited from class org.apache.camel.support.ServiceSupport |
---|
shutdown, shuttingdown, started, starting, stopped, stopping, suspended, suspending |
Constructor Summary | |
---|---|
SmppEndpoint(String endpointUri,
org.apache.camel.Component component,
SmppConfiguration configuration)
|
Method Summary | |
---|---|
org.apache.camel.Consumer |
createConsumer(org.apache.camel.Processor processor)
|
protected String |
createEndpointUri()
|
org.apache.camel.Exchange |
createOnAcceptAlertNotificationExchange(org.jsmpp.bean.AlertNotification alertNotification)
Create a new exchange for communicating with this endpoint from a SMSC |
org.apache.camel.Exchange |
createOnAcceptAlertNotificationExchange(org.apache.camel.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 |
org.apache.camel.Exchange |
createOnAcceptDataSm(org.jsmpp.bean.DataSm dataSm,
String smppMessageId)
Create a new exchange for communicating with this endpoint from a SMSC |
org.apache.camel.Exchange |
createOnAcceptDataSm(org.apache.camel.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 |
org.apache.camel.Exchange |
createOnAcceptDeliverSmExchange(org.jsmpp.bean.DeliverSm deliverSm)
Create a new exchange for communicating with this endpoint from a SMSC |
org.apache.camel.Exchange |
createOnAcceptDeliverSmExchange(org.apache.camel.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 |
org.apache.camel.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 |
---|
configureConsumer, configurePollingConsumer, configureProperties, createEndpointConfiguration, createExchange, createExchange, createExchange, createPollingConsumer, doStart, doStop, equals, getCamelContext, getComponent, getConsumerProperties, getEndpointConfiguration, getEndpointKey, getEndpointUri, getExchangePattern, getId, hashCode, isSynchronous, setCamelContext, setConsumerProperties, setEndpointConfiguration, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, setProperties, setSynchronous, toString |
Methods inherited from class org.apache.camel.support.ServiceSupport |
---|
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, resume, shutdown, start, stop, suspend |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.apache.camel.Service |
---|
start, stop |
Constructor Detail |
---|
public SmppEndpoint(String endpointUri, org.apache.camel.Component component, SmppConfiguration configuration)
Method Detail |
---|
public boolean isSingleton()
protected String createEndpointUri()
createEndpointUri
in class org.apache.camel.impl.DefaultEndpoint
public boolean isLenientProperties()
isLenientProperties
in interface org.apache.camel.Endpoint
isLenientProperties
in class org.apache.camel.impl.DefaultEndpoint
public org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor) throws Exception
Exception
public org.apache.camel.Producer createProducer() throws Exception
Exception
public org.apache.camel.Exchange createOnAcceptAlertNotificationExchange(org.jsmpp.bean.AlertNotification alertNotification)
alertNotification
- the received message from the SMSC
public org.apache.camel.Exchange createOnAcceptAlertNotificationExchange(org.apache.camel.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 org.apache.camel.Exchange createOnAcceptDeliverSmExchange(org.jsmpp.bean.DeliverSm deliverSm) throws Exception
deliverSm
- the received message from the SMSC
Exception
public org.apache.camel.Exchange createOnAcceptDeliverSmExchange(org.apache.camel.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 org.apache.camel.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 org.apache.camel.Exchange createOnAcceptDataSm(org.apache.camel.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 |