JIRA: https://jira.spring.io/browse/INTEXT-118
It also tests long messages without newlines to verify that the fix works for both types of long messages.
INTEXT-118: Replace regular expression split with standard substring to split message into subparts with max length.
The regular expression used earlier failed splitting messages that contained newlines correctly. (See SmesMessageSpecificationTest)
Corrected spelling in constants
Polishing
* Remove SmppSessionFactoryBean.setMessageReceiverListeners(MessageReceiverListener... listeners) to remove Spring's warning message for ambiguous method access
* Allow using DeliveryReceipt id as is if hex parsing fail (tested with HSLSMS)
* Add support for session reconnection which will attempt to reconnect every 5 sec by default until the session is destroyed
* If additional session state listener is configured by user, it will register it
* Update build dependency with Spring Integration 2.2.2
* Update javadoc
* Add support for smpp transaction time using transactionTimeout
* Support 'request-handler-advice-chain' for outbound channel adapter and gateway
* Support sending using data_coding
* Support sending using message_payload
* Support for sending long sms using UDH
* Update mock smpp server to simulate real SMPP error
* Change message id reading logging to DEBUG instead of WARN
* Wrap SMPPSession with proxy for auto reconnection
* Use ExecutorService for reconnection
* Fix some code and author
* Ensure ASL license headers are present
* Add "@since" with "1.0" to the Java source files
* Cleanup
* The mockSmppServer server port is dynamically chosen
* Centralize the mockSmppServer bean declaration to reduce duplication
- migrate old sandbox project
- add schema for channel adapters and gateways
- change some package structure based on spring integration module package structure