Simple SMSC SMPP simulator written in Java, basic features:
Delivery Receipt features:
Deliver features, segmented messages:
Simulator was used as a testing tools to test proper handling of delivery receipts and segmented deliver messages.
How to run:
Following command starts SMPP servers on ports 34567, 34568 and 34569 and sets log level to INFO:
java -Xms32m -Xmx1024m -jar smscsim.jar -ll INFO -p 34567 34568 34569
Only server ports and logging level can be defined when starting the server. Other parameters can be changed by changing Spring xml context. See src\main\resources\context.xml. Project needs to be recompiled after such config change (room for improvement :-).
Obviously Java (at least 1.7) is needed to run the simulator and it needs to be in the path.
How to use JMX features:
Download monitoring tool VisualVM and install additional MBeans browser plugin.
How to compile:
Maven 3.x is needed to build the project and create distribution package.
mvn clean install assembly:assembly
Unit test is provided to test basic delivery receipt functionality. See class
net.voldrich.smscsim.ServerMainTest
Uses following fantastic libraries:
Copyright (C) 2014 Matous Voldrich.
This work is licensed under the Apache License, Version 2.0. See LICENSE for details.