I want to maintain the pool JSMPP connection in order to send SMS. According to the requirement I need to define the MIN and MAX connection, but the current JSMPP library allow us to create a single connection.
/**
* Default constructor of {@link SMPPSession}. The next action might be
* connect and bind to a destination message center.
*
* @see #connectAndBind(String, int, BindType, String, String, String, TypeOfNumber, NumberingPlanIndicator, String)
*/
public SMPPSession() {
this(new SynchronizedPDUSender(new DefaultPDUSender(new DefaultComposer())),
new DefaultPDUReader(),
SocketConnectionFactory.getInstance());
}
How can i extend the JSMPP library for pool of connection.
Thanks