Removed WebSocket port from default configuration, end moved defaults config from ConfigParser to Config container. Fixes isse #150

This commit is contained in:
andsel
2016-04-25 11:52:07 +02:00
parent ae734ded8e
commit 5029da8763
7 changed files with 48 additions and 39 deletions
@@ -49,6 +49,7 @@ public class ServerIntegrationWebSocketTest {
protected void startServer() throws IOException {
m_server = new Server();
final Properties configProps = IntegrationUtils.prepareTestPropeties();
configProps.put(BrokerConstants.WEB_SOCKET_PORT_PROPERTY_NAME, Integer.toString(BrokerConstants.WEBSOCKET_PORT));
m_config = new MemoryConfig(configProps);
m_server.startServer(m_config);
}