SMS を送信するために、プールの JSMPP 接続を維持したいと考えています。要件に従って、MIN および MAX 接続を定義する必要がありますが、現在の JSMPP ライブラリでは単一の接続を作成できます。
/**
* 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());
}
接続プールの JSMPP ライブラリを拡張するにはどうすればよいですか。
ありがとう