The Spring Integration Smpp Adapter provides...
To use Spring Integration adapter for SMPP, you have to import the XML namespace. For example, you can have following XML:
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:int="http://www.springframework.org/schema/integration"
xmlns:int-smpp="http://www.springframework.org/schema/integration/smpp"
xsi:schemaLocation="http://www.springframework.org/schema/integration
http://www.springframework.org/schema/integration/spring-integration.xsd
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/integration/smpp
http://www.springframework.org/schema/integration/smpp/spring-integration-smpp.xsd
">
</beans>
Meanwhile, you have to define your SMSC server information. For example you can define server as following:
//TODO
//TODO: more documentation
Outbound channel adapter is to send sms into SMSC from channels in Spring Integration.
Inbound channel adapter is used to receive sms from SMSC into Spring Integration channel.
Outbound gateway is similar to outbound channel adapter except that it can also be used to get a result on the reply channel after sending.