Added sample publish InterceptHandler implementation to EmbeddedLauncher (#104 publish listner part)

This commit is contained in:
andsel
2015-12-08 12:07:03 +01:00
parent 5a1cd97b71
commit f41f7dafb9
8 changed files with 139 additions and 12 deletions
@@ -39,7 +39,7 @@ public class ClasspathConfig implements IConfig {
ClassLoader classLoader = Thread.currentThread().getContextClassLoader();
InputStream is = classLoader.getResourceAsStream("config/moquette.conf");
if (is == null) {
throw new RuntimeException("Can't locate the resourse \"config/moquette.conf\"");
throw new RuntimeException("Can't locate the resource \"config/moquette.conf\"");
}
Reader configReader = new InputStreamReader(is);
ConfigurationParser confParser = new ConfigurationParser();