count++;
}
public static void startBroker() throws Exception {
ServiceLifeCycle brokerLifeCycle = new BrokerServiceLifeCycle();
final String configFileParam = "configuration.file.name";
final String configFileValue = "airavata-server.properties";
AxisService notificationService = getNotificationService();
notificationService.addParameter(configFileParam, configFileValue);
notificationService.setServiceLifeCycle(brokerLifeCycle);
TestUtilServer.deployService(notificationService);
brokerLifeCycle.startUp(TestUtilServer.getConfigurationContext(), notificationService);
AxisService eventingService = getEventingService();
eventingService.addParameter(configFileParam, configFileValue);
eventingService.setServiceLifeCycle(brokerLifeCycle);
TestUtilServer.deployService(eventingService);
brokerLifeCycle.startUp(TestUtilServer.getConfigurationContext(), eventingService);
}