initaliseServices();
}
private void initaliseServices() throws ConfigurationException, RegistryException, ActionLifecycleException, IOException, SAXException {
ESBConfigUtil esbConfig = new ESBConfigUtil(getClass().getResourceAsStream("action-configs-02.xml"));
ConfigTree splitter1Config = esbConfig.getActionConfig("null-listener", "splitter1-action");
ConfigTree splitter2Config = esbConfig.getActionConfig("null-listener", "splitter2-action");
ConfigTree service1Config = esbConfig.getActionConfig("null-listener", "service1-config");
ConfigTree service2Config = esbConfig.getActionConfig("null-listener", "service2-config");
ConfigTree service3Config = esbConfig.getActionConfig("null-listener", "service3-config");
ConfigTree aggregator1Config = esbConfig.getActionConfig("null-listener", "aggregator1-config");
ConfigTree aggregator2Config = esbConfig.getActionConfig("null-listener", "aggregator2-config");
ConfigTree aggregator3Config = esbConfig.getActionConfig("null-listener", "aggregator3-config");
splitter1 = new StaticRouter(splitter1Config);
splitter1.initialise();
splitter2 = new StaticRouter(splitter2Config);
splitter2.initialise();