java - How to create a pool of connection in jsmpp? -
i want maintain pool jsmpp connection in order send sms. according requirement need define min , max connection, current jsmpp library allow create single connection.
/** * default constructor of {@link smppsession}. next action might * connect , bind 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 extend jsmpp library pool of connection.
thanks
Comments
Post a Comment