Added the 'disabled' keyword in config to disable a listener on a port

This commit is contained in:
andsel
2016-05-18 00:11:19 +02:00
parent 04303eda75
commit e41e55f5aa
11 changed files with 29 additions and 26 deletions
@@ -54,7 +54,7 @@ public class ServerIntegrationPahoTest {
protected void startServer() throws IOException {
m_server = new Server();
final Properties configProps = IntegrationUtils.prepareTestPropeties();
final Properties configProps = IntegrationUtils.prepareTestProperties();
m_config = new MemoryConfig(configProps);
m_server.startServer(m_config);
}
@@ -193,7 +193,7 @@ public class ServerIntegrationPahoTest {
m_server.stopServer();
m_server.startServer(IntegrationUtils.prepareTestPropeties());
m_server.startServer(IntegrationUtils.prepareTestProperties());
//reconnect and publish
m_client.connect(options);