Search in sources :

Example 1 with ConfigReader

use of org.apache.qpid.disttest.controller.config.ConfigReader in project qpid-broker-j by apache.

the class ControllerRunner method buildTestConfigFrom.

private Config buildTestConfigFrom(String testConfigFile) {
    ConfigReader configReader = new ConfigReader();
    Config testConfig;
    try {
        testConfig = configReader.getConfigFromFile(testConfigFile);
    } catch (IOException e) {
        throw new DistributedTestException("Exception while loading test config from '" + testConfigFile + "'", e);
    }
    return testConfig;
}
Also used : Config(org.apache.qpid.disttest.controller.config.Config) ConfigReader(org.apache.qpid.disttest.controller.config.ConfigReader) IOException(java.io.IOException)

Aggregations

IOException (java.io.IOException)1 Config (org.apache.qpid.disttest.controller.config.Config)1 ConfigReader (org.apache.qpid.disttest.controller.config.ConfigReader)1