Spring Integration Smpp Adapter

Authors

Josh Long , Johanes Soetanto

1.0.0.RELEASE

© SpringSource Inc., 2012


Table of Contents

I. What's new?
1. What's new?
II. Integration Adapters
2. Smpp Adapter
2.1. Outbound Channel Adapter
2.2. Inbound Channel Adapter
2.3. Outbound Gateway
2.4. Inbound Gateway
III. Appendices
A. Change History

Part I. What's new?

If you are interested in the changes and features, that were introduced in earlier versions, please take a look at chapter: Appendix A, Change History

1. What's new?

The Spring Integration adapter for SMPP includes two adapters and two gateways:

<itemizedList> <listItem> Inbound Channel Adapter to receive sms from SMSC. </listItem> <listItem> Outbound Channel Adapter to send sms through SMSC. </listItem> <listItem> Inbound Gateway to receive sms from SMSC. </listItem> <listItem> Outbound Gateway to send through SMSC. </listItem> </itemizedList>

Part II. Integration Adapters

Spring Integration adapter for SMPP (Short Message Peer-to-Peer) includes inbound channel adapter to receive sms from SMSC (Short Message Service Center), outbound channel adapter to send sms through SMSC, and gateways to send/receive from SMSC.

2. Smpp Adapter

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

2.1 Outbound Channel Adapter

Outbound channel adapter is to send sms into SMSC from channels in Spring Integration.

2.2 Inbound Channel Adapter

Inbound channel adapter is used to receive sms from SMSC into Spring Integration channel.

2.3 Outbound Gateway

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.

2.4 Inbound Gateway

Inbound gateway is similar to inbound channel adapter except that it can also be used to return a result on the reply channel after receiving.

Part III. Appendices

Advanced Topics and Additional Resources

Appendix A. Change History

Release Date Changes
2.2.0 2012.12.14 Initial release migrated from Spring sandbox