configuration.setDefaultWindowSize(5);
configuration.setDefaultWindowWaitTimeout(configuration.getDefaultRequestExpiryTimeout());
configuration.setDefaultSessionCountersEnabled(true);
configuration.setJmxEnabled(true);
//ssl
SslConfiguration sslConfig = new SslConfiguration();
sslConfig.setKeyStorePath("src/test/resources/keystore");
sslConfig.setKeyStorePassword("changeit");
sslConfig.setKeyManagerPassword("changeit");
sslConfig.setTrustStorePath("src/test/resources/keystore");
sslConfig.setTrustStorePassword("changeit");
configuration.setUseSsl(true);
configuration.setSslConfiguration(sslConfig);
// create a server, start it up
DefaultSmppServer smppServer = new DefaultSmppServer(configuration, new DefaultSmppServerHandler(), executor, monitorExecutor);